jablonka.czprosek.czf

czf4bfu

Subversion Repositories:
[/] [info.php] - Blame information for rev 8

 

Line No. Rev Author Line
11unreal<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2<html>
35unreal <head>
4 <!-- Unreal][ # http://www.jklir.net # Licence: GNU/GPL # v 1.3 (c) Jirka Klír 2008 for CZFree.net ;-) # -->
5 <title>CZF4BFU INFO</title>
6 <meta http-equiv="Content-Type" content="text/html; charset=windows-1250" />
7 <meta http-equiv="Content-language" content="cz" />
8 <meta name="Author" content="Unreal][, http://www.jklir.net">
9 <link href="styl.css" rel="stylesheet" type="text/css">
10 </head>
111unreal<body style="background: #D4D0C8">
12 
135unreal<h1>CZF4BFU INFORMATION</h1>
141unreal 
15<div style="background-color: white; border-bottom: 1px solid silver;">
165unreal<div class="sizer"></div>
17<a class="title"><b>Information</b></a>
181unreal<table>
19<td>Version:</td><td> 1.3</td></tr>
20<td>Author:</td><td> Unreal][</td></tr>
21<td>Licence:</td><td> GNU/GPL </td></tr>
22<td>Modification:</td><td> --- </td></tr>
23</table></div>
24 
255unreal<div class="sizer"></div><div style="background-color: white; border-bottom: 1px solid silver;">
26<a class="title"><b>DEU Files</b></a>
271unreal<table>
28 
29<?php
30if ($dir = @opendir(".")) {
31 while (($file = readdir($dir)) !== false)
32 if (preg_match('/^(global|local)-.*.txt/',$file))
33 echo "<tr><td>".$file."</td><td>&nbsp; - posledn&#237; zm&#283;na: ".date("d.m.Y h:i:s", (filemtime($file)))."</td></tr>";
34closedir($dir);
35}
36?>
37</table></div>
38 
39 
405unreal<div class="sizer"></div><div style="background-color: white; border-bottom: 1px solid silver;">
41<a class="title"><b>Server list</b></a>
421unreal<?php
43 
44 $file = "servers.list";
45 $fp = Fopen($file, "r");
46 $dat = Fread($fp, filesize($file));
47 $data = explode("\n", $dat);
48 $soucet = (count($data))-2;
49 
50echo "soubor servers.list - posledn&#237; zm&#283;na: ".date("d.m.Y h:i:s", (filemtime("servers.list")))."<br>";
51echo "soubor servers.list - obsahuje ".($soucet+1)." server&#367;";
52 
535unrealecho "<a class=\"title\">servers.list</a>";
541unreal 
55 for ($j=0; $j<=$soucet; $j++) {
56 echo $data[$j]."<br>";
57 }
58 
59?>
60</div>
61 
625unreal<div class="sizer"></div><div style="background-color: white; border-bottom: 1px solid silver;">
63<a class="title"><b>Icons</b></a>
64<a class="title">.</a>
651unreal<?php
66$path = "ikony";
67$adresar = Dir ("$path");
68while ($polozka=$adresar->Read()) {
69$info = substr($polozka, 0, (strpos($polozka, ".")));
70 if (eregi(".png", $polozka)) {
715unreal echo "<div class=\"icon\"><img src=\"".$path."/".$polozka."\" width=\"32\"><br>".$info."</div>";
721unreal }
73}
74$adresar->Close();
75 
76$patha = "ikony";
77$adresara = Dir ("$patha");
78while ($polozkaa=$adresara->Read()) {
79 if (((is_dir($patha."/".$polozkaa)) and ($polozkaa!=".")) and ($polozkaa!="..")) {
80 echo "<div class='sizer'></div><a class='title'>".$polozkaa."/*</a>";
81 $adresar2 = Dir($patha."/".$polozkaa);
82 while ($polozka2=$adresar2->Read()) {
83 $info2 = substr($polozka2, 0, (strpos($polozka2, ".")));
84 if (eregi(".png", $polozka2)) {
855unreal echo "<div class=\"icon\"><img src=\"".$patha."/".$polozkaa."/".$polozka2."\"><br>".$info2."</div>";
861unreal }
87 }
88 }
89}
90$adresara->Close();
91$adresar2->Close();
92?>
935unreal<div class="sizer"></div></div></div>
941unreal<div id="copy">czf4bfu v1.3 - made <a href="http://www.jklir.net">Unreal][</a>&nbsp;</div>
95</body>
96</html>

Powered by WebSVN 2.2.1