jablonka.czprosek.czf

czf4bfu

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

 

Line No. Rev Author Line
11unreal<?php
25unrealerror_reporting(0);
33unreal// Nastavime, aby se nam zbytecne nelogovaly chyby
44unrealini_set('log_errors',false);
512unreal// max_execution_time, pro fungovani je nutne vypnout Safe_mod
6set_time_limit(0);
73unreal 
811unreal$seznam = array();
95unrealecho "<!--CZF4BFU ";
107unrealif ($dir = opendir(".")) {
111unreal while (($file = readdir($dir)) !== false)
1212unreal if (preg_match('/^(?:global|local)-.*.txt$/',$file)) {
135unreal echo $file." ";
1412unreal $seznam[] = $file;
155unreal }
161unreal}
175unrealecho "-->\n";
181unreal?>
19 
20<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
21<html>
225unreal<head>
2314unreal <!-- Unreal][ # http://www.jklir.net # Licence: GNU/GPL # v 1.5 (c) Jirka Klír 2009 for CZFree.net ;-) # -->
24 <title>CZF4BFU<?php if($_GET["oblast"]!="") echo " | ".$_GET["oblast"]; ?></title>
255unreal <meta http-equiv="Content-Type" content="text/html; charset=windows-1250" />
2612unreal <meta http-equiv="Content-language" content="cs" />
275unreal <meta name="author" content="Unreal][, http://www.jklir.net">
28 <link href="styl.css" rel="stylesheet" type="text/css">
2914unreal <link rel="SHORTCUT ICON" href="favicon.ico">
305unreal</head>
3112unreal<body>
321unreal 
335unreal<h1>Rozcestn&#237;k CZFree.Net</h1>
341unreal 
35<?php
36$group = $_GET["group"];
375unreal$czf_group = $_GET["group"];
38$czf_oblast = $_GET["oblast"];
39$czf_id = $_GET["id"];
40 
411unrealif($group!=2) {
425unreal if($czf_oblast!="") { $aname = "#".$czf_oblast; } else { $aname = ""; }
431unreal $group = !$group;
445unreal $text = (!empty($group)) ? "seskupit" : "neseskupovat";
45 echo "<a class=\"group\" href=\"?group=".$group."&amp;id=".$czf_id."&amp;oblast=".$czf_oblast.$aname."\">$text podle typu slu&#382;eb</a>";
461unreal} else {
47 echo "<a class=\"group\" href=\"#\">&nbsp;</a>";
48}
49?>
5014unreal<div class="sizer"></div>
511unreal 
52<div class="tree">
53 <a class="nomargin title" href="?oblast="><strong>CZFree.net</strong><br>cel&#225; s&#237;&#357;</a>
5414unreal <div class="smallicon"><a title="seznam slu&#382;eb" href="?oblast="><img width="10" border="0" src="img/point.png"><span>seznam slu&#382;eb</span></a></div>
55 <div class="smallicon"><a title="seznam cloud&#367;" href="?group=2"><img width="10" border="0" src="img/point.png"><span>seznam cloud&#367;</span></a></div>
561unreal 
57 
58<?php
59$jmena_cloudu = array("10.1.0.0/16" => "Connection.cz / AS Centrum network",
60"10.2.0.0/16" => "Praha - Connection.cz",
61"10.10.0.0/16" => "reserved",
62"10.11.0.0/16" => "Praha - Střešovice, Břevnov, Hradčany, Strahov",
63"10.12.0.0/16" => "Praha - Nusle, Michle, Ruská ul.",
64"10.13.0.0/16" => "Praha - Stodůlky, Nové Butovice, Luka, Lužiny, Řeporyje",
65"10.15.0.0/16" => "Praha - Malvazinky, Košíře, Motol",
66"10.16.0.0/16" => "Praha - Barrandov",
67"10.17.0.0/16" => "Praha - Záběhlice, Zahradní město",
68"10.18.0.0/16" => "Praha - Dejvice, Podbaba",
69"10.19.0.0/16" => "Praha - Suchdol, Lysolaje, Hanspaulka, Horoměřice",
70"10.20.0.0/16" => "Praha - P6 - Dědina, Liboc, Ruzyně",
71"10.21.0.0/16" => "Praha - Řepy, Zličín",
72"10.22.0.0/16" => "Praha - Holešovice",
73"10.23.0.0/16" => "Praha - Vinohrady, Vršovice, Žižkov",
74"10.24.0.0/16" => "Praha - Jarov, Strašnice, Malešice, Skalka",
75"10.25.0.0/16" => "Praha - Hlubočepy, Podolí, Braník",
76"10.26.0.0/16" => "Praha - Lipence, Zbraslav, Radotín",
77"10.27.0.0/16" => "Praha - Modřany, Velká Chuchle, Hodkovičky",
78"10.28.0.0/16" => "Praha - VYPAL (VYsočany, PAlmovka, Libeň)",
79"10.30.0.0/16" => "Praha - Hostivař, Horní Měcholupy, Dolní Měcholupy, Běchovice",
80"10.31.0.0/16" => "Praha - Bohnice, Čimice",
81"10.32.0.0/16" => "Praha - Dolní Chabry, Ďáblice, Kobylisy, Vychovatelna",
82"10.33.0.0/16" => "Praha - Prosek, Letňany, Čakovice",
83"10.34.0.0/16" => "Praha - Letná, Štrossmajerák",
84"10.37.0.0/16" => "Praha - Radotín",
85"10.38.0.0/16" => "Praha - Chodov, Opatov, Háje, Kateřinky",
86"10.39.0.0/16" => "Praha - Šibřina, Újezd nad Lesy, Koloděje, Květnice",
87"10.40.0.0/16" => "Praha - Krč, sidl.Novodvorská, Kačerov, Spořilov, Roztyly",
88"10.41.0.0/16" => "HMNet - Horní Měcholupy",
89"10.43.0.0/16" => "Řepná pole, Vinoř",
90"10.44.0.0/16" => "Praha - Podolí",
91"10.48.0.0/16" => "Praha 2, 4, 10",
92"10.49.0.0/16" => "Praha 1, 3",
93"10.50.0.0/16" => "Praha - Centrum Prahy",
94"10.51.0.0/16" => "Praha - Petřiny",
95"10.52.0.0/16" => "Praha - Vršovice",
96"10.55.0.0/16" => "Connection.cz",
97"10.63.0.0/17" => "Rakovník a okolí",
98"10.66.0.0/16" => "Hostivice, Chýně, Ptice, Červený Újezd, Sobín",
99"10.67.0.0/16" => "Rudná u Prahy, Ptice, Úhonice, Drahelčice",
100"10.69.0.0/17" => "Mělník a okolí",
101"10.69.128.0/17" => "Neratovice a okolí",
102"10.70.0.0/16" => "Beroun a okolí",
103"10.76.0.0/16" => "Plzeň - PilsFree 1",
104"10.78.0.0/16" => "Plzeň - PilsFree 2",
105"10.88.0.0/16" => "Říčany a okolí",
106"10.89.0.0/16" => "Mnichovice",
107"10.91.0.0/19" => "Velké Přílepy",
108"10.92.0.0/19" => "Libčice nad Vltavou",
109"10.93.0.0/16" => "Čelákovice",
110"10.94.0.0/17" => "Mladá Boleslav a okolí",
111"10.95.0.0/17" => "Řevnice, Dobřichovice",
112"10.96.0.0/16" => "Všenory, Karlík, Dobřichovice, Lety, Řevnice, Třebáň",
113"10.98.0.0/16" => "Unhoš, Chýně, Červený Újezd, Ptice, Nouzov, Kysice, Braškov, Horní Bezděkov a další",
114"10.99.0.0/18" => "Třebestovice",
115"10.100.0.0/16" => "Říčany",
116"10.101.0.0/16" => "Liberec",
117"10.102.0.0/16" => "Kladno, Unhoš a okolí",
118"10.103.0.0/16" => "Karlovy Vary",
119"10.104.0.0/17" => "Jablonec",
120"10.105.0.0/17" => "Kolín",
121"10.106.0.0/16" => "Kutná Hora - okres",
122"10.107.0.0/16" => "Hradec Králové",
123"10.108.0.0/16" => "České Budějovice",
124"10.109.0.0/16" => "Plzeň",
125"10.110.0.0/17" => "Chrudim",
126"10.111.0.0/16" => "Plzeň - sever",
127"10.112.0.0/16" => "Lysá nad Labem",
128"10.113.0.0/16" => "Louny, Žatec, Pobořany",
129"10.114.0.0/16" => "Příbram",
130"10.117.0.0/16" => "Turnov a okolí",
131"10.120.0.0/18" => "MH2Net - Mnichovo Hradiště směr Turnov",
132"10.128.0.0/15" => "Brno - město",
133"10.128.0.0/16" => "Brno - město",
134"10.129.0.0/16" => "okolí Brna",
135"10.129.24.0/21" => "Tišnov",
136"10.130.0.0/16" => "Severní Morava",
137"10.131.0.0/16" => "Uherské Hradiště",
138"10.132.0.0/16" => "Střední Morava - Olomouc",
139"10.133.0.0/16" => "Prostějov",
140"10.134.0.0/16" => "Přerovsko",
141"10.135.0.0/16" => "rezerva pro Moravu",
142"10.136.0.0/16" => "testovací sítě pro Moravu",
143"10.144.0.0/16" => "Zlín, Vsetín, Valašské Meziříčí - okresy",
144"10.145.0.0/16" => "Nový Jičín, Kopřivnice, Frýdek Místek - okresy",
145"10.152.0.0/16" => "Ostrava - okres",
146"10.153.0.0/16" => "Ostrava - okres",
147"10.154.0.0/16" => "Ostrava - okres",
148"10.155.0.0/16" => "Ostrava - okres",
149"10.161.0.0/16" => "Evkanet - Ostrava",
150"10.253.0.0/16" => "NCX - Zápy",
151"10.254.0.0/16" => "NCX Labyrint");
152 
1534unreal$sort_cz = 0;
1541unreal 
15512unrealfunction arfsort($a,$yes=0) {
1564unreal global $sort_cz;
157 $sort_cz = $yes;
15812unreal usort($a,'arfsort_func');
1591unreal return $a;
160}
161 
16212unrealfunction arfsort_func($a,$b){
1639unreal global $sort_cz;
164 $order[0][0] = "TYP";
165 $order[1][0] = "NAZEV";
1662unreal foreach($order as $f) {
1674unreal if($sort_cz=="1") {
1685unreal $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"));
169 $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"));
1701unreal }
17112unreal $strc = strcasecmp($a[$f[0]],$b[$f[0]]);
172 if ($strc!=0) {
1735unreal return $strc;
174 }
1751unreal }
1762unreal return 0;
1771unreal}
178 
17912unrealfunction natsort_func($a,$b){
180 $strc = strnatcmp($a,$b);
181 if ($strc!=0) {
1825unreal return $strc;
183 }
184 return 0;
185}
186 
1871unrealfunction show_small($test) {
188 foreach ($test as $key=>$row) {
1897unreal $oblastx = $row["OBLAST"];
1905unreal $typ = $row["TYP"];
191 $nazev = $row["NAZEV"];
192 $id = $row["ID"];
193 $ikonka = $typ;
19412unreal if(!file_exists("ikony/".$ikonka.".png")) $ikonka = "none";
19514unreal 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\"><span>$nazev</span></a></div>\n";
1961unreal }
197}
198 
199function show_big($test) {
2004unreal foreach ($test as $row) {
2017unreal $oblastx = $row["OBLAST"];
2025unreal $typ = $row["TYP"];
203 $nazev = $row["NAZEV"];
204 $popis = $row["POPIS"];
205 $id = $row["ID"];
206 $ikonka = $typ;
20712unreal if(!file_exists("ikony/".$ikonka.".png")) $ikonka = "none";
2087unreal 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";
2091unreal }
210}
211 
212function show_groups($test) {
2133unreal $pamatuj = "";
21412unreal $x = 0;
2154unreal foreach ($test as $row) {
2167unreal $oblastx = $row["OBLAST"];
2175unreal $typ = $row["TYP"];
218 $nazev = $row["NAZEV"];
219 $popis = $row["POPIS"];
220 $id = $row["ID"];
221 $ikonka = $typ;
22212unreal if(!file_exists("ikony/".$ikonka.".png")) $ikonka = "none";
2231unreal 
2245unreal if ($typ===$pamatuj) {
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 } else {
22712unreal if($x==0) { $nomargin = "nomargin "; $x==1; } else { $nomargin = ""; }
228 echo "<div class=\"sizer\"></div><a name=\"".$typ."\" href=\"#".$typ."\" class=\"".$nomargin."title\">".$typ."</a>\n";
2297unreal 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";
2305unreal }
231 $pamatuj = $typ;
2321unreal }
233}
234 
235function show_clouds($test) {
236 global $jmena_cloudu;
2374unreal foreach ($test as $row) {
2381unreal if($row!="") {
2394unreal $cl_popis = $jmena_cloudu["$row"];
2401unreal $cl_naz = $row;
241 $cl_nazev = $row."<br>".$cl_popis;
242 
243 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";
244 }
245 }
246}
247 
248function show_details($test) {
2494unreal $ikonka_det = $test["TYP"];
25012unreal if(!file_exists("ikony/".$ikonka_det.".png")) $ikonka_det = "none";
2511unreal echo "<div class=\"det\">";
252 echo "<div class=\"icon_det\"><img alt=\"$ikonka_det\" src=\"ikony/$ikonka_det.png\"></div>";
253 echo "<div class=\"info_det\">";
254 foreach ($test as $key=>$row) {
25514unreal if(!preg_match('%^(?:HESLOEDIT|SOURCE|#)%',$key)) {
256 if (preg_match('%^URL(?:|IP|INET)%',$key)) {
257 $row = "<a href=\"".$row."\">".$row."</a>";
258 }
259 echo "<strong>".$key."</strong>:&nbsp;".$row."<br>";
2601unreal }
261 }
262 echo "</div><div class=\"info_cut\"></div></div>";
263}
264 
265 
2665unrealif(!empty($seznam)) {
267 
26811unreal$item = array();
269$items = array();
270$oblast = array();
271 
2721unreal$polozka=-1;
273 
27412unrealforeach($seznam as $fil) {
275 $dat = file_get_contents($fil);
2761unreal $data = explode("\n", $dat);
277 $soucet = count($data);
278 
2795unreal for ($j=0; $j<=$soucet; ++$j) {
2801unreal if ((($data[$j]!="") and ($data[$j]!=" ")) and ($data[$j][0]!=(chr(13)))) {
28112unreal if (preg_match('%^TYP:%i',$data[$j])) $polozka++;
2821unreal $item[$polozka]=$item[$polozka].$data[$j]."<br>";
283 }
284 }
285}
286 
287// ------- naladujem data do 3-rozmernyho pole -------
288 
28912unreal$trans = array(" \\\\<br>" => "", " <br>" => "<br>", (chr(13)) => "", "OBLAST:<br>" => "OBLAST:10.0.0.0/8<br>", (chr(9)) => "", "á" => "&#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");
290 
2915unrealfor ($k=0; $k<=$polozka; ++$k) {
29212unreal $item[$k]=strtr($item[$k], $trans);
293 $item[$k]=preg_replace('%\:(?:\s|\t)+%', ':', $item[$k]); // tydyt pridelava praci
294 if(preg_match('%OBLAST:%i', $item[$k])) {
295 preg_match('%OBLAST:(.*?)(<br)%i', $item[$k], $cloud);
29611unreal if (!isset($obl["$cloud[1]"])) {
2979unreal $oblast[] = $cloud[1];
298 $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;"));
299 }
300 } else {
301 $cloud[1] = "10.0.0.0/8";
302 }
30312unreal 
3041unreal $ic = explode("<br>", $item[$k]);
305 $cnt_ic = (count($ic));
3065unreal for ($b=0; $b<=$cnt_ic; ++$b) {
3079unreal if($b===$cnt_ic) {
30812unreal $items[$k]["ID"]=$k;
3091unreal } else {
310 if(($ic[$b])!="") {
311 $pole = strpos($ic[$b], ":");
31214unreal $items[$k][(strtoupper(substr($ic[$b], 0, $pole)))]=(substr($ic[$b], $pole+1));
3131unreal }
314 }
315 }
31611unreal $obl["$cloud[1]"][] = $items[$k];
3171unreal}
318 
3199unrealunset($item);
32012unrealunset($trans);
3215unreal$pocet_oblasti = count($oblast)-1;
3221unreal 
3235unreal// -- seradime oblasti (bublinkovy razeni je silene pomaly)
32412unrealusort($oblast,'natsort_func');
3251unreal 
326 
327// ------- vypis ve sloupecku vlevo -------
328 
329for ($o=0; $o<=$pocet_oblasti; $o++) {
330echo "<a class=\"title\" name=\"".$oblast[$o]."\" href=\"?oblast=".$oblast[$o]."#".$oblast[$o]."\"><span class=\"cloudip\">".$oblast[$o]."</span>\n";
33112unreal if(isset($jmena_cloudu["$oblast[$o]"])) {
332 echo "<br>".$jmena_cloudu["$oblast[$o]"]."</a>";
333 } else {
334 echo "</a>";
335 }
336 $sorted["$oblast[$o]"] = arfsort($obl["$oblast[$o]"]);
337 show_small($sorted["$oblast[$o]"]);
3381unreal}
33912unrealunset($obl);
3401unreal?>
341 
342</div>
343<div class="items">
344 
345<?php
346 
347//############# PODMINKY ZOBRAZENI ###############//
348 
3496unrealif(($czf_group!="1") and ($czf_group!="2")) { $czf_group = ""; }
3501unreal 
351// ------- pokud neni uvedena oblast ani id ani groupa -------
352 
3535unrealif ((($czf_oblast=="") and ($czf_id=="")) and ($czf_group=="")) {
35412unreal $sorted0 = arfsort($items, 1);
355 show_big($sorted0);
356 echo "<div class=\"sizer\"></div></div>";
3571unreal}
358 
359// ------- pokud neni uvedena oblast ani id ale groupa ano -------
360 
36112unrealelseif ((($czf_oblast=="") and ($czf_id=="")) and ($czf_group=="1")) {
362 $sorted0 = arfsort($items, 1);
363 show_groups($sorted0);
364 echo "<div class=\"sizer\"></div></div>";
3651unreal}
366 
367// ------- pokud neni uvedena oblast ani id ale groupa je 2 -------
368 
36912unrealelseif ((($czf_oblast=="") and ($czf_id=="")) and ($czf_group=="2")) {
370 show_clouds($oblast);
371 echo "<div class=\"sizer\"></div></div>";
3721unreal}
373 
374 
375// ------- pokud je uvedena oblast i id sluzby ale groupa ne -------
376 
37712unrealelseif ((($czf_oblast!="") and ($czf_id!="")) and ($czf_group=="")) {
378 show_big($sorted["$czf_oblast"]);
379 echo "<div class=\"sizer\"></div></div>\n<div class=\"detail\"><div class=\"nomargin title\"><strong>Detaily:</strong></div><div class=\"contents\">\n";
380 if ($czf_id<=$polozka) {
381 show_details($items[$czf_id]);
382 } else {
383 echo "<br>Polo&#382;ka neexistuje<br>";
384 }
385 echo "</div></div>\n";
3861unreal}
387 
388// ------- pokud je uvedena oblast i id sluzby i groupa -------
389 
39012unrealelseif ((($czf_oblast!="") and ($czf_id!="")) and ($czf_group=="1")) {
391 show_groups($sorted["$czf_oblast"]);
392 echo "<div class=\"sizer\"></div></div>\n<div class=\"detail\"><div class=\"nomargin title\"><strong>Detaily:</strong></div><div class=\"contents\">\n";
393 if ($czf_id<=$polozka) {
394 show_details($items[$czf_id]);
395 } else {
396 echo "<br>Polo&#382;ka neexistuje<br>";
397 }
398 echo "</div></div>\n";
3991unreal}
400 
401 
402// ------- pokud neni uvedena oblast ale id a groupa ne -------
403 
40412unrealelseif ((($czf_oblast=="") and ($czf_id!="")) and ($czf_group=="")) {
405 if ($czf_id<=$polozka) {
406 if(($items[$czf_id]["OBLAST"])=="") {
407 $sorted4 = $sorted["10.0.0.0/8"];
408 } else {
409 $sorted4 = $sorted[$items[$czf_id]['OBLAST']];
410 }
411 show_big($sorted4);
412 } else {
413 $sorted0 = arfsort($items, 1);
414 show_big($sorted0);
415 }
4161unreal 
41712unreal echo "<div class=\"sizer\"></div></div>\n<div class=\"detail\"><div class=\"nomargin title\"><strong>Detaily:</strong></div><div class=\"contents\">\n";
418 if ($czf_id<=$polozka) {
419 show_details($items[$czf_id]);
420 } else {
421 echo "<br>Polo&#382;ka neexistuje<br>";
422 }
423 echo "</div></div>\n";
4241unreal}
425 
426// ------- pokud neni uvedena oblast ale id a groupa ano -------
427 
42812unrealelseif ((($czf_oblast=="") and ($czf_id!="")) and ($czf_group=="1")) {
429 if ($czf_id<=$polozka) {
430 if(($items[$czf_id]["OBLAST"])=="") {
431 $sorted4 = $sorted["10.0.0.0/8"];
432 } else {
433 $sorted4 = $sorted[$items[$czf_id]['OBLAST']];
434 }
435 show_groups($sorted4);
436 } else {
437 $sorted0 = arfsort($items, 1);
438 show_groups($sorted0);
439 }
4401unreal 
44112unreal echo "<div class=\"sizer\"></div></div>\n<div class=\"detail\"><div class=\"nomargin title\"><strong>Detaily:</strong></div><div class=\"contents\">\n";
442 if ($czf_id<=$polozka) {
443 show_details($items[$czf_id]);
444 } else {
445 echo "<br>Polo&#382;ka neexistuje<br>";
446 }
447 echo "</div></div>\n";
4481unreal}
449 
450// ------- pokud je uvedena oblast ale ne id ani groupa -------
451 
45212unrealelseif ((($czf_oblast!="") and ($czf_id=="")) and ($czf_group=="")){
453 show_big($sorted["$czf_oblast"]);
454 echo "<div class=\"sizer\"></div></div>\n";
4551unreal}
456 
457// ------- pokud je uvedena oblast a groupa ale ne id -------
458 
45912unrealelseif ((($czf_oblast!="") and ($czf_id=="")) and ($czf_group=="1")){
460 show_groups($sorted["$czf_oblast"]);
461 echo "<div class=\"sizer\"></div></div>\n";
462} else { break; }
4631unreal 
46411unrealunset($items);
46512unrealunset($oblast);
466} // end seznam
46711unreal 
4681unreal?>
469 
47014unreal<div id="copy">czf4bfu v1.5 - made <a href="http://www.jklir.net/">Unreal][</a>&nbsp;</div>
4711unreal</body>
472</html>

Powered by WebSVN 2.2.1