jablonka.czprosek.czf

czf4bfu

Subversion Repositories:
[/] [info.php] - Diff between revs 19 and 21

Show entire file Ignore whitespace

Rev 19 Rev 21
Line 1... Line 1...
  <?php $verze = "1.9"; ?>
   
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html> <html>
<head> <head>
<!-- Unreal][ # http://www.jklir.net # Licence: GNU/GPL # v 1.8 (c) Jirka Klír 2011 for CZFree.net ;-) # --> <!-- Unreal][ # http://www.jklir.net # Licence: GNU/GPL # v <?php echo $verze; ?> (c) Jirka Klír 2013 for CZFree.net ;-) # -->
<title>CZF4BFU INFO</title> <title>CZF4BFU INFO</title>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1250"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1250">
<meta http-equiv="Content-language" content="cs"> <meta http-equiv="Content-language" content="cs">
<meta name="Author" content="Unreal][, http://www.jklir.net"> <meta name="Author" content="Unreal][, http://www.jklir.net">
<link href="styl.css" rel="stylesheet" type="text/css"> <link href="styl.css" rel="stylesheet" type="text/css">
Line 16... Line 18...
   
<div class="info"> <div class="info">
<a class="title"><strong>Information</strong></a> <a class="title"><strong>Information</strong></a>
<div class="pad"> <div class="pad">
<table> <table>
<td>Version:</td><td> 1.8</td></tr> <td>Version:</td><td> <?php echo $verze; ?></td></tr>
<td>Author:</td><td> Unreal][</td></tr> <td>Author:</td><td> Unreal][</td></tr>
<td>Licence:</td><td> GNU/GPL </td></tr> <td>Licence:</td><td> GNU/GPL </td></tr>
<td>Modification:</td><td> &nbsp;--- </td></tr> <td>Modification:</td><td> &nbsp;--- </td></tr>
</table></div></div> </table></div></div>
   
Line 32... Line 34...
<table> <table>
<?php <?php
if ($dir = @opendir(".")) { if ($dir = @opendir(".")) {
while (($file = readdir($dir)) !== false) while (($file = readdir($dir)) !== false)
if (preg_match('/^(global|local)-.*.txt$/',$file)) if (preg_match('/^(global|local)-.*.txt$/',$file))
echo " <tr><td>".$file."</td><td>&nbsp; - posledn&#237; zm&#283;na: ".date("d.m.Y h:i:s", (filemtime($file)))."</td></tr>\n"; echo " <tr><td>".$file."</td><td>&nbsp; - poslední změna: ".date("d.m.Y h:i:s", (filemtime($file)))."</td></tr>\n";
closedir($dir); closedir($dir);
} }
?> ?>
</table></div></div> </table></div></div>
   
Line 51... Line 53...
$fp = Fopen($file, "r"); $fp = Fopen($file, "r");
$dat = Fread($fp, filesize($file)); $dat = Fread($fp, filesize($file));
$data = explode("\n", $dat); $data = explode("\n", $dat);
$soucet = (count($data))-2; $soucet = (count($data))-2;
   
echo "soubor servers.list - posledn&#237; zm&#283;na: ".date("d.m.Y h:i:s", (filemtime("servers.list")))."<br>\n"; echo "soubor servers.list - poslední změna: ".date("d.m.Y h:i:s", (filemtime("servers.list")))."<br>\n";
echo "soubor servers.list - obsahuje ".($soucet+1)." server&#367;\n"; echo "soubor servers.list - obsahuje ".($soucet+1)." serverů\n";
   
echo "</div></div><div class=\"info\">"; echo "</div></div><div class=\"info\">";
echo "<a class=\"title\"><strong>servers.list</strong></a>\n<div class=\"pad\">\n"; echo "<a class=\"title\"><strong>servers.list</strong></a>\n<div class=\"pad\">\n";
   
for ($j=0; $j<=$soucet; $j++) { for ($j=0; $j<=$soucet; $j++) {
Line 72... Line 74...
<a class="title"><strong>Icons</strong></a> <a class="title"><strong>Icons</strong></a>
<div style="border: 1px solid silver;"> <div style="border: 1px solid silver;">
<a class="title">.</a> <a class="title">.</a>
<?php <?php
$path = "ikony"; $path = "ikony";
$adresar = Dir ("$path"); $adresar = Dir("$path");
while ($polozka=$adresar->Read()) { while ($polozka=$adresar->Read()) {
$info = substr($polozka, 0, (strpos($polozka, "."))); $info = substr($polozka, 0, (strpos($polozka, ".")));
if (eregi(".png", $polozka)) { if (eregi(".png", $polozka)) {
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>"; 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>";
} }
} }
$adresar->Close(); $adresar->Close();
   
$patha = "ikony"; $patha = "ikony";
$adresara = Dir ("$patha"); $adresara = Dir("$patha");
while ($polozkaa=$adresara->Read()) { while ($polozkaa=$adresara->Read()) {
if ((((is_dir($patha."/".$polozkaa)) and ($polozkaa!=".")) and ($polozkaa!="..")) and ($polozkaa!=".svn")) { if ((((is_dir($patha."/".$polozkaa)) and ($polozkaa!=".")) and ($polozkaa!="..")) and ($polozkaa!=".svn")) {
echo "<div class=\"sizer\"></div>\n<a class=\"nomargin title\">".$polozkaa."/*</a>\n"; echo "<div class=\"sizer\"></div>\n<a class=\"nomargin title\">".$polozkaa."/*</a>\n";
$adresar2 = Dir($patha."/".$polozkaa); $adresar2 = Dir($patha."/".$polozkaa);
while ($polozka2=$adresar2->Read()) { while ($polozka2=$adresar2->Read()) {
Line 100... Line 102...
$adresara->Close(); $adresara->Close();
$adresar2->Close(); $adresar2->Close();
?> ?>
<div class="sizer"></div></div></div></div> <div class="sizer"></div></div></div></div>
   
<div id="copy">czf4bfu v1.8 - made <a href="http://www.jklir.net">Unreal][</a>&nbsp;&nbsp;&nbsp;</div> <div id="copy">czf4bfu v<?php echo $verze; ?> - made <a href="http://www.jklir.net">Unreal][</a>&nbsp;&nbsp;&nbsp;</div>
   
</body> </body>
</html> </html>

Powered by WebSVN 2.2.1