summary restyling
[brisk.git] / web / briskin5 / explain.php
1 <?php
2 /*
3  *  brisk - statadm.php
4  *
5  *  Copyright (C) 2009-2012 Matteo Nastasi
6  *                          mailto: nastasi@alternativeoutput.it 
7  *                                  matteo.nastasi@milug.org
8  *                          web: http://www.alternativeoutput.it
9  *
10  * This program is free software; you can redistribute it and/or modify
11  * it under the terms of the GNU General Public License as published by
12  * the Free Software Foundation; either version 2 of the License, or
13  * (at your option) any later version.
14  *
15  * This program is distributed in the hope that it will be useful, but
16  * WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABLILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18  * General Public License for more details. You should have received a
19  * copy of the GNU General Public License along with this program; if
20  * not, write to the Free Software Foundation, Inc, 59 Temple Place -
21  * Suite 330, Boston, MA 02111-1307, USA.
22  *
23  */
24
25 /*
26   line example:
27 1246428948|492e4e9e856b0|N|tre|172.22.1.90|STAT:BRISKIN5:FINISH_GAME|4a4afd4983039|6|3|tre|1|due|2|uno|-1|
28    
29 */
30
31 $G_base = "../";
32
33 ini_set("max_execution_time",  "240");
34
35 require_once("../Obj/brisk.phh");
36 require_once("../Obj/user.phh");
37 require_once("../Obj/auth.phh");
38 require_once("../Obj/dbase_${G_dbasetype}.phh");
39 require_once("Obj/briskin5.phh");
40 require_once("Obj/placing.phh");
41
42 function main() {
43     $ret = "";
44     if (file_exists(LEGAL_PATH."/explain.log")) {
45         $ret .= file_get_contents(LEGAL_PATH."/explain.log");
46     }
47     echo "$ret";
48 }
49 ?>
50 <html>
51 <head>
52 <title>Brisk: partite di ieri</title>
53 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
54 <link rel="stylesheet" type="text/css" href="../brisk.css">
55 <link rel="stylesheet" type="text/css" href="../room.css">
56 </head>
57 <body class="explain">
58 <div style="text-align: center;">
59 <?php 
60 main();
61 ?>
62 </div>
63 </body>
64 </html>