jablonka.czprosek.czf

czf4bfu.prosek.czf

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

 

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

Powered by WebSVN 2.2.1