jablonka.czprosek.czf

czf4bfu.prosek.czf

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

 

Line No. Rev Author Line
11simandl<?php
29simandl// Nastavime, aby se nam zbytecne nelogovaly chyby
3ini_set('log_errors',FALSE);
4 
51simandlif ($dir = @opendir(".")) {
6echo("<!--CZF4BFU ");
7 while (($file = readdir($dir)) !== false)
88simandl if (preg_match('/^(global|local)-.*.txt/',$file))
9 echo $file." ";
101simandlecho("-->");
11closedir($dir);
12}
13?>
148simandl 
151simandl<!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 #
278simandl# Some Icons was downloaded from the internet and #
28# have copyrights. Please use it with GNU/GPL #
29# licence and in non-comercial projects. #
301simandl# #
31#####################################################
32# #
338simandl# v 1.3 (c) Jirka Klír 2008 for CZFree.net ;-) #
341simandl# #
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" />
418simandl <meta name="author" content="Unreal][, http://www.jklir.net">
421simandl <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>
478simandl 
481simandl<?php
498simandl$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?>
591simandl 
60<div class="tree">
61 <a class="nomargin title" href="?oblast="><strong>CZFree.net</strong><br>cel&#225; s&#237;&#357;</a>
628simandl <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>
641simandl 
658simandl 
661simandl<?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",
778simandl"10.19.0.0/16" => "Praha - Suchdol, Lysolaje, Hanspaulka, Horoměřice",
78"10.20.0.0/16" => "Praha - P6 - Dědina, Liboc, Ruzyně",
791simandl"10.21.0.0/16" => "Praha - Řepy, Zličín",
80"10.22.0.0/16" => "Praha - Holešovice",
818simandl"10.23.0.0/16" => "Praha - Vinohrady, Vršovice, Žižkov",
821simandl"10.24.0.0/16" => "Praha - Jarov, Strašnice, Malešice, Skalka",
83"10.25.0.0/16" => "Praha - Hlubočepy, Podolí, Braník",
848simandl"10.26.0.0/16" => "Praha - Lipence, Zbraslav, Radotín",
851simandl"10.27.0.0/16" => "Praha - Modřany, Velká Chuchle, Hodkovičky",
868simandl"10.28.0.0/16" => "Praha - VYPAL (VYsočany, PAlmovka, Libeň)",
871simandl"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ř",
988simandl"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",
1011simandl"10.50.0.0/16" => "Praha - Centrum Prahy",
102"10.51.0.0/16" => "Praha - Petřiny",
1038simandl"10.52.0.0/16" => "Praha - Vršovice",
1041simandl"10.55.0.0/16" => "Connection.cz",
105"10.63.0.0/17" => "Rakovník a okolí",
1068simandl"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",
1081simandl"10.69.0.0/17" => "Mělník a okolí",
109"10.69.128.0/17" => "Neratovice a okolí",
1108simandl"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",
1171simandl"10.93.0.0/16" => "Čelákovice",
1188simandl"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",
1231simandl"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",
1278simandl"10.104.0.0/17" => "Jablonec",
128"10.105.0.0/17" => "Kolín",
1291simandl"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ň",
1338simandl"10.110.0.0/17" => "Chrudim",
1341simandl"10.111.0.0/16" => "Plzeň - sever",
135"10.112.0.0/16" => "Lysá nad Labem",
1368simandl"10.113.0.0/16" => "Louny, Žatec, Pobořany",
1371simandl"10.114.0.0/16" => "Příbram",
1388simandl"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",
1411simandl"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",
1458simandl"10.131.0.0/16" => "Uherské Hradiště",
146"10.132.0.0/16" => "Střední Morava - Olomouc",
1471simandl"10.133.0.0/16" => "Prostějov",
1488simandl"10.134.0.0/16" => "Přerovsko",
1491simandl"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",
1528simandl"10.145.0.0/16" => "Nový Jičín, Kopřivnice, Frýdek Místek - okresy",
1531simandl"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",
1578simandl"10.161.0.0/16" => "Evkanet - Ostrava",
1581simandl"10.253.0.0/16" => "NCX - Zápy",
1598simandl"10.254.0.0/16" => "NCX Labyrint");
1601simandl 
1618simandl// 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 
1649simandlfunction arfsort( $a, $y ){
1658simandl $GLOBALS['__ARFSORT_YES__'] = $y;
1661simandl usort( $a, 'arfsort_func' );
167 return $a;
168}
169 
170function arfsort_func( $a, $b ){
1718simandl global $trans_cz;
1729simandl $order[0][0] = "TYP";
173 $order[1][0] = "NAZEV";
174 foreach($order as $f) {
1758simandl 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 }
1791simandl $strc = strcmp( strtolower($a[$f[0]]), strtolower($b[$f[0]]) );
1808simandl if ( $strc != 0 ) {
1811simandl return $strc;
182 }
183 }
1849simandl return 0;
1851simandl}
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"; }
1938simandl 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";
1941simandl }
195}
196 
197function show_big($test) {
198 foreach ($test as $key=>$row) {
199 
2005simandl if(@$row['OBLAST']=="") { $row['OBLAST']="10.0.0.0/8"; }
2011simandl $ikonka = $row['TYP'];
202 if(!file_exists("ikony/".$ikonka.".png")) { $ikonka = "none"; }
203 
2048simandl 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";
2051simandl }
206}
207 
208function show_groups($test) {
2099simandl $pamatuj = "";
2108simandl foreach ($test as $key=>$row) {
2111simandl 
2125simandl if ($row['TYP']==@$pamatuj) {
2131simandl 
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 
2188simandl 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";
2191simandl } else {
2208simandl echo "<div class=\"sizer\"></div><a name=\"".$row['TYP']."\" href=\"#".$row['TYP']."\" class=\"title\">".$row['TYP']."</a>\n";
2211simandl if($row['OBLAST']=="") { $row['OBLAST']="10.0.0.0/8"; }
222 $ikonka = $row['TYP'];
223 if(!file_exists("ikony/".$ikonka.".png")) { $ikonka = "none"; }
224 
2258simandl 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";
2261simandl }
227 $pamatuj = $row['TYP'];
228 }
229}
230 
2318simandlfunction show_clouds($test) {
232 global $jmena_cloudu;
2331simandl foreach ($test as $key=>$row) {
2348simandl if($row!="") {
235 $cl_popis = $jmena_cloudu[$row];
236 $cl_naz = $row;
237 $cl_nazev = $row."<br>".$cl_popis;
2381simandl 
2398simandl 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 }
2411simandl }
242}
243 
2448simandlfunction 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}
2571simandl 
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));
2739simandl// $dat = file_get_contents($file);
2741simandl $data = explode("\n", $dat);
275 $soucet = count($data);
276 
277 for ($j=0; $j<=$soucet; $j++) {
2785simandl if (((@$data[$j]!="") and (@$data[$j]!=" ")) and (@$data[$j][0]!=(chr(13)))) {
2791simandl if (strtoupper(substr("$data[$j]", 0, 4))=="TYP:") { $polozka++; }
2805simandl $item[$polozka]=@$item[$polozka].@$data[$j]."<br>";
2811simandl }
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 
2858simandl $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");
2861simandl $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]);
2948simandl $cnt_ic = (count($ic));
295 for ($b=0; $b<=$cnt_ic; $b++) {
296 if($b==$cnt_ic) {
2971simandl $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")) {
3028simandl $items[$k][(strtoupper(substr($ic[$b], 0, $pole)))]="<a href=\"".(substr($ic[$b], $pole+1))."\">".(substr($ic[$b], $pole+1))."</a>";
3031simandl } 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 }
3225simandl if (!eregi($cloud, @$cloudy)) {
323 $cloudy=@$cloudy.$cloud.";";
3241simandl }
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++) {
3325simandl if ((intval(substr($oblast[$m], 3, 3)))<(intval(substr(@$oblast[$m-1], 3, 3)))) {
3331simandl $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) {
3455simandl if(@$row['OBLAST']=="") { $row['OBLAST']="10.0.0.0/8"; }
3461simandl if($row['OBLAST']==$oblast[$o]) {
347 $obl[$oblast[$o]][]=$row;
3489simandl }
3491simandl }
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;");
3568simandl $jmena_cloudu["$oblast[$o]"]=strtr(@$jmena_cloudu["$oblast[$o]"], $trans_code);
3571simandl}
358 
359// ------- vypis ve sloupecku vlevo -------
360 
361for ($o=0; $o<=$pocet_oblasti; $o++) {
3628simandlecho "<a class=\"title\" name=\"".$oblast[$o]."\" href=\"?oblast=".$oblast[$o]."#".$oblast[$o]."\"><span class=\"cloudip\">".$oblast[$o]."</span>\n";
3631simandl if(strlen($jmena_cloudu[$oblast[$o]])>=1) {
364 echo "<br>".$jmena_cloudu[$oblast[$o]]."</a>";
365 } else {
366 echo "</a>";
367 }
368 
3699simandl$sorted["$oblast[$o]"] = arfsort( $obl["$oblast[$o]"], 0);
3708simandlshow_small($sorted["$oblast[$o]"]);
3711simandl 
372}
373 
374?>
375 
376</div>
377<div class="items">
378 
379<?php
380 
381//############# PODMINKY ZOBRAZENI ###############//
382 
3838simandlif((@$_GET["group"]!="1") and (@$_GET["group"]!="2")) { $_GET["group"] = ""; }
3841simandl 
3858simandl 
3861simandl// ------- pokud neni uvedena oblast ani id ani groupa -------
387 
3888simandlif (((@$_GET["oblast"]=="") and (@$_GET["id"]=="")) and (@$_GET["group"]=="")) {
3899simandl $sorted0 = arfsort( $items, 1);
3908simandl show_big($sorted0);
3911simandl 
3928simandl echo "<div class=\"sizer\"></div></div>";
3931simandl}
394 
395// ------- pokud neni uvedena oblast ani id ale groupa ano -------
396 
3978simandlif (((@$_GET["oblast"]=="") and (@$_GET["id"]=="")) and (@$_GET["group"]=="1")) {
3989simandl $sorted0 = arfsort( $items, 1);
3998simandl show_groups($sorted0);
4001simandl 
4018simandl echo "<div class=\"sizer\"></div></div>";
402}
4031simandl 
4048simandl// ------- 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>";
4111simandl}
412 
413 
414// ------- pokud je uvedena oblast i id sluzby ale groupa ne -------
415 
4168simandlif (((@$_GET["oblast"]!="") and (@$_GET["id"]!="")) and (@$_GET["group"]=="")) {
4171simandl 
4188simandl 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";
4231simandl if ($_GET["id"]<=$polozka) {
424 
425 show_details($items[$_GET["id"]]);
426 
427 } else {
4288simandl echo "<br>Polo&#382;ka neexistuje<br>";
4291simandl }
4308simandl echo "</div></div>\n";
4311simandl 
432}
433 
434// ------- pokud je uvedena oblast i id sluzby i groupa -------
435 
4368simandlif (((@$_GET["oblast"]!="") and (@$_GET["id"]!="")) and (@$_GET["group"]=="1")) {
4371simandl 
4388simandl 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";
4431simandl if ($_GET["id"]<=$polozka) {
444 
445 show_details($items[$_GET["id"]]);
446 
447 } else {
4488simandl echo "<br>Polo&#382;ka neexistuje<br>";
4491simandl }
4508simandl echo "</div></div>\n";
4511simandl 
452}
453 
454 
455// ------- pokud neni uvedena oblast ale id a groupa ne -------
456 
4578simandlif (((@$_GET["oblast"]=="") and (@$_GET["id"]!="")) and (@$_GET["group"]=="")) {
4581simandlif ($_GET["id"]<=$polozka) {
4598simandl 
4601simandl if(($items[$_GET["id"]]["OBLAST"])=="") {
4618simandl $sorted4 = $sorted["10.0.0.0/8"];
4621simandl } else {
4638simandl $sorted4 = $sorted[$items[$_GET["id"]]['OBLAST']];
4641simandl }
465 
466 show_big($sorted4);
467 
468} else {
469 
4709simandl $sorted0 = arfsort( $items, 1);
4718simandl show_big($sorted0);
4721simandl 
473}
474 
475 
4768simandl 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";
4791simandl if ($_GET["id"]<=$polozka) {
480 
481 show_details($items[$_GET["id"]]);
482 
483 } else {
4848simandl echo "<br>Polo&#382;ka neexistuje<br>";
4851simandl }
4868simandl echo "</div></div>\n";
4871simandl 
488}
489 
490// ------- pokud neni uvedena oblast ale id a groupa ano -------
491 
4928simandlif (((@$_GET["oblast"]=="") and (@$_GET["id"]!="")) and (@$_GET["group"]=="1")) {
4931simandlif ($_GET["id"]<=$polozka) {
4948simandl 
4951simandl if(($items[$_GET["id"]]["OBLAST"])=="") {
4968simandl $sorted4 = $sorted["10.0.0.0/8"];
4971simandl } else {
4988simandl $sorted4 = $sorted[$items[$_GET["id"]]['OBLAST']];
4991simandl }
500 
501 show_groups($sorted4);
502 
503} else {
504 
5059simandl $sorted0 = arfsort( $items, 1);
5068simandl show_groups($sorted0);
5071simandl 
508}
509 
510 
5118simandl 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";
5141simandl if ($_GET["id"]<=$polozka) {
515 
516 show_details($items[$_GET["id"]]);
517 
518 } else {
5198simandl echo "<br>Polo&#382;ka neexistuje<br>";
5201simandl }
5218simandl echo "</div></div>\n";
5221simandl 
523}
524 
525// ------- pokud je uvedena oblast ale ne id ani groupa -------
526 
5278simandlif (((@$_GET["oblast"]!="") and (@$_GET["id"]=="")) and (@$_GET["group"]=="")){
5281simandl 
5298simandl show_big($sorted[$_GET["oblast"]]);
5301simandl 
5318simandl echo "<div class=\"sizer\"></div></div>\n";
5321simandl 
533}
534 
535// ------- pokud je uvedena oblast a groupa ale ne id -------
536 
5378simandlif (((@$_GET["oblast"]!="") and (@$_GET["id"]=="")) and (@$_GET["group"]=="1")){
5381simandl 
5398simandl show_groups($sorted[$_GET["oblast"]]);
5401simandl 
5418simandl echo "<div class=\"sizer\"></div></div>\n";
5421simandl 
543}
544 
545 
546} // end
547 
548?>
549 
5508simandl<div id="copy">czf4bfu v1.3 - made <a href="http://www.jklir.net">Unreal][</a>&nbsp;</div>
5511simandl</body>
552</html>

Powered by WebSVN 2.2.1