jablonka.czprosek.czf

czf4bfu

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

 

Line No. Rev Author Line
121unreal<?php $verze = "1.9"; ?>
2 
31unreal<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
4<html>
55unreal <head>
621unreal <!-- Unreal][ # http://www.jklir.net # Licence: GNU/GPL # v <?php echo $verze; ?> (c) Jirka Klír 2013 for CZFree.net ;-) # -->
75unreal <title>CZF4BFU INFO</title>
819unreal <meta http-equiv="Content-Type" content="text/html; charset=windows-1250">
9 <meta http-equiv="Content-language" content="cs">
105unreal <meta name="Author" content="Unreal][, http://www.jklir.net">
11 <link href="styl.css" rel="stylesheet" type="text/css">
12 </head>
1312unreal<body>
141unreal 
155unreal<h1>CZF4BFU INFORMATION</h1>
161unreal 
175unreal<div class="sizer"></div>
1812unreal 
19<div class="info">
20<a class="title"><strong>Information</strong></a>
21<div class="pad">
221unreal<table>
2321unreal <td>Version:</td><td> <?php echo $verze; ?></td></tr>
2412unreal <td>Author:</td><td> Unreal][</td></tr>
25 <td>Licence:</td><td> GNU/GPL </td></tr>
26 <td>Modification:</td><td> &nbsp;--- </td></tr>
27</table></div></div>
281unreal 
2912unreal<div class="sizer"></div>
30 
31<div class="info">
32<a class="title"><strong>DEU Files</strong></a>
33<div class="pad">
341unreal<table>
35<?php
3612unreal if ($dir = @opendir(".")) {
37 while (($file = readdir($dir)) !== false)
38 if (preg_match('/^(global|local)-.*.txt$/',$file))
3921unreal echo " <tr><td>".$file."</td><td>&nbsp; - poslední změna: ".date("d.m.Y h:i:s", (filemtime($file)))."</td></tr>\n";
4012unreal closedir($dir);
41 }
421unreal?>
4312unreal</table></div></div>
441unreal 
4512unreal<div class="sizer"></div>
461unreal 
4712unreal<div class="info">
48<a class="title"><strong>Server list info</strong></a>
49<div class="pad">
501unreal<?php
51 
52 $file = "servers.list";
53 $fp = Fopen($file, "r");
54 $dat = Fread($fp, filesize($file));
55 $data = explode("\n", $dat);
56 $soucet = (count($data))-2;
57 
5821unreal echo "soubor servers.list - poslední změna: ".date("d.m.Y h:i:s", (filemtime("servers.list")))."<br>\n";
59 echo "soubor servers.list - obsahuje ".($soucet+1)." serverů\n";
601unreal 
6112unreal echo "</div></div><div class=\"info\">";
62 echo "<a class=\"title\"><strong>servers.list</strong></a>\n<div class=\"pad\">\n";
631unreal 
64 for ($j=0; $j<=$soucet; $j++) {
6512unreal echo $data[$j]."<br>\n";
661unreal }
67 
68?>
6912unreal</div></div>
701unreal 
7112unreal<div class="sizer"></div>
72 
73<div class="info">
74<a class="title"><strong>Icons</strong></a>
75<div style="border: 1px solid silver;">
765unreal<a class="title">.</a>
771unreal<?php
7812unreal $path = "ikony";
7921unreal $adresar = Dir("$path");
8012unreal while ($polozka=$adresar->Read()) {
81 $info = substr($polozka, 0, (strpos($polozka, ".")));
82 if (eregi(".png", $polozka)) {
83 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>";
84 }
85 }
86 $adresar->Close();
871unreal 
8812unreal $patha = "ikony";
8921unreal $adresara = Dir("$patha");
9012unreal while ($polozkaa=$adresara->Read()) {
91 if ((((is_dir($patha."/".$polozkaa)) and ($polozkaa!=".")) and ($polozkaa!="..")) and ($polozkaa!=".svn")) {
92 echo "<div class=\"sizer\"></div>\n<a class=\"nomargin title\">".$polozkaa."/*</a>\n";
93 $adresar2 = Dir($patha."/".$polozkaa);
94 while ($polozka2=$adresar2->Read()) {
95 $info2 = substr($polozka2, 0, (strpos($polozka2, ".")));
96 if (eregi(".png", $polozka2)) {
97 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>";
98 }
99 }
100 }
101 }
102 $adresara->Close();
103 $adresar2->Close();
1041unreal?>
10512unreal<div class="sizer"></div></div></div></div>
106 
10721unreal<div id="copy">czf4bfu v<?php echo $verze; ?> - made <a href="http://www.jklir.net">Unreal][</a>&nbsp;&nbsp;&nbsp;</div>
10812unreal 
1091unreal</body>
110</html>

Powered by WebSVN 2.2.1