jablonka.czprosek.czf

czf4bfu.prosek.czf

Subversion Repositories:
[/] [info.php] - Rev 8

Compare with Previous - Blame - Download


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
        <head>
<!--

#####################################################
#                            #                      #
# This script built Unreal][ # http://www.jklir.net #
#                            #                      #
#####################################################
#                                                   #
# Licence: GNU/GPL                                  #
# Some Icons was downloaded from the internet and   #
# have copyrights. Please use it with GNU/GPL       #
# licence and in non-comercial projects.            #
#                                                   #
#####################################################
#                                                   #
# v 1.3 (c) Jirka Klír 2008 for CZFree.net ;-)      #
#                                                   #
#####################################################


-->
        <title>CZF4BFU INFO</title>
        <meta http-equiv="Content-Type" content="text/html; charset=windows-1250" />
        <meta http-equiv="Content-language" content="cz" />             
        <meta name="Author" content="Unreal][, http://www.jklir.net">
        <link href="styl.css" rel="stylesheet" type="text/css">
        </head>
<body style="background: #D4D0C8">

<H1>CZF4BFU INFORMATION</H1>

<div style="background-color: white; border-bottom: 1px solid silver;">
<div class='sizer'></div>
<a class='title'><b>Information</b></a>
<table>
<td>Version:</td><td> 1.3</td></tr>
<td>Author:</td><td> Unreal][</td></tr>
<td>Licence:</td><td> GNU/GPL </td></tr>
<td>Modification:</td><td> --- </td></tr>
</table></div>

<div class='sizer'></div><div style="background-color: white; border-bottom: 1px solid silver;">
<a class='title'><b>DEU Files</b></a>
<table>

<?php
if ($dir = @opendir(".")) {
  while (($file = readdir($dir)) !== false)
   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>";
closedir($dir);
}
?>
</table></div>


<div class='sizer'></div><div style="background-color: white; border-bottom: 1px solid silver;">
<a class='title'><b>Server list</b></a>
<?php

  $file = "servers.list";
  $fp = Fopen($file, "r");
  $dat = Fread($fp, filesize($file));
  $data = explode("\n", $dat);
  $soucet = (count($data))-2;

echo "soubor servers.list - posledn&#237; zm&#283;na: ".date("d.m.Y h:i:s", (filemtime("servers.list")))."<br>";
echo "soubor servers.list - obsahuje ".($soucet+1)." server&#367;";

echo "<a class='title'>servers.list</a>";

   for ($j=0; $j<=$soucet; $j++) {
        echo $data[$j]."<br>";
   }

?>
</div>

<div class='sizer'></div><div style="background-color: white; border-bottom: 1px solid silver;">
<a class='title'><b>Icons</b></a>
<a class='title'>.</a>
<?php
$path = "ikony";
$adresar = Dir ("$path");
while ($polozka=$adresar->Read()) {
$info = substr($polozka, 0, (strpos($polozka, ".")));
   if (eregi(".png", $polozka)) {
     echo "<div class='icon'><img src='".$path."/".$polozka."' width='32'><br>".$info."</div>";
   }
}
$adresar->Close();

$patha = "ikony";
$adresara = Dir ("$patha");
while ($polozkaa=$adresara->Read()) {
   if (((is_dir($patha."/".$polozkaa)) and ($polozkaa!=".")) and ($polozkaa!="..")) {
     echo "<div class='sizer'></div><a class='title'>".$polozkaa."/*</a>";
     $adresar2 = Dir($patha."/".$polozkaa);
     while ($polozka2=$adresar2->Read()) {
       $info2 = substr($polozka2, 0, (strpos($polozka2, ".")));
          if (eregi(".png", $polozka2)) {
            echo "<div class='icon'><img src='".$patha."/".$polozkaa."/".$polozka2."'><br>".$info2."</div>";
          }
      }
   }
}
$adresara->Close();
$adresar2->Close();
?>
<div class='sizer'></div></div></div>
<div id="copy">czf4bfu v1.3 - made <a href="http://www.jklir.net">Unreal][</a>&nbsp;</div>
</body>
</html>

Powered by WebSVN 2.2.1