jablonka.czprosek.czf

czf4bfu.prosek.czf

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

 

Line No. Rev Author Line
11simandl<?php
2if ($dir = @opendir(".")) {
3echo("<!--CZF4BFU ");
4 while (($file = readdir($dir)) !== false)
58simandl if (preg_match('/^(global|local)-.*.txt/',$file))
6 echo $file." ";
71simandlecho("-->");
8closedir($dir);
9}
10?>
118simandl 
121simandl<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
13<html>
14 <head>
15<!--
16 
17#####################################################
18# # #
19# This script built Unreal][ # http://www.jklir.net #
20# # #
21#####################################################
22# #
23# Licence: GNU/GPL #
248simandl# Some Icons was downloaded from the internet and #
25# have copyrights. Please use it with GNU/GPL #
26# licence and in non-comercial projects. #
271simandl# #
28#####################################################
29# #
308simandl# v 1.3 (c) Jirka Klír 2008 for CZFree.net ;-) #
311simandl# #
32#####################################################
33 
34-->
35 <title>CZF4BFU</title>
36 <meta http-equiv="Content-Type" content="text/html; charset=windows-1250" />
37 <meta http-equiv="Content-language" content="cz" />
388simandl <meta name="author" content="Unreal][, http://www.jklir.net">
391simandl <link href="styl.css" rel="stylesheet" type="text/css">
40 </head>
41<body style="background: #D4D0C8">
42 
43<H1>Rozcestn&#237;k CZFree.Net</H1>
448simandl 
451simandl<?php
468simandl$group = @$_GET["group"];
47if($group!=2) {
48 if(@$_GET["oblast"]!="") { $aname = "#".$_GET["oblast"]; } else { $aname = ""; }
49 $group = !$group;
50 $text = ($group) ? "seskupit" : "neseskupovat";
51 echo "<a class=\"group\" href=\"?group=".$group."&id=".@$_GET["id"]."&oblast=".@$_GET["oblast"].$aname."\">$text podle typu slu&#382;eb</a>";
52} else {
53 echo "<a class=\"group\" href=\"#\">&nbsp;</a>";
54}
55?>
561simandl 
57<div class="tree">
58 <a class="nomargin title" href="?oblast="><strong>CZFree.net</strong><br>cel&#225; s&#237;&#357;</a>
598simandl <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>
60 <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>
611simandl 
628simandl 
631simandl<?php
64$jmena_cloudu = array("10.1.0.0/16" => "Connection.cz / AS Centrum network",
65"10.2.0.0/16" => "Praha - Connection.cz",
66"10.10.0.0/16" => "reserved",
67"10.11.0.0/16" => "Praha - Střešovice, Břevnov, Hradčany, Strahov",
68"10.12.0.0/16" => "Praha - Nusle, Michle, Ruská ul.",
69"10.13.0.0/16" => "Praha - Stodůlky, Nové Butovice, Luka, Lužiny, Řeporyje",
70"10.15.0.0/16" => "Praha - Malvazinky, Košíře, Motol",
71"10.16.0.0/16" => "Praha - Barrandov",
72"10.17.0.0/16" => "Praha - Záběhlice, Zahradní město",
73"10.18.0.0/16" => "Praha - Dejvice, Podbaba",
748simandl"10.19.0.0/16" => "Praha - Suchdol, Lysolaje, Hanspaulka, Horoměřice",
75"10.20.0.0/16" => "Praha - P6 - Dědina, Liboc, Ruzyně",
761simandl"10.21.0.0/16" => "Praha - Řepy, Zličín",
77"10.22.0.0/16" => "Praha - Holešovice",
788simandl"10.23.0.0/16" => "Praha - Vinohrady, Vršovice, Žižkov",
791simandl"10.24.0.0/16" => "Praha - Jarov, Strašnice, Malešice, Skalka",
80"10.25.0.0/16" => "Praha - Hlubočepy, Podolí, Braník",
818simandl"10.26.0.0/16" => "Praha - Lipence, Zbraslav, Radotín",
821simandl"10.27.0.0/16" => "Praha - Modřany, Velká Chuchle, Hodkovičky",
838simandl"10.28.0.0/16" => "Praha - VYPAL (VYsočany, PAlmovka, Libeň)",
841simandl"10.30.0.0/16" => "Praha - Hostivař, Horní Měcholupy, Dolní Měcholupy, Běchovice",
85"10.31.0.0/16" => "Praha - Bohnice, Čimice",
86"10.32.0.0/16" => "Praha - Dolní Chabry, Ďáblice, Kobylisy, Vychovatelna",
87"10.33.0.0/16" => "Praha - Prosek, Letňany, Čakovice",
88"10.34.0.0/16" => "Praha - Letná, Štrossmajerák",
89"10.37.0.0/16" => "Praha - Radotín",
90"10.38.0.0/16" => "Praha - Chodov, Opatov, Háje, Kateřinky",
91"10.39.0.0/16" => "Praha - Šibřina, Újezd nad Lesy, Koloděje, Květnice",
92"10.40.0.0/16" => "Praha - Krč, sidl.Novodvorská, Kačerov, Spořilov, Roztyly",
93"10.41.0.0/16" => "HMNet - Horní Měcholupy",
94"10.43.0.0/16" => "Řepná pole, Vinoř",
958simandl"10.44.0.0/16" => "Praha - Podolí",
96"10.48.0.0/16" => "Praha 2, 4, 10",
97"10.49.0.0/16" => "Praha 1, 3",
981simandl"10.50.0.0/16" => "Praha - Centrum Prahy",
99"10.51.0.0/16" => "Praha - Petřiny",
1008simandl"10.52.0.0/16" => "Praha - Vršovice",
1011simandl"10.55.0.0/16" => "Connection.cz",
102"10.63.0.0/17" => "Rakovník a okolí",
1038simandl"10.66.0.0/16" => "Hostivice, Chýně, Ptice, Červený Újezd, Sobín",
104"10.67.0.0/16" => "Rudná u Prahy, Ptice, Úhonice, Drahelčice",
1051simandl"10.69.0.0/17" => "Mělník a okolí",
106"10.69.128.0/17" => "Neratovice a okolí",
1078simandl"10.70.0.0/16" => "Beroun a okolí",
108"10.76.0.0/16" => "Plzeň - PilsFree 1",
109"10.78.0.0/16" => "Plzeň - PilsFree 2",
110"10.88.0.0/16" => "Říčany a okolí",
111"10.89.0.0/16" => "Mnichovice",
112"10.91.0.0/19" => "Velké Přílepy",
113"10.92.0.0/19" => "Libčice nad Vltavou",
1141simandl"10.93.0.0/16" => "Čelákovice",
1158simandl"10.94.0.0/17" => "Mladá Boleslav a okolí",
116"10.95.0.0/17" => "Řevnice, Dobřichovice",
117"10.96.0.0/16" => "Všenory, Karlík, Dobřichovice, Lety, Řevnice, Třebáň",
118"10.98.0.0/16" => "Unhoš, Chýně, Červený Újezd, Ptice, Nouzov, Kysice, Braškov, Horní Bezděkov a další",
119"10.99.0.0/18" => "Třebestovice",
1201simandl"10.100.0.0/16" => "Říčany",
121"10.101.0.0/16" => "Liberec",
122"10.102.0.0/16" => "Kladno, Unhoš a okolí",
123"10.103.0.0/16" => "Karlovy Vary",
1248simandl"10.104.0.0/17" => "Jablonec",
125"10.105.0.0/17" => "Kolín",
1261simandl"10.106.0.0/16" => "Kutná Hora - okres",
127"10.107.0.0/16" => "Hradec Králové",
128"10.108.0.0/16" => "České Budějovice",
129"10.109.0.0/16" => "Plzeň",
1308simandl"10.110.0.0/17" => "Chrudim",
1311simandl"10.111.0.0/16" => "Plzeň - sever",
132"10.112.0.0/16" => "Lysá nad Labem",
1338simandl"10.113.0.0/16" => "Louny, Žatec, Pobořany",
1341simandl"10.114.0.0/16" => "Příbram",
1358simandl"10.117.0.0/16" => "Turnov a okolí",
136"10.120.0.0/18" => "MH2Net - Mnichovo Hradiště směr Turnov",
137"10.128.0.0/15" => "Brno - město",
1381simandl"10.128.0.0/16" => "Brno - město",
139"10.129.0.0/16" => "okolí Brna",
140"10.129.24.0/21" => "Tišnov",
141"10.130.0.0/16" => "Severní Morava",
1428simandl"10.131.0.0/16" => "Uherské Hradiště",
143"10.132.0.0/16" => "Střední Morava - Olomouc",
1441simandl"10.133.0.0/16" => "Prostějov",
1458simandl"10.134.0.0/16" => "Přerovsko",
1461simandl"10.135.0.0/16" => "rezerva pro Moravu",
147"10.136.0.0/16" => "testovací sítě pro Moravu",
148"10.144.0.0/16" => "Zlín, Vsetín, Valašské Meziříčí - okresy",
1498simandl"10.145.0.0/16" => "Nový Jičín, Kopřivnice, Frýdek Místek - okresy",
1501simandl"10.152.0.0/16" => "Ostrava - okres",
151"10.153.0.0/16" => "Ostrava - okres",
152"10.154.0.0/16" => "Ostrava - okres",
153"10.155.0.0/16" => "Ostrava - okres",
1548simandl"10.161.0.0/16" => "Evkanet - Ostrava",
1551simandl"10.253.0.0/16" => "NCX - Zápy",
1568simandl"10.254.0.0/16" => "NCX Labyrint");
1571simandl 
1588simandl// prasarna, ale dokaze to radit cesky retezce :-)
159$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");
160 
161function arfsort( $a, $fl, $y ){
1621simandl $GLOBALS['__ARFSORT_LIST__'] = $fl;
1638simandl $GLOBALS['__ARFSORT_YES__'] = $y;
1641simandl usort( $a, 'arfsort_func' );
165 return $a;
166}
167 
168function arfsort_func( $a, $b ){
1698simandl global $trans_cz;
1701simandl foreach( $GLOBALS['__ARFSORT_LIST__'] as $f ) {
1718simandl if($GLOBALS['__ARFSORT_YES__']=="1") {
172 $a[$f[0]]=strtr($a[$f[0]], $trans_cz);
173 $b[$f[0]]=strtr($b[$f[0]], $trans_cz);
174 }
1751simandl $strc = strcmp( strtolower($a[$f[0]]), strtolower($b[$f[0]]) );
1768simandl if ( $strc != 0 ) {
1771simandl return $strc;
1788simandl } else {
179 return 0;
1801simandl }
181 }
182}
183 
184function show_small($test) {
185 foreach ($test as $key=>$row) {
186 
187 if($row['OBLAST']=="") { $row['OBLAST']="10.0.0.0/8"; }
188 $ikonka = $row['TYP'];
189 if(!file_exists("ikony/".$ikonka.".png")) { $ikonka = "none"; }
1908simandl 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";
1911simandl }
192}
193 
194function show_big($test) {
195 foreach ($test as $key=>$row) {
196 
1975simandl if(@$row['OBLAST']=="") { $row['OBLAST']="10.0.0.0/8"; }
1981simandl $ikonka = $row['TYP'];
199 if(!file_exists("ikony/".$ikonka.".png")) { $ikonka = "none"; }
200 
2018simandl 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";
2021simandl }
203}
204 
205function show_groups($test) {
2068simandl foreach ($test as $key=>$row) {
2071simandl 
2085simandl if ($row['TYP']==@$pamatuj) {
2091simandl 
210 if($row['OBLAST']=="") { $row['OBLAST']="10.0.0.0/8"; }
211 $ikonka = $row['TYP'];
212 if(!file_exists("ikony/".$ikonka.".png")) { $ikonka = "none"; }
213 
2148simandl 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";
2151simandl } else {
2168simandl echo "<div class=\"sizer\"></div><a name=\"".$row['TYP']."\" href=\"#".$row['TYP']."\" class=\"title\">".$row['TYP']."</a>\n";
2171simandl if($row['OBLAST']=="") { $row['OBLAST']="10.0.0.0/8"; }
218 $ikonka = $row['TYP'];
219 if(!file_exists("ikony/".$ikonka.".png")) { $ikonka = "none"; }
220 
2218simandl 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";
2221simandl }
223 $pamatuj = $row['TYP'];
224 }
225}
226 
2278simandlfunction show_clouds($test) {
228 global $jmena_cloudu;
2291simandl foreach ($test as $key=>$row) {
2308simandl if($row!="") {
231 $cl_popis = $jmena_cloudu[$row];
232 $cl_naz = $row;
233 $cl_nazev = $row."<br>".$cl_popis;
2341simandl 
2358simandl 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";
236 }
2371simandl }
238}
239 
2408simandlfunction show_details($test) {
241 $ikonka_det = $test['TYP'];
242 if(!file_exists("ikony/".$ikonka_det.".png")) { $ikonka_det = "none"; }
243 echo "<div class=\"det\">";
244 echo "<div class=\"icon_det\"><img alt=\"$ikonka_det\" src=\"ikony/$ikonka_det.png\"></div>";
245 echo "<div class=\"info_det\">";
246 foreach ($test as $key=>$row) {
247 if($key!="HESLOEDIT") {
248 echo "<strong>".$key."</strong>:&nbsp;".$test[$key]."<br>";
249 }
250 }
251 echo "</div><div class=\"info_cut\"></div></div>";
252}
2531simandl 
254$i=0;
255if ($dir = @opendir(".")) {
256 while (($file = readdir($dir)) !== false)
257 if (preg_match('/^(global|local)-.*.txt/',$file)) {
258 $seznam[$i] = $file;
259 $i++;
260 }
261 
262$pocet_globalu = $i;
263$polozka=-1;
264for ($g=0; $g<$pocet_globalu; $g++) {
265 
266 $file = "./".$seznam[$g]; // $g
267 $fp = Fopen($file, "r");
268 $dat = Fread($fp, filesize($file));
269 $data = explode("\n", $dat);
270 $soucet = count($data);
271 
272 for ($j=0; $j<=$soucet; $j++) {
2735simandl if (((@$data[$j]!="") and (@$data[$j]!=" ")) and (@$data[$j][0]!=(chr(13)))) {
2741simandl if (strtoupper(substr("$data[$j]", 0, 4))=="TYP:") { $polozka++; }
2755simandl $item[$polozka]=@$item[$polozka].@$data[$j]."<br>";
2761simandl }
277 $trans = array(" \\\\<br>" => "", " <br>" => "<br>", (chr(13)) => "", ": " => ":", "OBLAST:<br>" => "OBLAST:10.0.0.0/8<br>", (chr(9)) => "");
278 $item[$polozka]=strtr($item[$polozka], $trans);
279 
2808simandl $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");
2811simandl $item[$polozka]=strtr($item[$polozka], $trans_code);
282 }
283}
284 
285// ------- naladujem data do 3-rozmernyho pole -------
286 
287for ($k=0; $k<=$polozka; $k++) {
288 $ic = explode("<br>", $item[$k]);
2898simandl $cnt_ic = (count($ic));
290 for ($b=0; $b<=$cnt_ic; $b++) {
291 if($b==$cnt_ic) {
2921simandl $items[$k]['ID']=$k;
293 } else {
294 if(($ic[$b])!="") {
295 $pole = strpos($ic[$b], ":");
296 if((((substr($ic[$b], 0, $pole))=="URL") or ((substr($ic[$b], 0, $pole))=="URLIP")) or ((substr($ic[$b], 0, $pole))=="URLINET")) {
2978simandl $items[$k][(strtoupper(substr($ic[$b], 0, $pole)))]="<a href=\"".(substr($ic[$b], $pole+1))."\">".(substr($ic[$b], $pole+1))."</a>";
2981simandl } else {
299 $items[$k][(strtoupper(substr($ic[$b], 0, $pole)))]=(substr($ic[$b], $pole+1));
300 }
301 }
302 }
303 }
304}
305 
306 
3078simandl$order_arr = array( array('TYP','a'), array('NAZEV','a') ); // pravidlo razeni
3081simandl 
309 
310// -- zjisteni a serazeni oblasti
311 
312 
313for ($k=0; $k<=$polozka; $k++) {
314 if ((eregi("OBLAST:", $item[$k])) and (!eregi("OBLAST:<br>", $item[$k]))){
315 $vyskyt = strpos($item[$k], "OBLAST:");
316 $cloud = substr($item[$k], $vyskyt+7, 16);
317 $cloud = substr($cloud, 0, strpos($cloud, "/")+3);
318 if ($cloud[strlen($cloud)-1]=="<") {
319 $cloud = substr($cloud, 0, strpos($cloud, "/")+2);
320 }
3215simandl if (!eregi($cloud, @$cloudy)) {
322 $cloudy=@$cloudy.$cloud.";";
3231simandl }
324 }
325}
326$oblast = explode(";", $cloudy);
327$pocet_oblasti = count($oblast)-2;
328 
329for ($l=0; $l<=$pocet_oblasti; $l++) {
330 for ($m=0; $m<=$pocet_oblasti; $m++) {
3315simandl if ((intval(substr($oblast[$m], 3, 3)))<(intval(substr(@$oblast[$m-1], 3, 3)))) {
3321simandl $x=$oblast[$m];
333 $oblast[$m]=$oblast[$m-1];
334 $oblast[$m-1]=$x;
335 }
336 }
337}
338 
339 
340// ------- zapiseme hodnoty do cloudovskych poli -------
341 
342for ($o=0; $o<=$pocet_oblasti; $o++) {
343foreach ($items as $key=>$row) {
3445simandl if(@$row['OBLAST']=="") { $row['OBLAST']="10.0.0.0/8"; }
3451simandl if($row['OBLAST']==$oblast[$o]) {
346 
347 $obl[$oblast[$o]][]=$row;
348 }
349 }
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 
3698simandl$sorted["$oblast[$o]"] = arfsort( $obl["$oblast[$o]"], $order_arr, 0);
370show_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"]=="")) {
389 $sorted0 = arfsort( $items, $order_arr, 1);
390 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")) {
398 $sorted0 = arfsort( $items, $order_arr, 1);
399 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 
4708simandl $sorted0 = arfsort( $items, $order_arr, 0);
471 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 
5058simandl $sorted0 = arfsort( $items, $order_arr, 0);
506 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