1 | 1 | unreal | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> |
2 | | | <html> |
3 | 5 | unreal | <head> |
4 | 12 | unreal | <!-- Unreal][ # http://www.jklir.net # Licence: GNU/GPL # v 1.4 (c) Jirka Klír 2009 for CZFree.net ;-) # --> |
5 | 5 | unreal | <title>CZF4BFU INFO</title> |
6 | | | <meta http-equiv="Content-Type" content="text/html; charset=windows-1250" /> |
7 | 12 | unreal | <meta http-equiv="Content-language" content="cs" /> |
8 | 5 | unreal | <meta name="Author" content="Unreal][, http://www.jklir.net"> |
9 | | | <link href="styl.css" rel="stylesheet" type="text/css"> |
10 | | | </head> |
11 | 12 | unreal | <body> |
12 | 1 | unreal | |
13 | 5 | unreal | <h1>CZF4BFU INFORMATION</h1> |
14 | 1 | unreal | |
15 | 5 | unreal | <div class="sizer"></div> |
16 | 12 | unreal | |
17 | | | <div class="info"> |
18 | | | <a class="title"><strong>Information</strong></a> |
19 | | | <div class="pad"> |
20 | 1 | unreal | <table> |
21 | 12 | unreal | <td>Version:</td><td> 1.4</td></tr> |
22 | | | <td>Author:</td><td> Unreal][</td></tr> |
23 | | | <td>Licence:</td><td> GNU/GPL </td></tr> |
24 | | | <td>Modification:</td><td> --- </td></tr> |
25 | | | </table></div></div> |
26 | 1 | unreal | |
27 | 12 | unreal | <div class="sizer"></div> |
28 | | | |
29 | | | <div class="info"> |
30 | | | <a class="title"><strong>DEU Files</strong></a> |
31 | | | <div class="pad"> |
32 | 1 | unreal | <table> |
33 | | | <?php |
34 | 12 | unreal | if ($dir = @opendir(".")) { |
35 | | | while (($file = readdir($dir)) !== false) |
36 | | | if (preg_match('/^(global|local)-.*.txt$/',$file)) |
37 | | | echo " <tr><td>".$file."</td><td> - poslední změna: ".date("d.m.Y h:i:s", (filemtime($file)))."</td></tr>\n"; |
38 | | | closedir($dir); |
39 | | | } |
40 | 1 | unreal | ?> |
41 | 12 | unreal | </table></div></div> |
42 | 1 | unreal | |
43 | 12 | unreal | <div class="sizer"></div> |
44 | 1 | unreal | |
45 | 12 | unreal | <div class="info"> |
46 | | | <a class="title"><strong>Server list info</strong></a> |
47 | | | <div class="pad"> |
48 | 1 | unreal | <?php |
49 | | | |
50 | | | $file = "servers.list"; |
51 | | | $fp = Fopen($file, "r"); |
52 | | | $dat = Fread($fp, filesize($file)); |
53 | | | $data = explode("\n", $dat); |
54 | | | $soucet = (count($data))-2; |
55 | | | |
56 | 12 | unreal | echo "soubor servers.list - poslední změna: ".date("d.m.Y h:i:s", (filemtime("servers.list")))."<br>\n"; |
57 | | | echo "soubor servers.list - obsahuje ".($soucet+1)." serverů\n"; |
58 | 1 | unreal | |
59 | 12 | unreal | echo "</div></div><div class=\"info\">"; |
60 | | | echo "<a class=\"title\"><strong>servers.list</strong></a>\n<div class=\"pad\">\n"; |
61 | 1 | unreal | |
62 | | | for ($j=0; $j<=$soucet; $j++) { |
63 | 12 | unreal | echo $data[$j]."<br>\n"; |
64 | 1 | unreal | } |
65 | | | |
66 | | | ?> |
67 | 12 | unreal | </div></div> |
68 | 1 | unreal | |
69 | 12 | unreal | <div class="sizer"></div> |
70 | | | |
71 | | | <div class="info"> |
72 | | | <a class="title"><strong>Icons</strong></a> |
73 | | | <div style="border: 1px solid silver;"> |
74 | 5 | unreal | <a class="title">.</a> |
75 | 1 | unreal | <?php |
76 | 12 | unreal | $path = "ikony"; |
77 | | | $adresar = Dir ("$path"); |
78 | | | while ($polozka=$adresar->Read()) { |
79 | | | $info = substr($polozka, 0, (strpos($polozka, "."))); |
80 | | | if (eregi(".png", $polozka)) { |
81 | | | echo "<div class=\"icon\" style=\"height: 58px;_height: 63px;\"><img src=\"".$path."/".$polozka."\" alt=\"".substr($polozka,0,-4)."\" title=\"".substr($polozka,0,-4)."\" width=\"32\"><br>".$info."</div>"; |
82 | | | } |
83 | | | } |
84 | | | $adresar->Close(); |
85 | 1 | unreal | |
86 | 12 | unreal | $patha = "ikony"; |
87 | | | $adresara = Dir ("$patha"); |
88 | | | while ($polozkaa=$adresara->Read()) { |
89 | | | if ((((is_dir($patha."/".$polozkaa)) and ($polozkaa!=".")) and ($polozkaa!="..")) and ($polozkaa!=".svn")) { |
90 | | | echo "<div class=\"sizer\"></div>\n<a class=\"nomargin title\">".$polozkaa."/*</a>\n"; |
91 | | | $adresar2 = Dir($patha."/".$polozkaa); |
92 | | | while ($polozka2=$adresar2->Read()) { |
93 | | | $info2 = substr($polozka2, 0, (strpos($polozka2, "."))); |
94 | | | if (eregi(".png", $polozka2)) { |
95 | | | echo "<div class=\"icon\" style=\"height: 58px;_height: 63px;\"><img src=\"".$patha."/".$polozkaa."/".$polozka2."\" alt=\"".$polozkaa."/".substr($polozka2,0,-4)."\" title=\"".$polozkaa."/".substr($polozka2,0,-4)."\" width=\"32\"><br>".$info2."</div>"; |
96 | | | } |
97 | | | } |
98 | | | } |
99 | | | } |
100 | | | $adresara->Close(); |
101 | | | $adresar2->Close(); |
102 | 1 | unreal | ?> |
103 | 12 | unreal | <div class="sizer"></div></div></div></div> |
104 | | | |
105 | | | <div id="copy">czf4bfu v1.4 - made <a href="http://www.jklir.net">Unreal][</a> </div> |
106 | | | |
107 | 1 | unreal | </body> |
108 | | | </html> |