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