jablonka.czprosek.czf

czf4bfu

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

 

Line No. Rev Author Line
11unreal<?php
23unreal// Nastavime, aby se nam zbytecne nelogovaly chyby
34unrealini_set('log_errors',false);
43unreal 
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");
1634unreal$order[0][0] = "TYP";
164$order[1][0] = "NAZEV";
165$sort_cz = 0;
1661unreal 
1674unrealfunction arfsort( $a, $yes ) {
168 global $sort_cz;
169 $sort_cz = $yes;
1701unreal usort( $a, 'arfsort_func' );
171 return $a;
172}
173 
174function arfsort_func( $a, $b ){
1754unreal global $trans_cz,$order,$sort_cz;
1762unreal foreach($order as $f) {
1774unreal if($sort_cz=="1") {
1781unreal $a[$f[0]]=strtr($a[$f[0]], $trans_cz);
179 $b[$f[0]]=strtr($b[$f[0]], $trans_cz);
180 }
181 $strc = strcmp( strtolower($a[$f[0]]), strtolower($b[$f[0]]) );
182 if ( $strc != 0 ) {
183 return $strc;
184 }
185 }
1862unreal return 0;
1871unreal}
188 
189function show_small($test) {
190 foreach ($test as $key=>$row) {
1914unreal if($row["OBLAST"]=="") { $row["OBLAST"]="10.0.0.0/8"; }
192 $ikonka = $row["TYP"];
1931unreal if(!file_exists("ikony/".$ikonka.".png")) { $ikonka = "none"; }
1944unreal echo "<div class=\"smallicon\"><a title=\"".$row["NAZEV"]."\" href=\"?id=".$row["ID"]."&amp;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"]."&amp;oblast=".$row["OBLAST"]."#".$row["OBLAST"]."\">".$row["NAZEV"]."</a></div>\n";
1951unreal }
196}
197 
198function show_big($test) {
1994unreal foreach ($test as $row) {
2001unreal 
2014unreal if($row["OBLAST"]=="") { $row["OBLAST"]="10.0.0.0/8"; }
202 $ikonka = $row["TYP"];
2031unreal if(!file_exists("ikony/".$ikonka.".png")) { $ikonka = "none"; }
204 
2054unreal echo "<div class=\"icon\"><a title=\"".$row["POPIS"]."\" href=\"?id=".$row["ID"]."&amp;oblast=".$row["OBLAST"]."#".$row["OBLAST"]."\"><img title=\"".$row["POPIS"]."\" border=\"0\" width=\"32\" src=\"ikony/$ikonka.png\"><br>".$row["NAZEV"]."</a></div>\n";
2061unreal }
207}
208 
209function show_groups($test) {
2103unreal $pamatuj = "";
2114unreal foreach ($test as $row) {
2121unreal 
2134unreal if($row['OBLAST']=="") { $row['OBLAST']="10.0.0.0/8"; }
214 $ikonka = $row['TYP'];
215 if(!file_exists("ikony/".$ikonka.".png")) { $ikonka = "none"; }
216 
2171unreal if ($row['TYP']==$pamatuj) {
218 
219 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";
220 } else {
221 echo "<div class=\"sizer\"></div><a name=\"".$row['TYP']."\" href=\"#".$row['TYP']."\" class=\"title\">".$row['TYP']."</a>\n";
222 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";
223 }
224 $pamatuj = $row['TYP'];
225 }
226}
227 
228function show_clouds($test) {
229 global $jmena_cloudu;
2304unreal foreach ($test as $row) {
2311unreal if($row!="") {
2324unreal $cl_popis = $jmena_cloudu["$row"];
2331unreal $cl_naz = $row;
234 $cl_nazev = $row."<br>".$cl_popis;
235 
236 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";
237 }
238 }
239}
240 
241function show_details($test) {
2424unreal $ikonka_det = $test["TYP"];
2431unreal if(!file_exists("ikony/".$ikonka_det.".png")) { $ikonka_det = "none"; }
244 echo "<div class=\"det\">";
245 echo "<div class=\"icon_det\"><img alt=\"$ikonka_det\" src=\"ikony/$ikonka_det.png\"></div>";
246 echo "<div class=\"info_det\">";
247 foreach ($test as $key=>$row) {
248 if($key!="HESLOEDIT") {
2494unreal echo "<strong>".$key."</strong>:&nbsp;".$test["$key"]."<br>";
2501unreal }
251 }
252 echo "</div><div class=\"info_cut\"></div></div>";
253}
254 
255$i=0;
256if ($dir = @opendir(".")) {
257 while (($file = readdir($dir)) !== false)
258 if (preg_match('/^(global|local)-.*.txt/',$file)) {
259 $seznam[$i] = $file;
260 $i++;
261 }
262 
263$pocet_globalu = $i;
264$polozka=-1;
265for ($g=0; $g<$pocet_globalu; $g++) {
266 
267 $file = "./".$seznam[$g]; // $g
268 $fp = Fopen($file, "r");
269 $dat = Fread($fp, filesize($file));
2702unreal// $dat = file_get_contents($file);
2711unreal $data = explode("\n", $dat);
272 $soucet = count($data);
273 
274 for ($j=0; $j<=$soucet; $j++) {
275 if ((($data[$j]!="") and ($data[$j]!=" ")) and ($data[$j][0]!=(chr(13)))) {
2764unreal if (strtoupper(substr($data[$j], 0, 4))=="TYP:") { $polozka++; }
2771unreal $item[$polozka]=$item[$polozka].$data[$j]."<br>";
278 }
279 $trans = array(" \\\\<br>" => "", " <br>" => "<br>", (chr(13)) => "", ": " => ":", "OBLAST:<br>" => "OBLAST:10.0.0.0/8<br>", (chr(9)) => "");
280 $item[$polozka]=strtr($item[$polozka], $trans);
281 
282 $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");
283 $item[$polozka]=strtr($item[$polozka], $trans_code);
284 }
285}
286 
287// ------- naladujem data do 3-rozmernyho pole -------
288 
289for ($k=0; $k<=$polozka; $k++) {
290 $ic = explode("<br>", $item[$k]);
291 $cnt_ic = (count($ic));
292 for ($b=0; $b<=$cnt_ic; $b++) {
293 if($b==$cnt_ic) {
294 $items[$k]['ID']=$k;
295 } else {
296 if(($ic[$b])!="") {
297 $pole = strpos($ic[$b], ":");
298 if((((substr($ic[$b], 0, $pole))=="URL") or ((substr($ic[$b], 0, $pole))=="URLIP")) or ((substr($ic[$b], 0, $pole))=="URLINET")) {
299 $items[$k][(strtoupper(substr($ic[$b], 0, $pole)))]="<a href=\"".(substr($ic[$b], $pole+1))."\">".(substr($ic[$b], $pole+1))."</a>";
300 } else {
301 $items[$k][(strtoupper(substr($ic[$b], 0, $pole)))]=(substr($ic[$b], $pole+1));
302 }
303 }
304 }
305 }
306}
307 
308// -- zjisteni a serazeni oblasti
3094unreal$cloudy = "";
3101unreal 
311for ($k=0; $k<=$polozka; $k++) {
312 if ((eregi("OBLAST:", $item[$k])) and (!eregi("OBLAST:<br>", $item[$k]))){
3134unreal preg_match('%OBLAST:(.*?)(<br)%s', $item[$k], $cloud);
314 if (!eregi($cloud[1], $cloudy)) {
315 $cloudy .= $cloud[1].";";
3161unreal }
317 }
318}
319$oblast = explode(";", $cloudy);
320$pocet_oblasti = count($oblast)-2;
321 
322for ($l=0; $l<=$pocet_oblasti; $l++) {
323 for ($m=0; $m<=$pocet_oblasti; $m++) {
324 if ((intval(substr($oblast[$m], 3, 3)))<(intval(substr($oblast[$m-1], 3, 3)))) {
325 $x=$oblast[$m];
326 $oblast[$m]=$oblast[$m-1];
327 $oblast[$m-1]=$x;
328 }
329 }
330}
331 
332 
333// ------- zapiseme hodnoty do cloudovskych poli -------
334 
335for ($o=0; $o<=$pocet_oblasti; $o++) {
3364unrealforeach ($items as $row) {
337 if($row["OBLAST"]=="") { $row["OBLAST"]="10.0.0.0/8"; }
338 if($row["OBLAST"]==$oblast[$o]) {
339 $obl["$oblast[$o]"][]=$row;
3403unreal }
3411unreal }
342}
343 
344// ------- prekodujem nazvy cloudu, aby nam nedelaly bordel pri spatnym kodovani -------
345 
346for ($o=0; $o<=$pocet_oblasti; $o++) {
347 $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;");
348 $jmena_cloudu["$oblast[$o]"]=strtr($jmena_cloudu["$oblast[$o]"], $trans_code);
349}
350 
351// ------- vypis ve sloupecku vlevo -------
352 
353for ($o=0; $o<=$pocet_oblasti; $o++) {
354echo "<a class=\"title\" name=\"".$oblast[$o]."\" href=\"?oblast=".$oblast[$o]."#".$oblast[$o]."\"><span class=\"cloudip\">".$oblast[$o]."</span>\n";
3554unreal if(strlen($jmena_cloudu["$oblast[$o]"])>=1) {
356 echo "<br>".$jmena_cloudu["$oblast[$o]"]."</a>";
3571unreal } else {
358 echo "</a>";
359 }
360 
3612unreal$sorted["$oblast[$o]"] = arfsort( $obl["$oblast[$o]"], 0);
3621unrealshow_small($sorted["$oblast[$o]"]);
363 
364}
365 
366?>
367 
368</div>
369<div class="items">
370 
371<?php
372 
373//############# PODMINKY ZOBRAZENI ###############//
374 
375if(($_GET["group"]!="1") and ($_GET["group"]!="2")) { $_GET["group"] = ""; }
376 
377 
378// ------- pokud neni uvedena oblast ani id ani groupa -------
379 
380if ((($_GET["oblast"]=="") and ($_GET["id"]=="")) and ($_GET["group"]=="")) {
3812unreal $sorted0 = arfsort( $items, 1);
3821unreal show_big($sorted0);
383 
384 echo "<div class=\"sizer\"></div></div>";
385}
386 
387// ------- pokud neni uvedena oblast ani id ale groupa ano -------
388 
389if ((($_GET["oblast"]=="") and ($_GET["id"]=="")) and ($_GET["group"]=="1")) {
3902unreal $sorted0 = arfsort( $items, 1);
3911unreal show_groups($sorted0);
392 
393 echo "<div class=\"sizer\"></div></div>";
394}
395 
396// ------- pokud neni uvedena oblast ani id ale groupa je 2 -------
397 
398if ((($_GET["oblast"]=="") and ($_GET["id"]=="")) and ($_GET["group"]=="2")) {
399 
400 show_clouds($oblast);
401 
402 echo "<div class=\"sizer\"></div></div>";
403}
404 
405 
406// ------- pokud je uvedena oblast i id sluzby ale groupa ne -------
407 
408if ((($_GET["oblast"]!="") and ($_GET["id"]!="")) and ($_GET["group"]=="")) {
409 
410 show_big($sorted[$_GET["oblast"]]);
411 
412 echo "<div class=\"sizer\"></div></div>\n";
413 echo "<div class=\"detail\"><div class=\"nomargin title\"><strong>Detaily:</strong></div>";
414 echo "<div class=\"contents\">\n";
415 if ($_GET["id"]<=$polozka) {
416 
417 show_details($items[$_GET["id"]]);
418 
419 } else {
420 echo "<br>Polo&#382;ka neexistuje<br>";
421 }
422 echo "</div></div>\n";
423 
424}
425 
426// ------- pokud je uvedena oblast i id sluzby i groupa -------
427 
428if ((($_GET["oblast"]!="") and ($_GET["id"]!="")) and ($_GET["group"]=="1")) {
429 
430 show_groups($sorted[$_GET["oblast"]]);
431 
432 echo "<div class=\"sizer\"></div></div>\n";
433 echo "<div class=\"detail\"><div class=\"nomargin title\"><strong>Detaily:</strong></div>";
434 echo "<div class=\"contents\">\n";
435 if ($_GET["id"]<=$polozka) {
436 
437 show_details($items[$_GET["id"]]);
438 
439 } else {
440 echo "<br>Polo&#382;ka neexistuje<br>";
441 }
442 echo "</div></div>\n";
443 
444}
445 
446 
447// ------- pokud neni uvedena oblast ale id a groupa ne -------
448 
449if ((($_GET["oblast"]=="") and ($_GET["id"]!="")) and ($_GET["group"]=="")) {
450if ($_GET["id"]<=$polozka) {
451 
452 if(($items[$_GET["id"]]["OBLAST"])=="") {
453 $sorted4 = $sorted["10.0.0.0/8"];
454 } else {
455 $sorted4 = $sorted[$items[$_GET["id"]]['OBLAST']];
456 }
457 
458 show_big($sorted4);
459 
460} else {
461 
4622unreal $sorted0 = arfsort( $items, 1);
4631unreal show_big($sorted0);
464 
465}
466 
467 
468 echo "<div class=\"sizer\"></div></div>\n";
469 echo "<div class=\"detail\"><div class=\"nomargin title\"><strong>Detaily:</strong></div>";
470 echo "<div class=\"contents\">\n";
471 if ($_GET["id"]<=$polozka) {
472 
473 show_details($items[$_GET["id"]]);
474 
475 } else {
476 echo "<br>Polo&#382;ka neexistuje<br>";
477 }
478 echo "</div></div>\n";
479 
480}
481 
482// ------- pokud neni uvedena oblast ale id a groupa ano -------
483 
484if ((($_GET["oblast"]=="") and ($_GET["id"]!="")) and ($_GET["group"]=="1")) {
485if ($_GET["id"]<=$polozka) {
486 
487 if(($items[$_GET["id"]]["OBLAST"])=="") {
488 $sorted4 = $sorted["10.0.0.0/8"];
489 } else {
490 $sorted4 = $sorted[$items[$_GET["id"]]['OBLAST']];
491 }
492 
493 show_groups($sorted4);
494 
495} else {
496 
4972unreal $sorted0 = arfsort( $items, 1);
4981unreal show_groups($sorted0);
499 
500}
501 
502 
503 echo "<div class=\"sizer\"></div></div>\n";
504 echo "<div class=\"detail\"><div class=\"nomargin title\"><strong>Detaily:</strong></div>";
505 echo "<div class=\"contents\">\n";
506 if ($_GET["id"]<=$polozka) {
507 
508 show_details($items[$_GET["id"]]);
509 
510 } else {
511 echo "<br>Polo&#382;ka neexistuje<br>";
512 }
513 echo "</div></div>\n";
514 
515}
516 
517// ------- pokud je uvedena oblast ale ne id ani groupa -------
518 
519if ((($_GET["oblast"]!="") and ($_GET["id"]=="")) and ($_GET["group"]=="")){
520 
521 show_big($sorted[$_GET["oblast"]]);
522 
523 echo "<div class=\"sizer\"></div></div>\n";
524 
525}
526 
527// ------- pokud je uvedena oblast a groupa ale ne id -------
528 
529if ((($_GET["oblast"]!="") and ($_GET["id"]=="")) and ($_GET["group"]=="1")){
530 
531 show_groups($sorted[$_GET["oblast"]]);
532 
533 echo "<div class=\"sizer\"></div></div>\n";
534 
535}
536 
537 
538} // end
539 
540?>
541 
542<div id="copy">czf4bfu v1.3 - made <a href="http://www.jklir.net">Unreal][</a>&nbsp;</div>
543</body>
544</html>

Powered by WebSVN 2.2.1