jablonka.czprosek.czf

czf4bfu

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

 

Line No. Rev Author Line
11unreal<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2<html>
3 <head>
4<!--
5 
6#####################################################
7# # #
8# This script built Unreal][ # http://www.jklir.net #
9# # #
10#####################################################
11# #
12# Licence: GNU/GPL #
13# Some Icons was downloaded from the internet and #
14# have copyrights. Please use it with GNU/GPL #
15# licence and in non-comercial projects. #
16# #
17#####################################################
18# #
19# v 1.3 (c) Jirka Klír 2008 for CZFree.net ;-) #
20# #
21#####################################################
22 
23 
24-->
25 <title>CZF4BFU INFO</title>
26 <meta http-equiv="Content-Type" content="text/html; charset=windows-1250" />
27 <meta http-equiv="Content-language" content="cz" />
28 <meta name="Author" content="Unreal][, http://www.jklir.net">
29 <link href="styl.css" rel="stylesheet" type="text/css">
30 </head>
31<body style="background: #D4D0C8">
32 
33<H1>CZF4BFU INFORMATION</H1>
34 
35<div style="background-color: white; border-bottom: 1px solid silver;">
36<div class='sizer'></div>
37<a class='title'><b>Information</b></a>
38<table>
39<td>Version:</td><td> 1.3</td></tr>
40<td>Author:</td><td> Unreal][</td></tr>
41<td>Licence:</td><td> GNU/GPL </td></tr>
42<td>Modification:</td><td> --- </td></tr>
43</table></div>
44 
45<div class='sizer'></div><div style="background-color: white; border-bottom: 1px solid silver;">
46<a class='title'><b>DEU Files</b></a>
47<table>
48 
49<?php
50if ($dir = @opendir(".")) {
51 while (($file = readdir($dir)) !== false)
52 if (preg_match('/^(global|local)-.*.txt/',$file))
53 echo "<tr><td>".$file."</td><td>&nbsp; - posledn&#237; zm&#283;na: ".date("d.m.Y h:i:s", (filemtime($file)))."</td></tr>";
54closedir($dir);
55}
56?>
57</table></div>
58 
59 
60<div class='sizer'></div><div style="background-color: white; border-bottom: 1px solid silver;">
61<a class='title'><b>Server list</b></a>
62<?php
63 
64 $file = "servers.list";
65 $fp = Fopen($file, "r");
66 $dat = Fread($fp, filesize($file));
67 $data = explode("\n", $dat);
68 $soucet = (count($data))-2;
69 
70echo "soubor servers.list - posledn&#237; zm&#283;na: ".date("d.m.Y h:i:s", (filemtime("servers.list")))."<br>";
71echo "soubor servers.list - obsahuje ".($soucet+1)." server&#367;";
72 
73echo "<a class='title'>servers.list</a>";
74 
75 for ($j=0; $j<=$soucet; $j++) {
76 echo $data[$j]."<br>";
77 }
78 
79?>
80</div>
81 
82<div class='sizer'></div><div style="background-color: white; border-bottom: 1px solid silver;">
83<a class='title'><b>Icons</b></a>
84<a class='title'>.</a>
85<?php
86$path = "ikony";
87$adresar = Dir ("$path");
88while ($polozka=$adresar->Read()) {
89$info = substr($polozka, 0, (strpos($polozka, ".")));
90 if (eregi(".png", $polozka)) {
91 echo "<div class='icon'><img src='".$path."/".$polozka."' width='32'><br>".$info."</div>";
92 }
93}
94$adresar->Close();
95 
96$patha = "ikony";
97$adresara = Dir ("$patha");
98while ($polozkaa=$adresara->Read()) {
99 if (((is_dir($patha."/".$polozkaa)) and ($polozkaa!=".")) and ($polozkaa!="..")) {
100 echo "<div class='sizer'></div><a class='title'>".$polozkaa."/*</a>";
101 $adresar2 = Dir($patha."/".$polozkaa);
102 while ($polozka2=$adresar2->Read()) {
103 $info2 = substr($polozka2, 0, (strpos($polozka2, ".")));
104 if (eregi(".png", $polozka2)) {
105 echo "<div class='icon'><img src='".$patha."/".$polozkaa."/".$polozka2."'><br>".$info2."</div>";
106 }
107 }
108 }
109}
110$adresara->Close();
111$adresar2->Close();
112?>
113<div class='sizer'></div></div></div>
114<div id="copy">czf4bfu v1.3 - made <a href="http://www.jklir.net">Unreal][</a>&nbsp;</div>
115</body>
116</html>

Powered by WebSVN 2.2.1