jablonka.czprosek.czf

czf4bfu

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

 

Line No. Rev Author Line
11unreal<?php
23unreal// Nastavime, aby se nam zbytecne nelogovaly chyby
3ini_set('log_errors',FALSE);
4 
51unrealif ($dir = @opendir(".")) {
6echo("<!--CZF4BFU ");
7 while (($file = readdir($dir)) !== false)
8 if (preg_match('/^(global|local)-.*.txt/',$file))
9 echo $file." ";
10echo("-->");
11closedir($dir);
12}
13?>
14 
15<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
16<html>
17 <head>
18<!--
19 
20#####################################################
21# # #
22# This script built Unreal][ # http://www.jklir.net #
23# # #
24#####################################################
25# #
26# Licence: GNU/GPL #
27# Some Icons was downloaded from the internet and #
28# have copyrights. Please use it with GNU/GPL #
29# licence and in non-comercial projects. #
30# #
31#####################################################
32# #
33# v 1.3 (c) Jirka Klír 2008 for CZFree.net ;-) #
34# #
35#####################################################
36 
37-->
38 <title>CZF4BFU</title>
39 <meta http-equiv="Content-Type" content="text/html; charset=windows-1250" />
40 <meta http-equiv="Content-language" content="cz" />
41 <meta name="author" content="Unreal][, http://www.jklir.net">
42 <link href="styl.css" rel="stylesheet" type="text/css">
43 </head>
44<body style="background: #D4D0C8">
45 
46<H1>Rozcestn&#237;k CZFree.Net</H1>
47 
48<?php
49$group = $_GET["group"];
50if($group!=2) {
51 if($_GET["oblast"]!="") { $aname = "#".$_GET["oblast"]; } else { $aname = ""; }
52 $group = !$group;
53 $text = ($group) ? "seskupit" : "neseskupovat";
54 echo "<a class=\"group\" href=\"?group=".$group."&id=".$_GET["id"]."&oblast=".$_GET["oblast"].$aname."\">$text podle typu slu&#382;eb</a>";
55} else {
56 echo "<a class=\"group\" href=\"#\">&nbsp;</a>";
57}
58?>
59 
60<div class="tree">
61 <a class="nomargin title" href="?oblast="><strong>CZFree.net</strong><br>cel&#225; s&#237;&#357;</a>
62 <div class="smallicon"><a title="seznam slu&#382;eb" href="?oblast="><img width="10" border="0" src="img/point.png"></a>&nbsp;<a title="seznam slu&#382;eb" href="?oblast=">seznam slu&#382;eb</a></div>
63 <div class="smallicon"><a title="seznam cloud&#367;" href="?group=2"><img width="10" border="0" src="img/point.png"></a>&nbsp;<a title="seznam cloud&#367;" href="?group=2">seznam cloud&#367;</a></div>
64 
65 
66<?php
67$jmena_cloudu = array("10.1.0.0/16" => "Connection.cz / AS Centrum network",
68"10.2.0.0/16" => "Praha - Connection.cz",
69"10.10.0.0/16" => "reserved",
70"10.11.0.0/16" => "Praha - Střešovice, Břevnov, Hradčany, Strahov",
71"10.12.0.0/16" => "Praha - Nusle, Michle, Ruská ul.",
72"10.13.0.0/16" => "Praha - Stodůlky, Nové Butovice, Luka, Lužiny, Řeporyje",
73"10.15.0.0/16" => "Praha - Malvazinky, Košíře, Motol",
74"10.16.0.0/16" => "Praha - Barrandov",
75"10.17.0.0/16" => "Praha - Záběhlice, Zahradní město",
76"10.18.0.0/16" => "Praha - Dejvice, Podbaba",
77"10.19.0.0/16" => "Praha - Suchdol, Lysolaje, Hanspaulka, Horoměřice",
78"10.20.0.0/16" => "Praha - P6 - Dědina, Liboc, Ruzyně",
79"10.21.0.0/16" => "Praha - Řepy, Zličín",
80"10.22.0.0/16" => "Praha - Holešovice",
81"10.23.0.0/16" => "Praha - Vinohrady, Vršovice, Žižkov",
82"10.24.0.0/16" => "Praha - Jarov, Strašnice, Malešice, Skalka",
83"10.25.0.0/16" => "Praha - Hlubočepy, Podolí, Braník",
84"10.26.0.0/16" => "Praha - Lipence, Zbraslav, Radotín",
85"10.27.0.0/16" => "Praha - Modřany, Velká Chuchle, Hodkovičky",
86"10.28.0.0/16" => "Praha - VYPAL (VYsočany, PAlmovka, Libeň)",
87"10.30.0.0/16" => "Praha - Hostivař, Horní Měcholupy, Dolní Měcholupy, Běchovice",
88"10.31.0.0/16" => "Praha - Bohnice, Čimice",
89"10.32.0.0/16" => "Praha - Dolní Chabry, Ďáblice, Kobylisy, Vychovatelna",
90"10.33.0.0/16" => "Praha - Prosek, Letňany, Čakovice",
91"10.34.0.0/16" => "Praha - Letná, Štrossmajerák",
92"10.37.0.0/16" => "Praha - Radotín",
93"10.38.0.0/16" => "Praha - Chodov, Opatov, Háje, Kateřinky",
94"10.39.0.0/16" => "Praha - Šibřina, Újezd nad Lesy, Koloděje, Květnice",
95"10.40.0.0/16" => "Praha - Krč, sidl.Novodvorská, Kačerov, Spořilov, Roztyly",
96"10.41.0.0/16" => "HMNet - Horní Měcholupy",
97"10.43.0.0/16" => "Řepná pole, Vinoř",
98"10.44.0.0/16" => "Praha - Podolí",
99"10.48.0.0/16" => "Praha 2, 4, 10",
100"10.49.0.0/16" => "Praha 1, 3",
101"10.50.0.0/16" => "Praha - Centrum Prahy",
102"10.51.0.0/16" => "Praha - Petřiny",
103"10.52.0.0/16" => "Praha - Vršovice",
104"10.55.0.0/16" => "Connection.cz",
105"10.63.0.0/17" => "Rakovník a okolí",
106"10.66.0.0/16" => "Hostivice, Chýně, Ptice, Červený Újezd, Sobín",
107"10.67.0.0/16" => "Rudná u Prahy, Ptice, Úhonice, Drahelčice",
108"10.69.0.0/17" => "Mělník a okolí",
109"10.69.128.0/17" => "Neratovice a okolí",
110"10.70.0.0/16" => "Beroun a okolí",
111"10.76.0.0/16" => "Plzeň - PilsFree 1",
112"10.78.0.0/16" => "Plzeň - PilsFree 2",
113"10.88.0.0/16" => "Říčany a okolí",
114"10.89.0.0/16" => "Mnichovice",
115"10.91.0.0/19" => "Velké Přílepy",
116"10.92.0.0/19" => "Libčice nad Vltavou",
117"10.93.0.0/16" => "Čelákovice",
118"10.94.0.0/17" => "Mladá Boleslav a okolí",
119"10.95.0.0/17" => "Řevnice, Dobřichovice",
120"10.96.0.0/16" => "Všenory, Karlík, Dobřichovice, Lety, Řevnice, Třebáň",
121"10.98.0.0/16" => "Unhoš, Chýně, Červený Újezd, Ptice, Nouzov, Kysice, Braškov, Horní Bezděkov a další",
122"10.99.0.0/18" => "Třebestovice",
123"10.100.0.0/16" => "Říčany",
124"10.101.0.0/16" => "Liberec",
125"10.102.0.0/16" => "Kladno, Unhoš a okolí",
126"10.103.0.0/16" => "Karlovy Vary",
127"10.104.0.0/17" => "Jablonec",
128"10.105.0.0/17" => "Kolín",
129"10.106.0.0/16" => "Kutná Hora - okres",
130"10.107.0.0/16" => "Hradec Králové",
131"10.108.0.0/16" => "České Budějovice",
132"10.109.0.0/16" => "Plzeň",
133"10.110.0.0/17" => "Chrudim",
134"10.111.0.0/16" => "Plzeň - sever",
135"10.112.0.0/16" => "Lysá nad Labem",
136"10.113.0.0/16" => "Louny, Žatec, Pobořany",
137"10.114.0.0/16" => "Příbram",
138"10.117.0.0/16" => "Turnov a okolí",
139"10.120.0.0/18" => "MH2Net - Mnichovo Hradiště směr Turnov",
140"10.128.0.0/15" => "Brno - město",
141"10.128.0.0/16" => "Brno - město",
142"10.129.0.0/16" => "okolí Brna",
143"10.129.24.0/21" => "Tišnov",
144"10.130.0.0/16" => "Severní Morava",
145"10.131.0.0/16" => "Uherské Hradiště",
146"10.132.0.0/16" => "Střední Morava - Olomouc",
147"10.133.0.0/16" => "Prostějov",
148"10.134.0.0/16" => "Přerovsko",
149"10.135.0.0/16" => "rezerva pro Moravu",
150"10.136.0.0/16" => "testovací sítě pro Moravu",
151"10.144.0.0/16" => "Zlín, Vsetín, Valašské Meziříčí - okresy",
152"10.145.0.0/16" => "Nový Jičín, Kopřivnice, Frýdek Místek - okresy",
153"10.152.0.0/16" => "Ostrava - okres",
154"10.153.0.0/16" => "Ostrava - okres",
155"10.154.0.0/16" => "Ostrava - okres",
156"10.155.0.0/16" => "Ostrava - okres",
157"10.161.0.0/16" => "Evkanet - Ostrava",
158"10.253.0.0/16" => "NCX - Zápy",
159"10.254.0.0/16" => "NCX Labyrint");
160 
161// prasarna, ale dokaze to radit cesky retezce :-)
162$trans_cz = array("&#193;" => "azzz", "&#201;" => "ezzz", "&#282;" => "ezzzz", "&#205;" => "izzz", "&#211;" => "ozzz", "&#218;" => "uzzz", "&#221;" => "yzzz", "&#381;" => "zzzz", "&#352;" => "szzz", "&#268;" => "czzz", "&#344;" => "rzzz", "&#270;" => "dzzz", "&#356;" => "tzzz", "&#327;" => "nzzz");
163 
1642unrealfunction arfsort( $a, $y ){
1651unreal $GLOBALS['__ARFSORT_YES__'] = $y;
166 usort( $a, 'arfsort_func' );
167 return $a;
168}
169 
170function arfsort_func( $a, $b ){
171 global $trans_cz;
1722unreal $order[0][0] = "TYP";
173 $order[1][0] = "NAZEV";
174 foreach($order as $f) {
1751unreal if($GLOBALS['__ARFSORT_YES__']=="1") {
176 $a[$f[0]]=strtr($a[$f[0]], $trans_cz);
177 $b[$f[0]]=strtr($b[$f[0]], $trans_cz);
178 }
179 $strc = strcmp( strtolower($a[$f[0]]), strtolower($b[$f[0]]) );
180 if ( $strc != 0 ) {
181 return $strc;
182 }
183 }
1842unreal return 0;
1851unreal}
186 
187function show_small($test) {
188 foreach ($test as $key=>$row) {
189 
190 if($row['OBLAST']=="") { $row['OBLAST']="10.0.0.0/8"; }
191 $ikonka = $row['TYP'];
192 if(!file_exists("ikony/".$ikonka.".png")) { $ikonka = "none"; }
193 echo "<div class=\"smallicon\"><a title=\"".$row['NAZEV']."\" href=\"?id=".$row['ID']."&oblast=".$row['OBLAST']."#".$row['OBLAST']."\"><img width=\"16\" title=\"".$row['NAZEV']."\" border=\"0\" src=\"ikony/$ikonka.png\"></a>&nbsp;<a title=\"".$row['NAZEV']."\" href=\"?id=".$row['ID']."&oblast=".$row['OBLAST']."#".$row['OBLAST']."\">".$row['NAZEV']."</a></div>\n";
194 }
195}
196 
197function show_big($test) {
198 foreach ($test as $key=>$row) {
199 
200 if($row['OBLAST']=="") { $row['OBLAST']="10.0.0.0/8"; }
201 $ikonka = $row['TYP'];
202 if(!file_exists("ikony/".$ikonka.".png")) { $ikonka = "none"; }
203 
204 echo "<div class=\"icon\"><a title=\"".$row['POPIS']."\" href=\"?id=".$row['ID']."&oblast=".$row['OBLAST']."#".$row['OBLAST']."\"><img title=\"".$row['POPIS']."\" border=\"0\" width=\"32\" src=\"ikony/$ikonka.png\"><br>".$row['NAZEV']."</a></div>\n";
205 }
206}
207 
208function show_groups($test) {
2093unreal $pamatuj = "";
2101unreal foreach ($test as $key=>$row) {
211 
212 if ($row['TYP']==$pamatuj) {
213 
214 if($row['OBLAST']=="") { $row['OBLAST']="10.0.0.0/8"; }
215 $ikonka = $row['TYP'];
216 if(!file_exists("ikony/".$ikonka.".png")) { $ikonka = "none"; }
217 
218 echo "<div class=\"icon\"><a title=\"".$row['POPIS']."\" href=\"?id=".$row['ID']."&oblast=".$row['OBLAST']."#".$row['OBLAST']."\"><img title=\"".$row['POPIS']."\" border=\"0\" width=\"32\" src=\"ikony/$ikonka.png\"><br>".$row['NAZEV']."</a></div>\n";
219 } else {
220 echo "<div class=\"sizer\"></div><a name=\"".$row['TYP']."\" href=\"#".$row['TYP']."\" class=\"title\">".$row['TYP']."</a>\n";
221 if($row['OBLAST']=="") { $row['OBLAST']="10.0.0.0/8"; }
222 $ikonka = $row['TYP'];
223 if(!file_exists("ikony/".$ikonka.".png")) { $ikonka = "none"; }
224 
225 echo "<div class=\"icon\"><a title=\"".$row['POPIS']."\" href=\"?id=".$row['ID']."&oblast=".$row['OBLAST']."#".$row['OBLAST']."\"><img title=\"".$row['POPIS']."\" border=\"0\" width=\"32\" src=\"ikony/$ikonka.png\"><br>".$row['NAZEV']."</a></div>\n";
226 }
227 $pamatuj = $row['TYP'];
228 }
229}
230 
231function show_clouds($test) {
232 global $jmena_cloudu;
233 foreach ($test as $key=>$row) {
234 if($row!="") {
235 $cl_popis = $jmena_cloudu[$row];
236 $cl_naz = $row;
237 $cl_nazev = $row."<br>".$cl_popis;
238 
239 echo "<div class=\"icon2\"><a title=\"".$cl_popis."\" href=\"?oblast=".$cl_naz."#".$cl_naz."\"><img title=\"".$cl_popis."\" border=\"0\" width=\"50\" src=\"img/cloud.png\"><br>".$cl_nazev."</a></div>\n";
240 }
241 }
242}
243 
244function show_details($test) {
245 $ikonka_det = $test['TYP'];
246 if(!file_exists("ikony/".$ikonka_det.".png")) { $ikonka_det = "none"; }
247 echo "<div class=\"det\">";
248 echo "<div class=\"icon_det\"><img alt=\"$ikonka_det\" src=\"ikony/$ikonka_det.png\"></div>";
249 echo "<div class=\"info_det\">";
250 foreach ($test as $key=>$row) {
251 if($key!="HESLOEDIT") {
252 echo "<strong>".$key."</strong>:&nbsp;".$test[$key]."<br>";
253 }
254 }
255 echo "</div><div class=\"info_cut\"></div></div>";
256}
257 
258$i=0;
259if ($dir = @opendir(".")) {
260 while (($file = readdir($dir)) !== false)
261 if (preg_match('/^(global|local)-.*.txt/',$file)) {
262 $seznam[$i] = $file;
263 $i++;
264 }
265 
266$pocet_globalu = $i;
267$polozka=-1;
268for ($g=0; $g<$pocet_globalu; $g++) {
269 
270 $file = "./".$seznam[$g]; // $g
271 $fp = Fopen($file, "r");
272 $dat = Fread($fp, filesize($file));
2732unreal// $dat = file_get_contents($file);
2741unreal $data = explode("\n", $dat);
275 $soucet = count($data);
276 
277 for ($j=0; $j<=$soucet; $j++) {
278 if ((($data[$j]!="") and ($data[$j]!=" ")) and ($data[$j][0]!=(chr(13)))) {
279 if (strtoupper(substr("$data[$j]", 0, 4))=="TYP:") { $polozka++; }
280 $item[$polozka]=$item[$polozka].$data[$j]."<br>";
281 }
282 $trans = array(" \\\\<br>" => "", " <br>" => "<br>", (chr(13)) => "", ": " => ":", "OBLAST:<br>" => "OBLAST:10.0.0.0/8<br>", (chr(9)) => "");
283 $item[$polozka]=strtr($item[$polozka], $trans);
284 
285 $trans_code = array("á" => "&#225;", "é" => "&#233;", "ě" => "&#283;", "í" => "&#237;", "ó" => "&#243;", "ú" => "&#250;", "ů" => "&#367;", "ý" => "&#253;", "ž" => "&#382;", "š" => "&#353;", "č" => "&#269;", "ř" => "&#345;", "ď" => "&#271;", "" => "&#357;", "ň" => "&#328;", "Á" => "&#193;", "É" => "&#201;", "Ě" => "&#282;", "Í" => "&#205;", "Ó" => "&#211;", "Ú" => "&#218;", "Ů" => "&#366;", "Ý" => "&#221;", "Ž" => "&#381;", "Š" => "&#352;", "Č" => "&#268;", "Ř" => "&#344;", "Ď" => "&#270;", "" => "&#356;", "Ň" => "&#327;", "ž" => "&#382", "š" => "&#353");
286 $item[$polozka]=strtr($item[$polozka], $trans_code);
287 }
288}
289 
290// ------- naladujem data do 3-rozmernyho pole -------
291 
292for ($k=0; $k<=$polozka; $k++) {
293 $ic = explode("<br>", $item[$k]);
294 $cnt_ic = (count($ic));
295 for ($b=0; $b<=$cnt_ic; $b++) {
296 if($b==$cnt_ic) {
297 $items[$k]['ID']=$k;
298 } else {
299 if(($ic[$b])!="") {
300 $pole = strpos($ic[$b], ":");
301 if((((substr($ic[$b], 0, $pole))=="URL") or ((substr($ic[$b], 0, $pole))=="URLIP")) or ((substr($ic[$b], 0, $pole))=="URLINET")) {
302 $items[$k][(strtoupper(substr($ic[$b], 0, $pole)))]="<a href=\"".(substr($ic[$b], $pole+1))."\">".(substr($ic[$b], $pole+1))."</a>";
303 } else {
304 $items[$k][(strtoupper(substr($ic[$b], 0, $pole)))]=(substr($ic[$b], $pole+1));
305 }
306 }
307 }
308 }
309}
310 
311// -- zjisteni a serazeni oblasti
312 
313 
314for ($k=0; $k<=$polozka; $k++) {
315 if ((eregi("OBLAST:", $item[$k])) and (!eregi("OBLAST:<br>", $item[$k]))){
316 $vyskyt = strpos($item[$k], "OBLAST:");
317 $cloud = substr($item[$k], $vyskyt+7, 16);
318 $cloud = substr($cloud, 0, strpos($cloud, "/")+3);
319 if ($cloud[strlen($cloud)-1]=="<") {
320 $cloud = substr($cloud, 0, strpos($cloud, "/")+2);
321 }
322 if (!eregi($cloud, $cloudy)) {
323 $cloudy=$cloudy.$cloud.";";
324 }
325 }
326}
327$oblast = explode(";", $cloudy);
328$pocet_oblasti = count($oblast)-2;
329 
330for ($l=0; $l<=$pocet_oblasti; $l++) {
331 for ($m=0; $m<=$pocet_oblasti; $m++) {
332 if ((intval(substr($oblast[$m], 3, 3)))<(intval(substr($oblast[$m-1], 3, 3)))) {
333 $x=$oblast[$m];
334 $oblast[$m]=$oblast[$m-1];
335 $oblast[$m-1]=$x;
336 }
337 }
338}
339 
340 
341// ------- zapiseme hodnoty do cloudovskych poli -------
342 
343for ($o=0; $o<=$pocet_oblasti; $o++) {
344foreach ($items as $key=>$row) {
345 if($row['OBLAST']=="") { $row['OBLAST']="10.0.0.0/8"; }
346 if($row['OBLAST']==$oblast[$o]) {
347 $obl[$oblast[$o]][]=$row;
3483unreal }
3491unreal }
350}
351 
352// ------- prekodujem nazvy cloudu, aby nam nedelaly bordel pri spatnym kodovani -------
353 
354for ($o=0; $o<=$pocet_oblasti; $o++) {
355 $trans_code = array("á" => "&#225;", "é" => "&#233;", "ě" => "&#283;", "í" => "&#237;", "ó" => "&#243;", "ú" => "&#250;", "ů" => "&#367;", "ý" => "&#253;", "ž" => "&#382;", "š" => "&#353;", "č" => "&#269;", "ř" => "&#345;", "ď" => "&#271;", "" => "&#357;", "ň" => "&#328;", "Á" => "&#193;", "É" => "&#201;", "Ě" => "&#282;", "Í" => "&#205;", "Ó" => "&#211;", "Ú" => "&#218;", "Ů" => "&#366;", "Ý" => "&#221;", "Ž" => "&#381;", "Š" => "&#352;", "Č" => "&#268;", "Ř" => "&#344;", "Ď" => "&#270;", "" => "&#356;", "Ň" => "&#327;");
356 $jmena_cloudu["$oblast[$o]"]=strtr($jmena_cloudu["$oblast[$o]"], $trans_code);
357}
358 
359// ------- vypis ve sloupecku vlevo -------
360 
361for ($o=0; $o<=$pocet_oblasti; $o++) {
362echo "<a class=\"title\" name=\"".$oblast[$o]."\" href=\"?oblast=".$oblast[$o]."#".$oblast[$o]."\"><span class=\"cloudip\">".$oblast[$o]."</span>\n";
363 if(strlen($jmena_cloudu[$oblast[$o]])>=1) {
364 echo "<br>".$jmena_cloudu[$oblast[$o]]."</a>";
365 } else {
366 echo "</a>";
367 }
368 
3692unreal$sorted["$oblast[$o]"] = arfsort( $obl["$oblast[$o]"], 0);
3701unrealshow_small($sorted["$oblast[$o]"]);
371 
372}
373 
374?>
375 
376</div>
377<div class="items">
378 
379<?php
380 
381//############# PODMINKY ZOBRAZENI ###############//
382 
383if(($_GET["group"]!="1") and ($_GET["group"]!="2")) { $_GET["group"] = ""; }
384 
385 
386// ------- pokud neni uvedena oblast ani id ani groupa -------
387 
388if ((($_GET["oblast"]=="") and ($_GET["id"]=="")) and ($_GET["group"]=="")) {
3892unreal $sorted0 = arfsort( $items, 1);
3901unreal show_big($sorted0);
391 
392 echo "<div class=\"sizer\"></div></div>";
393}
394 
395// ------- pokud neni uvedena oblast ani id ale groupa ano -------
396 
397if ((($_GET["oblast"]=="") and ($_GET["id"]=="")) and ($_GET["group"]=="1")) {
3982unreal $sorted0 = arfsort( $items, 1);
3991unreal show_groups($sorted0);
400 
401 echo "<div class=\"sizer\"></div></div>";
402}
403 
404// ------- pokud neni uvedena oblast ani id ale groupa je 2 -------
405 
406if ((($_GET["oblast"]=="") and ($_GET["id"]=="")) and ($_GET["group"]=="2")) {
407 
408 show_clouds($oblast);
409 
410 echo "<div class=\"sizer\"></div></div>";
411}
412 
413 
414// ------- pokud je uvedena oblast i id sluzby ale groupa ne -------
415 
416if ((($_GET["oblast"]!="") and ($_GET["id"]!="")) and ($_GET["group"]=="")) {
417 
418 show_big($sorted[$_GET["oblast"]]);
419 
420 echo "<div class=\"sizer\"></div></div>\n";
421 echo "<div class=\"detail\"><div class=\"nomargin title\"><strong>Detaily:</strong></div>";
422 echo "<div class=\"contents\">\n";
423 if ($_GET["id"]<=$polozka) {
424 
425 show_details($items[$_GET["id"]]);
426 
427 } else {
428 echo "<br>Polo&#382;ka neexistuje<br>";
429 }
430 echo "</div></div>\n";
431 
432}
433 
434// ------- pokud je uvedena oblast i id sluzby i groupa -------
435 
436if ((($_GET["oblast"]!="") and ($_GET["id"]!="")) and ($_GET["group"]=="1")) {
437 
438 show_groups($sorted[$_GET["oblast"]]);
439 
440 echo "<div class=\"sizer\"></div></div>\n";
441 echo "<div class=\"detail\"><div class=\"nomargin title\"><strong>Detaily:</strong></div>";
442 echo "<div class=\"contents\">\n";
443 if ($_GET["id"]<=$polozka) {
444 
445 show_details($items[$_GET["id"]]);
446 
447 } else {
448 echo "<br>Polo&#382;ka neexistuje<br>";
449 }
450 echo "</div></div>\n";
451 
452}
453 
454 
455// ------- pokud neni uvedena oblast ale id a groupa ne -------
456 
457if ((($_GET["oblast"]=="") and ($_GET["id"]!="")) and ($_GET["group"]=="")) {
458if ($_GET["id"]<=$polozka) {
459 
460 if(($items[$_GET["id"]]["OBLAST"])=="") {
461 $sorted4 = $sorted["10.0.0.0/8"];
462 } else {
463 $sorted4 = $sorted[$items[$_GET["id"]]['OBLAST']];
464 }
465 
466 show_big($sorted4);
467 
468} else {
469 
4702unreal $sorted0 = arfsort( $items, 1);
4711unreal show_big($sorted0);
472 
473}
474 
475 
476 echo "<div class=\"sizer\"></div></div>\n";
477 echo "<div class=\"detail\"><div class=\"nomargin title\"><strong>Detaily:</strong></div>";
478 echo "<div class=\"contents\">\n";
479 if ($_GET["id"]<=$polozka) {
480 
481 show_details($items[$_GET["id"]]);
482 
483 } else {
484 echo "<br>Polo&#382;ka neexistuje<br>";
485 }
486 echo "</div></div>\n";
487 
488}
489 
490// ------- pokud neni uvedena oblast ale id a groupa ano -------
491 
492if ((($_GET["oblast"]=="") and ($_GET["id"]!="")) and ($_GET["group"]=="1")) {
493if ($_GET["id"]<=$polozka) {
494 
495 if(($items[$_GET["id"]]["OBLAST"])=="") {
496 $sorted4 = $sorted["10.0.0.0/8"];
497 } else {
498 $sorted4 = $sorted[$items[$_GET["id"]]['OBLAST']];
499 }
500 
501 show_groups($sorted4);
502 
503} else {
504 
5052unreal $sorted0 = arfsort( $items, 1);
5061unreal show_groups($sorted0);
507 
508}
509 
510 
511 echo "<div class=\"sizer\"></div></div>\n";
512 echo "<div class=\"detail\"><div class=\"nomargin title\"><strong>Detaily:</strong></div>";
513 echo "<div class=\"contents\">\n";
514 if ($_GET["id"]<=$polozka) {
515 
516 show_details($items[$_GET["id"]]);
517 
518 } else {
519 echo "<br>Polo&#382;ka neexistuje<br>";
520 }
521 echo "</div></div>\n";
522 
523}
524 
525// ------- pokud je uvedena oblast ale ne id ani groupa -------
526 
527if ((($_GET["oblast"]!="") and ($_GET["id"]=="")) and ($_GET["group"]=="")){
528 
529 show_big($sorted[$_GET["oblast"]]);
530 
531 echo "<div class=\"sizer\"></div></div>\n";
532 
533}
534 
535// ------- pokud je uvedena oblast a groupa ale ne id -------
536 
537if ((($_GET["oblast"]!="") and ($_GET["id"]=="")) and ($_GET["group"]=="1")){
538 
539 show_groups($sorted[$_GET["oblast"]]);
540 
541 echo "<div class=\"sizer\"></div></div>\n";
542 
543}
544 
545 
546} // end
547 
548?>
549 
550<div id="copy">czf4bfu v1.3 - made <a href="http://www.jklir.net">Unreal][</a>&nbsp;</div>
551</body>
552</html>

Powered by WebSVN 2.2.1