jablonka.czprosek.czf

czf4bfu

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

 

Line No. Rev Author Line
11unreal<?php
2if ($dir = @opendir(".")) {
3echo("<!--CZF4BFU ");
4 while (($file = readdir($dir)) !== false)
5 if (preg_match('/^(global|local)-.*.txt/',$file))
6 echo $file." ";
7echo("-->");
8closedir($dir);
9}
10?>
11 
12<!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 #
24# Some Icons was downloaded from the internet and #
25# have copyrights. Please use it with GNU/GPL #
26# licence and in non-comercial projects. #
27# #
28#####################################################
29# #
30# v 1.3 (c) Jirka Klír 2008 for CZFree.net ;-) #
31# #
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" />
38 <meta name="author" content="Unreal][, http://www.jklir.net">
39 <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>
44 
45<?php
46$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?>
56 
57<div class="tree">
58 <a class="nomargin title" href="?oblast="><strong>CZFree.net</strong><br>cel&#225; s&#237;&#357;</a>
59 <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>
61 
62 
63<?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",
74"10.19.0.0/16" => "Praha - Suchdol, Lysolaje, Hanspaulka, Horoměřice",
75"10.20.0.0/16" => "Praha - P6 - Dědina, Liboc, Ruzyně",
76"10.21.0.0/16" => "Praha - Řepy, Zličín",
77"10.22.0.0/16" => "Praha - Holešovice",
78"10.23.0.0/16" => "Praha - Vinohrady, Vršovice, Žižkov",
79"10.24.0.0/16" => "Praha - Jarov, Strašnice, Malešice, Skalka",
80"10.25.0.0/16" => "Praha - Hlubočepy, Podolí, Braník",
81"10.26.0.0/16" => "Praha - Lipence, Zbraslav, Radotín",
82"10.27.0.0/16" => "Praha - Modřany, Velká Chuchle, Hodkovičky",
83"10.28.0.0/16" => "Praha - VYPAL (VYsočany, PAlmovka, Libeň)",
84"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ř",
95"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",
98"10.50.0.0/16" => "Praha - Centrum Prahy",
99"10.51.0.0/16" => "Praha - Petřiny",
100"10.52.0.0/16" => "Praha - Vršovice",
101"10.55.0.0/16" => "Connection.cz",
102"10.63.0.0/17" => "Rakovník a okolí",
103"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",
105"10.69.0.0/17" => "Mělník a okolí",
106"10.69.128.0/17" => "Neratovice a okolí",
107"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",
114"10.93.0.0/16" => "Čelákovice",
115"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",
120"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",
124"10.104.0.0/17" => "Jablonec",
125"10.105.0.0/17" => "Kolín",
126"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ň",
130"10.110.0.0/17" => "Chrudim",
131"10.111.0.0/16" => "Plzeň - sever",
132"10.112.0.0/16" => "Lysá nad Labem",
133"10.113.0.0/16" => "Louny, Žatec, Pobořany",
134"10.114.0.0/16" => "Příbram",
135"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",
138"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",
142"10.131.0.0/16" => "Uherské Hradiště",
143"10.132.0.0/16" => "Střední Morava - Olomouc",
144"10.133.0.0/16" => "Prostějov",
145"10.134.0.0/16" => "Přerovsko",
146"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",
149"10.145.0.0/16" => "Nový Jičín, Kopřivnice, Frýdek Místek - okresy",
150"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",
154"10.161.0.0/16" => "Evkanet - Ostrava",
155"10.253.0.0/16" => "NCX - Zápy",
156"10.254.0.0/16" => "NCX Labyrint");
157 
158// 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 
1612unrealfunction arfsort( $a, $y ){
1621unreal $GLOBALS['__ARFSORT_YES__'] = $y;
163 usort( $a, 'arfsort_func' );
164 return $a;
165}
166 
167function arfsort_func( $a, $b ){
168 global $trans_cz;
1692unreal $order[0][0] = "TYP";
170 $order[1][0] = "NAZEV";
171 foreach($order as $f) {
1721unreal if($GLOBALS['__ARFSORT_YES__']=="1") {
173 $a[$f[0]]=strtr($a[$f[0]], $trans_cz);
174 $b[$f[0]]=strtr($b[$f[0]], $trans_cz);
175 }
176 $strc = strcmp( strtolower($a[$f[0]]), strtolower($b[$f[0]]) );
177 if ( $strc != 0 ) {
178 return $strc;
179 }
180 }
1812unreal return 0;
1821unreal}
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"; }
190 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";
191 }
192}
193 
194function show_big($test) {
195 foreach ($test as $key=>$row) {
196 
197 if($row['OBLAST']=="") { $row['OBLAST']="10.0.0.0/8"; }
198 $ikonka = $row['TYP'];
199 if(!file_exists("ikony/".$ikonka.".png")) { $ikonka = "none"; }
200 
201 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";
202 }
203}
204 
205function show_groups($test) {
206 foreach ($test as $key=>$row) {
207 
208 if ($row['TYP']==$pamatuj) {
209 
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 
214 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";
215 } else {
216 echo "<div class=\"sizer\"></div><a name=\"".$row['TYP']."\" href=\"#".$row['TYP']."\" class=\"title\">".$row['TYP']."</a>\n";
217 if($row['OBLAST']=="") { $row['OBLAST']="10.0.0.0/8"; }
218 $ikonka = $row['TYP'];
219 if(!file_exists("ikony/".$ikonka.".png")) { $ikonka = "none"; }
220 
221 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";
222 }
223 $pamatuj = $row['TYP'];
224 }
225}
226 
227function show_clouds($test) {
228 global $jmena_cloudu;
229 foreach ($test as $key=>$row) {
230 if($row!="") {
231 $cl_popis = $jmena_cloudu[$row];
232 $cl_naz = $row;
233 $cl_nazev = $row."<br>".$cl_popis;
234 
235 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 }
237 }
238}
239 
240function 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}
253 
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));
2692unreal// $dat = file_get_contents($file);
2701unreal $data = explode("\n", $dat);
271 $soucet = count($data);
272 
273 for ($j=0; $j<=$soucet; $j++) {
274 if ((($data[$j]!="") and ($data[$j]!=" ")) and ($data[$j][0]!=(chr(13)))) {
275 if (strtoupper(substr("$data[$j]", 0, 4))=="TYP:") { $polozka++; }
276 $item[$polozka]=$item[$polozka].$data[$j]."<br>";
277 }
278 $trans = array(" \\\\<br>" => "", " <br>" => "<br>", (chr(13)) => "", ": " => ":", "OBLAST:<br>" => "OBLAST:10.0.0.0/8<br>", (chr(9)) => "");
279 $item[$polozka]=strtr($item[$polozka], $trans);
280 
281 $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");
282 $item[$polozka]=strtr($item[$polozka], $trans_code);
283 }
284}
285 
286// ------- naladujem data do 3-rozmernyho pole -------
287 
288for ($k=0; $k<=$polozka; $k++) {
289 $ic = explode("<br>", $item[$k]);
290 $cnt_ic = (count($ic));
291 for ($b=0; $b<=$cnt_ic; $b++) {
292 if($b==$cnt_ic) {
293 $items[$k]['ID']=$k;
294 } else {
295 if(($ic[$b])!="") {
296 $pole = strpos($ic[$b], ":");
297 if((((substr($ic[$b], 0, $pole))=="URL") or ((substr($ic[$b], 0, $pole))=="URLIP")) or ((substr($ic[$b], 0, $pole))=="URLINET")) {
298 $items[$k][(strtoupper(substr($ic[$b], 0, $pole)))]="<a href=\"".(substr($ic[$b], $pole+1))."\">".(substr($ic[$b], $pole+1))."</a>";
299 } else {
300 $items[$k][(strtoupper(substr($ic[$b], 0, $pole)))]=(substr($ic[$b], $pole+1));
301 }
302 }
303 }
304 }
305}
306 
307// -- zjisteni a serazeni oblasti
308 
309 
310for ($k=0; $k<=$polozka; $k++) {
311 if ((eregi("OBLAST:", $item[$k])) and (!eregi("OBLAST:<br>", $item[$k]))){
312 $vyskyt = strpos($item[$k], "OBLAST:");
313 $cloud = substr($item[$k], $vyskyt+7, 16);
314 $cloud = substr($cloud, 0, strpos($cloud, "/")+3);
315 if ($cloud[strlen($cloud)-1]=="<") {
316 $cloud = substr($cloud, 0, strpos($cloud, "/")+2);
317 }
318 if (!eregi($cloud, $cloudy)) {
319 $cloudy=$cloudy.$cloud.";";
320 }
321 }
322}
323$oblast = explode(";", $cloudy);
324$pocet_oblasti = count($oblast)-2;
325 
326for ($l=0; $l<=$pocet_oblasti; $l++) {
327 for ($m=0; $m<=$pocet_oblasti; $m++) {
328 if ((intval(substr($oblast[$m], 3, 3)))<(intval(substr($oblast[$m-1], 3, 3)))) {
329 $x=$oblast[$m];
330 $oblast[$m]=$oblast[$m-1];
331 $oblast[$m-1]=$x;
332 }
333 }
334}
335 
336 
337// ------- zapiseme hodnoty do cloudovskych poli -------
338 
339for ($o=0; $o<=$pocet_oblasti; $o++) {
340foreach ($items as $key=>$row) {
341 if($row['OBLAST']=="") { $row['OBLAST']="10.0.0.0/8"; }
342 if($row['OBLAST']==$oblast[$o]) {
343 
344 $obl[$oblast[$o]][]=$row;
345 }
346 }
347}
348 
349// ------- prekodujem nazvy cloudu, aby nam nedelaly bordel pri spatnym kodovani -------
350 
351for ($o=0; $o<=$pocet_oblasti; $o++) {
352 $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;");
353 $jmena_cloudu["$oblast[$o]"]=strtr($jmena_cloudu["$oblast[$o]"], $trans_code);
354}
355 
356// ------- vypis ve sloupecku vlevo -------
357 
358for ($o=0; $o<=$pocet_oblasti; $o++) {
359echo "<a class=\"title\" name=\"".$oblast[$o]."\" href=\"?oblast=".$oblast[$o]."#".$oblast[$o]."\"><span class=\"cloudip\">".$oblast[$o]."</span>\n";
360 if(strlen($jmena_cloudu[$oblast[$o]])>=1) {
361 echo "<br>".$jmena_cloudu[$oblast[$o]]."</a>";
362 } else {
363 echo "</a>";
364 }
365 
3662unreal$sorted["$oblast[$o]"] = arfsort( $obl["$oblast[$o]"], 0);
3671unrealshow_small($sorted["$oblast[$o]"]);
368 
369}
370 
371?>
372 
373</div>
374<div class="items">
375 
376<?php
377 
378//############# PODMINKY ZOBRAZENI ###############//
379 
380if(($_GET["group"]!="1") and ($_GET["group"]!="2")) { $_GET["group"] = ""; }
381 
382 
383// ------- pokud neni uvedena oblast ani id ani groupa -------
384 
385if ((($_GET["oblast"]=="") and ($_GET["id"]=="")) and ($_GET["group"]=="")) {
3862unreal $sorted0 = arfsort( $items, 1);
3871unreal show_big($sorted0);
388 
389 echo "<div class=\"sizer\"></div></div>";
390}
391 
392// ------- pokud neni uvedena oblast ani id ale groupa ano -------
393 
394if ((($_GET["oblast"]=="") and ($_GET["id"]=="")) and ($_GET["group"]=="1")) {
3952unreal $sorted0 = arfsort( $items, 1);
3961unreal show_groups($sorted0);
397 
398 echo "<div class=\"sizer\"></div></div>";
399}
400 
401// ------- pokud neni uvedena oblast ani id ale groupa je 2 -------
402 
403if ((($_GET["oblast"]=="") and ($_GET["id"]=="")) and ($_GET["group"]=="2")) {
404 
405 show_clouds($oblast);
406 
407 echo "<div class=\"sizer\"></div></div>";
408}
409 
410 
411// ------- pokud je uvedena oblast i id sluzby ale groupa ne -------
412 
413if ((($_GET["oblast"]!="") and ($_GET["id"]!="")) and ($_GET["group"]=="")) {
414 
415 show_big($sorted[$_GET["oblast"]]);
416 
417 echo "<div class=\"sizer\"></div></div>\n";
418 echo "<div class=\"detail\"><div class=\"nomargin title\"><strong>Detaily:</strong></div>";
419 echo "<div class=\"contents\">\n";
420 if ($_GET["id"]<=$polozka) {
421 
422 show_details($items[$_GET["id"]]);
423 
424 } else {
425 echo "<br>Polo&#382;ka neexistuje<br>";
426 }
427 echo "</div></div>\n";
428 
429}
430 
431// ------- pokud je uvedena oblast i id sluzby i groupa -------
432 
433if ((($_GET["oblast"]!="") and ($_GET["id"]!="")) and ($_GET["group"]=="1")) {
434 
435 show_groups($sorted[$_GET["oblast"]]);
436 
437 echo "<div class=\"sizer\"></div></div>\n";
438 echo "<div class=\"detail\"><div class=\"nomargin title\"><strong>Detaily:</strong></div>";
439 echo "<div class=\"contents\">\n";
440 if ($_GET["id"]<=$polozka) {
441 
442 show_details($items[$_GET["id"]]);
443 
444 } else {
445 echo "<br>Polo&#382;ka neexistuje<br>";
446 }
447 echo "</div></div>\n";
448 
449}
450 
451 
452// ------- pokud neni uvedena oblast ale id a groupa ne -------
453 
454if ((($_GET["oblast"]=="") and ($_GET["id"]!="")) and ($_GET["group"]=="")) {
455if ($_GET["id"]<=$polozka) {
456 
457 if(($items[$_GET["id"]]["OBLAST"])=="") {
458 $sorted4 = $sorted["10.0.0.0/8"];
459 } else {
460 $sorted4 = $sorted[$items[$_GET["id"]]['OBLAST']];
461 }
462 
463 show_big($sorted4);
464 
465} else {
466 
4672unreal $sorted0 = arfsort( $items, 1);
4681unreal show_big($sorted0);
469 
470}
471 
472 
473 echo "<div class=\"sizer\"></div></div>\n";
474 echo "<div class=\"detail\"><div class=\"nomargin title\"><strong>Detaily:</strong></div>";
475 echo "<div class=\"contents\">\n";
476 if ($_GET["id"]<=$polozka) {
477 
478 show_details($items[$_GET["id"]]);
479 
480 } else {
481 echo "<br>Polo&#382;ka neexistuje<br>";
482 }
483 echo "</div></div>\n";
484 
485}
486 
487// ------- pokud neni uvedena oblast ale id a groupa ano -------
488 
489if ((($_GET["oblast"]=="") and ($_GET["id"]!="")) and ($_GET["group"]=="1")) {
490if ($_GET["id"]<=$polozka) {
491 
492 if(($items[$_GET["id"]]["OBLAST"])=="") {
493 $sorted4 = $sorted["10.0.0.0/8"];
494 } else {
495 $sorted4 = $sorted[$items[$_GET["id"]]['OBLAST']];
496 }
497 
498 show_groups($sorted4);
499 
500} else {
501 
5022unreal $sorted0 = arfsort( $items, 1);
5031unreal show_groups($sorted0);
504 
505}
506 
507 
508 echo "<div class=\"sizer\"></div></div>\n";
509 echo "<div class=\"detail\"><div class=\"nomargin title\"><strong>Detaily:</strong></div>";
510 echo "<div class=\"contents\">\n";
511 if ($_GET["id"]<=$polozka) {
512 
513 show_details($items[$_GET["id"]]);
514 
515 } else {
516 echo "<br>Polo&#382;ka neexistuje<br>";
517 }
518 echo "</div></div>\n";
519 
520}
521 
522// ------- pokud je uvedena oblast ale ne id ani groupa -------
523 
524if ((($_GET["oblast"]!="") and ($_GET["id"]=="")) and ($_GET["group"]=="")){
525 
526 show_big($sorted[$_GET["oblast"]]);
527 
528 echo "<div class=\"sizer\"></div></div>\n";
529 
530}
531 
532// ------- pokud je uvedena oblast a groupa ale ne id -------
533 
534if ((($_GET["oblast"]!="") and ($_GET["id"]=="")) and ($_GET["group"]=="1")){
535 
536 show_groups($sorted[$_GET["oblast"]]);
537 
538 echo "<div class=\"sizer\"></div></div>\n";
539 
540}
541 
542 
543} // end
544 
545?>
546 
547<div id="copy">czf4bfu v1.3 - made <a href="http://www.jklir.net">Unreal][</a>&nbsp;</div>
548</body>
549</html>

Powered by WebSVN 2.2.1