jablonka.czprosek.czf

czf4bfu

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

 

Line No. Rev Author Line
11unreal<?php
25unrealerror_reporting(0);
33unreal// Nastavime, aby se nam zbytecne nelogovaly chyby
44unrealini_set('log_errors',false);
53unreal 
65unreal$i=0;
7echo "<!--CZF4BFU ";
87unrealif ($dir = opendir(".")) {
91unreal while (($file = readdir($dir)) !== false)
105unreal if (preg_match('/^(global|local)-.*.txt/',$file)) {
11 echo $file." ";
12 $seznam[$i] = $file;
13 ++$i;
14 }
151unreal}
165unrealecho "-->\n";
171unreal?>
18 
19<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
20<html>
215unreal<head>
22 <!-- Unreal][ # http://www.jklir.net # Licence: GNU/GPL # v 1.3 (c) Jirka Klír 2008 for CZFree.net ;-) # -->
23 <title>CZF4BFU</title>
24 <meta http-equiv="Content-Type" content="text/html; charset=windows-1250" />
25 <meta http-equiv="Content-language" content="cz" />
26 <meta name="author" content="Unreal][, http://www.jklir.net">
27 <link href="styl.css" rel="stylesheet" type="text/css">
28</head>
291unreal<body style="background: #D4D0C8">
30 
315unreal<h1>Rozcestn&#237;k CZFree.Net</h1>
321unreal 
33<?php
34$group = $_GET["group"];
355unreal$czf_group = $_GET["group"];
36$czf_oblast = $_GET["oblast"];
37$czf_id = $_GET["id"];
38 
391unrealif($group!=2) {
405unreal if($czf_oblast!="") { $aname = "#".$czf_oblast; } else { $aname = ""; }
411unreal $group = !$group;
425unreal $text = (!empty($group)) ? "seskupit" : "neseskupovat";
43 echo "<a class=\"group\" href=\"?group=".$group."&amp;id=".$czf_id."&amp;oblast=".$czf_oblast.$aname."\">$text podle typu slu&#382;eb</a>";
441unreal} else {
45 echo "<a class=\"group\" href=\"#\">&nbsp;</a>";
46}
47?>
48 
49<div class="tree">
50 <a class="nomargin title" href="?oblast="><strong>CZFree.net</strong><br>cel&#225; s&#237;&#357;</a>
51 <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>
52 <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>
53 
54 
55<?php
56$jmena_cloudu = array("10.1.0.0/16" => "Connection.cz / AS Centrum network",
57"10.2.0.0/16" => "Praha - Connection.cz",
58"10.10.0.0/16" => "reserved",
59"10.11.0.0/16" => "Praha - Střešovice, Břevnov, Hradčany, Strahov",
60"10.12.0.0/16" => "Praha - Nusle, Michle, Ruská ul.",
61"10.13.0.0/16" => "Praha - Stodůlky, Nové Butovice, Luka, Lužiny, Řeporyje",
62"10.15.0.0/16" => "Praha - Malvazinky, Košíře, Motol",
63"10.16.0.0/16" => "Praha - Barrandov",
64"10.17.0.0/16" => "Praha - Záběhlice, Zahradní město",
65"10.18.0.0/16" => "Praha - Dejvice, Podbaba",
66"10.19.0.0/16" => "Praha - Suchdol, Lysolaje, Hanspaulka, Horoměřice",
67"10.20.0.0/16" => "Praha - P6 - Dědina, Liboc, Ruzyně",
68"10.21.0.0/16" => "Praha - Řepy, Zličín",
69"10.22.0.0/16" => "Praha - Holešovice",
70"10.23.0.0/16" => "Praha - Vinohrady, Vršovice, Žižkov",
71"10.24.0.0/16" => "Praha - Jarov, Strašnice, Malešice, Skalka",
72"10.25.0.0/16" => "Praha - Hlubočepy, Podolí, Braník",
73"10.26.0.0/16" => "Praha - Lipence, Zbraslav, Radotín",
74"10.27.0.0/16" => "Praha - Modřany, Velká Chuchle, Hodkovičky",
75"10.28.0.0/16" => "Praha - VYPAL (VYsočany, PAlmovka, Libeň)",
76"10.30.0.0/16" => "Praha - Hostivař, Horní Měcholupy, Dolní Měcholupy, Běchovice",
77"10.31.0.0/16" => "Praha - Bohnice, Čimice",
78"10.32.0.0/16" => "Praha - Dolní Chabry, Ďáblice, Kobylisy, Vychovatelna",
79"10.33.0.0/16" => "Praha - Prosek, Letňany, Čakovice",
80"10.34.0.0/16" => "Praha - Letná, Štrossmajerák",
81"10.37.0.0/16" => "Praha - Radotín",
82"10.38.0.0/16" => "Praha - Chodov, Opatov, Háje, Kateřinky",
83"10.39.0.0/16" => "Praha - Šibřina, Újezd nad Lesy, Koloděje, Květnice",
84"10.40.0.0/16" => "Praha - Krč, sidl.Novodvorská, Kačerov, Spořilov, Roztyly",
85"10.41.0.0/16" => "HMNet - Horní Měcholupy",
86"10.43.0.0/16" => "Řepná pole, Vinoř",
87"10.44.0.0/16" => "Praha - Podolí",
88"10.48.0.0/16" => "Praha 2, 4, 10",
89"10.49.0.0/16" => "Praha 1, 3",
90"10.50.0.0/16" => "Praha - Centrum Prahy",
91"10.51.0.0/16" => "Praha - Petřiny",
92"10.52.0.0/16" => "Praha - Vršovice",
93"10.55.0.0/16" => "Connection.cz",
94"10.63.0.0/17" => "Rakovník a okolí",
95"10.66.0.0/16" => "Hostivice, Chýně, Ptice, Červený Újezd, Sobín",
96"10.67.0.0/16" => "Rudná u Prahy, Ptice, Úhonice, Drahelčice",
97"10.69.0.0/17" => "Mělník a okolí",
98"10.69.128.0/17" => "Neratovice a okolí",
99"10.70.0.0/16" => "Beroun a okolí",
100"10.76.0.0/16" => "Plzeň - PilsFree 1",
101"10.78.0.0/16" => "Plzeň - PilsFree 2",
102"10.88.0.0/16" => "Říčany a okolí",
103"10.89.0.0/16" => "Mnichovice",
104"10.91.0.0/19" => "Velké Přílepy",
105"10.92.0.0/19" => "Libčice nad Vltavou",
106"10.93.0.0/16" => "Čelákovice",
107"10.94.0.0/17" => "Mladá Boleslav a okolí",
108"10.95.0.0/17" => "Řevnice, Dobřichovice",
109"10.96.0.0/16" => "Všenory, Karlík, Dobřichovice, Lety, Řevnice, Třebáň",
110"10.98.0.0/16" => "Unhoš, Chýně, Červený Újezd, Ptice, Nouzov, Kysice, Braškov, Horní Bezděkov a další",
111"10.99.0.0/18" => "Třebestovice",
112"10.100.0.0/16" => "Říčany",
113"10.101.0.0/16" => "Liberec",
114"10.102.0.0/16" => "Kladno, Unhoš a okolí",
115"10.103.0.0/16" => "Karlovy Vary",
116"10.104.0.0/17" => "Jablonec",
117"10.105.0.0/17" => "Kolín",
118"10.106.0.0/16" => "Kutná Hora - okres",
119"10.107.0.0/16" => "Hradec Králové",
120"10.108.0.0/16" => "České Budějovice",
121"10.109.0.0/16" => "Plzeň",
122"10.110.0.0/17" => "Chrudim",
123"10.111.0.0/16" => "Plzeň - sever",
124"10.112.0.0/16" => "Lysá nad Labem",
125"10.113.0.0/16" => "Louny, Žatec, Pobořany",
126"10.114.0.0/16" => "Příbram",
127"10.117.0.0/16" => "Turnov a okolí",
128"10.120.0.0/18" => "MH2Net - Mnichovo Hradiště směr Turnov",
129"10.128.0.0/15" => "Brno - město",
130"10.128.0.0/16" => "Brno - město",
131"10.129.0.0/16" => "okolí Brna",
132"10.129.24.0/21" => "Tišnov",
133"10.130.0.0/16" => "Severní Morava",
134"10.131.0.0/16" => "Uherské Hradiště",
135"10.132.0.0/16" => "Střední Morava - Olomouc",
136"10.133.0.0/16" => "Prostějov",
137"10.134.0.0/16" => "Přerovsko",
138"10.135.0.0/16" => "rezerva pro Moravu",
139"10.136.0.0/16" => "testovací sítě pro Moravu",
140"10.144.0.0/16" => "Zlín, Vsetín, Valašské Meziříčí - okresy",
141"10.145.0.0/16" => "Nový Jičín, Kopřivnice, Frýdek Místek - okresy",
142"10.152.0.0/16" => "Ostrava - okres",
143"10.153.0.0/16" => "Ostrava - okres",
144"10.154.0.0/16" => "Ostrava - okres",
145"10.155.0.0/16" => "Ostrava - okres",
146"10.161.0.0/16" => "Evkanet - Ostrava",
147"10.253.0.0/16" => "NCX - Zápy",
148"10.254.0.0/16" => "NCX Labyrint");
149 
1504unreal$sort_cz = 0;
1511unreal 
1524unrealfunction arfsort( $a, $yes ) {
153 global $sort_cz;
154 $sort_cz = $yes;
1551unreal usort( $a, 'arfsort_func' );
156 return $a;
157}
158 
159function arfsort_func( $a, $b ){
1609unreal global $sort_cz;
161 $order[0][0] = "TYP";
162 $order[1][0] = "NAZEV";
1632unreal foreach($order as $f) {
1644unreal if($sort_cz=="1") {
1655unreal $a[$f[0]]=strtr($a[$f[0]], array("&#193;" => "azzz", "&#201;" => "ezzz", "&#205;" => "izzz", "&#211;" => "ozzz", "&#218;" => "uzzz", "&#221;" => "yzzz", "&#381;" => "zzzz", "&#352;" => "szzz", "&#268;" => "czzz", "&#344;" => "rzzz"));
166 $b[$f[0]]=strtr($b[$f[0]], array("&#193;" => "azzz", "&#201;" => "ezzz", "&#205;" => "izzz", "&#211;" => "ozzz", "&#218;" => "uzzz", "&#221;" => "yzzz", "&#381;" => "zzzz", "&#352;" => "szzz", "&#268;" => "czzz", "&#344;" => "rzzz"));
1671unreal }
1685unreal $strc = strcasecmp( $a[$f[0]], $b[$f[0]] );
169 if ( $strc != 0 ) {
170 return $strc;
171 }
1721unreal }
1732unreal return 0;
1741unreal}
175 
1765unrealfunction natsort_func( $a, $b ){
177 $strc = strnatcmp( $a,$b );
178 if ( $strc != 0 ) {
179 return $strc;
180 }
181 return 0;
182}
183 
1841unrealfunction show_small($test) {
185 foreach ($test as $key=>$row) {
1867unreal $oblastx = $row["OBLAST"];
1875unreal $typ = $row["TYP"];
188 $nazev = $row["NAZEV"];
189 $id = $row["ID"];
190 $ikonka = $typ;
1911unreal if(!file_exists("ikony/".$ikonka.".png")) { $ikonka = "none"; }
1927unreal echo "<div class=\"smallicon\"><a title=\"$nazev\" href=\"?id=$id&amp;oblast=$oblastx#$oblastx\"><img width=\"16\" title=\"$nazev\" border=\"0\" src=\"ikony/$ikonka.png\"></a>&nbsp;<a title=\"$nazev\" href=\"?id=$id&amp;oblast=$oblastx#$oblastx\">$nazev</a></div>\n";
1931unreal }
194}
195 
196function show_big($test) {
1974unreal foreach ($test as $row) {
1987unreal $oblastx = $row["OBLAST"];
1995unreal $typ = $row["TYP"];
200 $nazev = $row["NAZEV"];
201 $popis = $row["POPIS"];
202 $id = $row["ID"];
203 $ikonka = $typ;
2041unreal if(!file_exists("ikony/".$ikonka.".png")) { $ikonka = "none"; }
205 
2067unreal echo "<div class=\"icon\"><a title=\"".$popis."\" href=\"?id=".$id."&amp;oblast=".$oblastx."#".$oblastx."\"><img title=\"".$popis."\" border=\"0\" width=\"32\" src=\"ikony/$ikonka.png\"><br>".$nazev."</a></div>\n";
2071unreal }
208}
209 
210function show_groups($test) {
2113unreal $pamatuj = "";
2124unreal foreach ($test as $row) {
2137unreal $oblastx = $row["OBLAST"];
2145unreal $typ = $row["TYP"];
215 $nazev = $row["NAZEV"];
216 $popis = $row["POPIS"];
217 $id = $row["ID"];
218 $ikonka = $typ;
219 if(!file_exists("ikony/".$ikonka.".png")) { $ikonka = "none"; }
2201unreal 
2215unreal if ($typ===$pamatuj) {
2227unreal echo "<div class=\"icon\"><a title=\"".$popis."\" href=\"?id=".$id."&amp;oblast=".$oblastx."#".$oblastx."\"><img title=\"".$popis."\" border=\"0\" width=\"32\" src=\"ikony/$ikonka.png\"><br>".$nazev."</a></div>\n";
2235unreal } else {
224 echo "<div class=\"sizer\"></div><a name=\"".$typ."\" href=\"#".$typ."\" class=\"title\">".$typ."</a>\n";
2257unreal echo "<div class=\"icon\"><a title=\"".$popis."\" href=\"?id=".$id."&amp;oblast=".$oblastx."#".$oblastx."\"><img title=\"".$popis."\" border=\"0\" width=\"32\" src=\"ikony/$ikonka.png\"><br>".$nazev."</a></div>\n";
2265unreal }
227 $pamatuj = $typ;
2281unreal }
229}
230 
231function show_clouds($test) {
232 global $jmena_cloudu;
2334unreal foreach ($test as $row) {
2341unreal if($row!="") {
2354unreal $cl_popis = $jmena_cloudu["$row"];
2361unreal $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) {
2454unreal $ikonka_det = $test["TYP"];
2461unreal 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) {
2519unreal if(($key!="HESLOEDIT") and (substr($key, 0, 1)!="#")) {
2524unreal echo "<strong>".$key."</strong>:&nbsp;".$test["$key"]."<br>";
2531unreal }
254 }
255 echo "</div><div class=\"info_cut\"></div></div>";
256}
257 
258 
2595unrealif(!empty($seznam)) {
260 
2611unreal$pocet_globalu = $i;
262$polozka=-1;
2635unrealfor ($g=0; $g<$pocet_globalu; ++$g) {
2641unreal 
2655unreal $file = "./".$seznam[$g];
266// $fp = fopen($file, "r");
267// $dat = fread($fp, filesize($file));
268// fclose($fp);
269 $dat = file_get_contents($file);
2701unreal $data = explode("\n", $dat);
271 $soucet = count($data);
272 
2735unreal for ($j=0; $j<=$soucet; ++$j) {
2741unreal if ((($data[$j]!="") and ($data[$j]!=" ")) and ($data[$j][0]!=(chr(13)))) {
2755unreal if (strtoupper(substr($data[$j], 0, 4))=="TYP:") { ++$polozka; }
2761unreal $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 
2885unrealfor ($k=0; $k<=$polozka; ++$k) {
2899unreal if ((preg_match("/OBLAST:/i", $item[$k])) and (!preg_match("/OBLAST:<br>/i", $item[$k]))) {
290 preg_match('%OBLAST:(.*?)(<br)%s', $item[$k], $cloud);
291 if (!($obl["$cloud[1]"])) {
292 $oblast[] = $cloud[1];
293 $jmena_cloudu["$cloud[1]"]=strtr($jmena_cloudu["$cloud[1]"], 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;"));
294 }
295 } else {
296 $cloud[1] = "10.0.0.0/8";
297 }
2981unreal $ic = explode("<br>", $item[$k]);
299 $cnt_ic = (count($ic));
3005unreal for ($b=0; $b<=$cnt_ic; ++$b) {
3019unreal if($b===$cnt_ic) {
3021unreal $items[$k]['ID']=$k;
303 } else {
304 if(($ic[$b])!="") {
305 $pole = strpos($ic[$b], ":");
306 if((((substr($ic[$b], 0, $pole))=="URL") or ((substr($ic[$b], 0, $pole))=="URLIP")) or ((substr($ic[$b], 0, $pole))=="URLINET")) {
307 $items[$k][(strtoupper(substr($ic[$b], 0, $pole)))]="<a href=\"".(substr($ic[$b], $pole+1))."\">".(substr($ic[$b], $pole+1))."</a>";
308 } else {
309 $items[$k][(strtoupper(substr($ic[$b], 0, $pole)))]=(substr($ic[$b], $pole+1));
310 }
311 }
312 }
313 }
3149unreal $obl["$cloud[1]"][] = $items[$k];
3151unreal}
316 
3179unrealunset($item);
3185unreal$pocet_oblasti = count($oblast)-1;
3191unreal 
3205unreal// -- seradime oblasti (bublinkovy razeni je silene pomaly)
321usort( $oblast, 'natsort_func' );
3221unreal 
323 
324// ------- vypis ve sloupecku vlevo -------
325 
326for ($o=0; $o<=$pocet_oblasti; $o++) {
327echo "<a class=\"title\" name=\"".$oblast[$o]."\" href=\"?oblast=".$oblast[$o]."#".$oblast[$o]."\"><span class=\"cloudip\">".$oblast[$o]."</span>\n";
3289unreal if(isset($jmena_cloudu["$oblast[$o]"])) {
3294unreal echo "<br>".$jmena_cloudu["$oblast[$o]"]."</a>";
3301unreal } else {
331 echo "</a>";
332 }
333 
3349unreal $sorted["$oblast[$o]"] = arfsort( $obl["$oblast[$o]"], 0);
335 show_small($sorted["$oblast[$o]"]);
3361unreal 
337}
338 
339?>
340 
341</div>
342<div class="items">
343 
344<?php
345 
346//############# PODMINKY ZOBRAZENI ###############//
347 
3486unrealif(($czf_group!="1") and ($czf_group!="2")) { $czf_group = ""; }
3491unreal 
350 
351// ------- pokud neni uvedena oblast ani id ani groupa -------
352 
3535unrealif ((($czf_oblast=="") and ($czf_id=="")) and ($czf_group=="")) {
3542unreal $sorted0 = arfsort( $items, 1);
3551unreal show_big($sorted0);
356 
357 echo "<div class=\"sizer\"></div></div>";
358}
359 
360// ------- pokud neni uvedena oblast ani id ale groupa ano -------
361 
3625unrealif ((($czf_oblast=="") and ($czf_id=="")) and ($czf_group=="1")) {
3632unreal $sorted0 = arfsort( $items, 1);
3641unreal show_groups($sorted0);
365 
366 echo "<div class=\"sizer\"></div></div>";
367}
368 
369// ------- pokud neni uvedena oblast ani id ale groupa je 2 -------
370 
3715unrealif ((($czf_oblast=="") and ($czf_id=="")) and ($czf_group=="2")) {
3721unreal 
373 show_clouds($oblast);
374 
375 echo "<div class=\"sizer\"></div></div>";
376}
377 
378 
379// ------- pokud je uvedena oblast i id sluzby ale groupa ne -------
380 
3815unrealif ((($czf_oblast!="") and ($czf_id!="")) and ($czf_group=="")) {
3821unreal 
3838unreal show_big($sorted["$czf_oblast"]);
3841unreal 
385 echo "<div class=\"sizer\"></div></div>\n";
386 echo "<div class=\"detail\"><div class=\"nomargin title\"><strong>Detaily:</strong></div>";
387 echo "<div class=\"contents\">\n";
3885unreal if ($czf_id<=$polozka) {
3891unreal 
3905unreal show_details($items[$czf_id]);
3911unreal 
392 } else {
393 echo "<br>Polo&#382;ka neexistuje<br>";
394 }
395 echo "</div></div>\n";
396 
397}
398 
399// ------- pokud je uvedena oblast i id sluzby i groupa -------
400 
4015unrealif ((($czf_oblast!="") and ($czf_id!="")) and ($czf_group=="1")) {
4021unreal 
4038unreal show_groups($sorted["$czf_oblast"]);
4041unreal 
405 echo "<div class=\"sizer\"></div></div>\n";
406 echo "<div class=\"detail\"><div class=\"nomargin title\"><strong>Detaily:</strong></div>";
407 echo "<div class=\"contents\">\n";
4085unreal if ($czf_id<=$polozka) {
4091unreal 
4105unreal show_details($items[$czf_id]);
4111unreal 
412 } else {
413 echo "<br>Polo&#382;ka neexistuje<br>";
414 }
415 echo "</div></div>\n";
416 
417}
418 
419 
420// ------- pokud neni uvedena oblast ale id a groupa ne -------
421 
4225unrealif ((($czf_oblast=="") and ($czf_id!="")) and ($czf_group=="")) {
423if ($czf_id<=$polozka) {
4241unreal 
4255unreal if(($items[$czf_id]["OBLAST"])=="") {
4261unreal $sorted4 = $sorted["10.0.0.0/8"];
427 } else {
4285unreal $sorted4 = $sorted[$items[$czf_id]['OBLAST']];
4291unreal }
430 
431 show_big($sorted4);
432 
433} else {
434 
4352unreal $sorted0 = arfsort( $items, 1);
4361unreal show_big($sorted0);
437 
438}
439 
440 
441 echo "<div class=\"sizer\"></div></div>\n";
442 echo "<div class=\"detail\"><div class=\"nomargin title\"><strong>Detaily:</strong></div>";
443 echo "<div class=\"contents\">\n";
4445unreal if ($czf_id<=$polozka) {
4451unreal 
4465unreal show_details($items[$czf_id]);
4471unreal 
448 } else {
449 echo "<br>Polo&#382;ka neexistuje<br>";
450 }
451 echo "</div></div>\n";
452 
453}
454 
455// ------- pokud neni uvedena oblast ale id a groupa ano -------
456 
4575unrealif ((($czf_oblast=="") and ($czf_id!="")) and ($czf_group=="1")) {
458if ($czf_id<=$polozka) {
4591unreal 
4605unreal if(($items[$czf_id]["OBLAST"])=="") {
4611unreal $sorted4 = $sorted["10.0.0.0/8"];
462 } else {
4635unreal $sorted4 = $sorted[$items[$czf_id]['OBLAST']];
4641unreal }
465 
466 show_groups($sorted4);
467 
468} else {
469 
4702unreal $sorted0 = arfsort( $items, 1);
4711unreal show_groups($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";
4795unreal if ($czf_id<=$polozka) {
4801unreal 
4815unreal show_details($items[$czf_id]);
4821unreal 
483 } else {
484 echo "<br>Polo&#382;ka neexistuje<br>";
485 }
486 echo "</div></div>\n";
487 
488}
489 
490// ------- pokud je uvedena oblast ale ne id ani groupa -------
491 
4925unrealif ((($czf_oblast!="") and ($czf_id=="")) and ($czf_group=="")){
4931unreal 
4948unreal show_big($sorted["$czf_oblast"]);
4951unreal 
496 echo "<div class=\"sizer\"></div></div>\n";
497 
498}
499 
500// ------- pokud je uvedena oblast a groupa ale ne id -------
501 
5025unrealif ((($czf_oblast!="") and ($czf_id=="")) and ($czf_group=="1")){
5031unreal 
5048unreal show_groups($sorted["$czf_oblast"]);
5051unreal 
506 echo "<div class=\"sizer\"></div></div>\n";
507 
508}
509 
510} // end
511 
512?>
513 
514<div id="copy">czf4bfu v1.3 - made <a href="http://www.jklir.net">Unreal][</a>&nbsp;</div>
515</body>
516</html>

Powered by WebSVN 2.2.1