jablonka.czprosek.czf

czf4bfu

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

 

Line No. Rev Author Line
11unreal<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2<html>
35unreal <head>
412unreal <!-- Unreal][ # http://www.jklir.net # Licence: GNU/GPL # v 1.4 (c) Jirka Klír 2009 for CZFree.net ;-) # -->
55unreal <title>CZF4BFU INFO</title>
6 <meta http-equiv="Content-Type" content="text/html; charset=windows-1250" />
712unreal <meta http-equiv="Content-language" content="cs" />
85unreal <meta name="Author" content="Unreal][, http://www.jklir.net">
9 <link href="styl.css" rel="stylesheet" type="text/css">
10 </head>
1112unreal<body>
121unreal 
135unreal<h1>CZF4BFU INFORMATION</h1>
141unreal 
155unreal<div class="sizer"></div>
1612unreal 
17<div class="info">
18<a class="title"><strong>Information</strong></a>
19<div class="pad">
201unreal<table>
2112unreal <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> &nbsp;--- </td></tr>
25</table></div></div>
261unreal 
2712unreal<div class="sizer"></div>
28 
29<div class="info">
30<a class="title"><strong>DEU Files</strong></a>
31<div class="pad">
321unreal<table>
33<?php
3412unreal if ($dir = @opendir(".")) {
35 while (($file = readdir($dir)) !== false)
36 if (preg_match('/^(global|local)-.*.txt$/',$file))
37 echo " <tr><td>".$file."</td><td>&nbsp; - posledn&#237; zm&#283;na: ".date("d.m.Y h:i:s", (filemtime($file)))."</td></tr>\n";
38 closedir($dir);
39 }
401unreal?>
4112unreal</table></div></div>
421unreal 
4312unreal<div class="sizer"></div>
441unreal 
4512unreal<div class="info">
46<a class="title"><strong>Server list info</strong></a>
47<div class="pad">
481unreal<?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 
5612unreal echo "soubor servers.list - posledn&#237; zm&#283;na: ".date("d.m.Y h:i:s", (filemtime("servers.list")))."<br>\n";
57 echo "soubor servers.list - obsahuje ".($soucet+1)." server&#367;\n";
581unreal 
5912unreal echo "</div></div><div class=\"info\">";
60 echo "<a class=\"title\"><strong>servers.list</strong></a>\n<div class=\"pad\">\n";
611unreal 
62 for ($j=0; $j<=$soucet; $j++) {
6312unreal echo $data[$j]."<br>\n";
641unreal }
65 
66?>
6712unreal</div></div>
681unreal 
6912unreal<div class="sizer"></div>
70 
71<div class="info">
72<a class="title"><strong>Icons</strong></a>
73<div style="border: 1px solid silver;">
745unreal<a class="title">.</a>
751unreal<?php
7612unreal $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();
851unreal 
8612unreal $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();
1021unreal?>
10312unreal<div class="sizer"></div></div></div></div>
104 
105<div id="copy">czf4bfu v1.4 - made <a href="http://www.jklir.net">Unreal][</a>&nbsp;&nbsp;&nbsp;</div>
106 
1071unreal</body>
108</html>

Powered by WebSVN 2.2.1