jablonka.czprosek.czf

czf4bfu

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

 

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>
2312unreal <!-- Unreal][ # http://www.jklir.net # Licence: GNU/GPL # v 1.4 (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">
29</head>
3012unreal<body>
311unreal 
325unreal<h1>Rozcestn&#237;k CZFree.Net</h1>
331unreal 
34<?php
35$group = $_GET["group"];
365unreal$czf_group = $_GET["group"];
37$czf_oblast = $_GET["oblast"];
38$czf_id = $_GET["id"];
39 
401unrealif($group!=2) {
415unreal if($czf_oblast!="") { $aname = "#".$czf_oblast; } else { $aname = ""; }
421unreal $group = !$group;
435unreal $text = (!empty($group)) ? "seskupit" : "neseskupovat";
44 echo "<a class=\"group\" href=\"?group=".$group."&amp;id=".$czf_id."&amp;oblast=".$czf_oblast.$aname."\">$text podle typu slu&#382;eb</a>";
451unreal} else {
46 echo "<a class=\"group\" href=\"#\">&nbsp;</a>";
47}
48?>
49 
50<div class="tree">
51 <a class="nomargin title" href="?oblast="><strong>CZFree.net</strong><br>cel&#225; s&#237;&#357;</a>
52 <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>
53 <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>
54 
55 
56<?php
57$jmena_cloudu = array("10.1.0.0/16" => "Connection.cz / AS Centrum network",
58"10.2.0.0/16" => "Praha - Connection.cz",
59"10.10.0.0/16" => "reserved",
60"10.11.0.0/16" => "Praha - Střešovice, Břevnov, Hradčany, Strahov",
61"10.12.0.0/16" => "Praha - Nusle, Michle, Ruská ul.",
62"10.13.0.0/16" => "Praha - Stodůlky, Nové Butovice, Luka, Lužiny, Řeporyje",
63"10.15.0.0/16" => "Praha - Malvazinky, Košíře, Motol",
64"10.16.0.0/16" => "Praha - Barrandov",
65"10.17.0.0/16" => "Praha - Záběhlice, Zahradní město",
66"10.18.0.0/16" => "Praha - Dejvice, Podbaba",
67"10.19.0.0/16" => "Praha - Suchdol, Lysolaje, Hanspaulka, Horoměřice",
68"10.20.0.0/16" => "Praha - P6 - Dědina, Liboc, Ruzyně",
69"10.21.0.0/16" => "Praha - Řepy, Zličín",
70"10.22.0.0/16" => "Praha - Holešovice",
71"10.23.0.0/16" => "Praha - Vinohrady, Vršovice, Žižkov",
72"10.24.0.0/16" => "Praha - Jarov, Strašnice, Malešice, Skalka",
73"10.25.0.0/16" => "Praha - Hlubočepy, Podolí, Braník",
74"10.26.0.0/16" => "Praha - Lipence, Zbraslav, Radotín",
75"10.27.0.0/16" => "Praha - Modřany, Velká Chuchle, Hodkovičky",
76"10.28.0.0/16" => "Praha - VYPAL (VYsočany, PAlmovka, Libeň)",
77"10.30.0.0/16" => "Praha - Hostivař, Horní Měcholupy, Dolní Měcholupy, Běchovice",
78"10.31.0.0/16" => "Praha - Bohnice, Čimice",
79"10.32.0.0/16" => "Praha - Dolní Chabry, Ďáblice, Kobylisy, Vychovatelna",
80"10.33.0.0/16" => "Praha - Prosek, Letňany, Čakovice",
81"10.34.0.0/16" => "Praha - Letná, Štrossmajerák",
82"10.37.0.0/16" => "Praha - Radotín",
83"10.38.0.0/16" => "Praha - Chodov, Opatov, Háje, Kateřinky",
84"10.39.0.0/16" => "Praha - Šibřina, Újezd nad Lesy, Koloděje, Květnice",
85"10.40.0.0/16" => "Praha - Krč, sidl.Novodvorská, Kačerov, Spořilov, Roztyly",
86"10.41.0.0/16" => "HMNet - Horní Měcholupy",
87"10.43.0.0/16" => "Řepná pole, Vinoř",
88"10.44.0.0/16" => "Praha - Podolí",
89"10.48.0.0/16" => "Praha 2, 4, 10",
90"10.49.0.0/16" => "Praha 1, 3",
91"10.50.0.0/16" => "Praha - Centrum Prahy",
92"10.51.0.0/16" => "Praha - Petřiny",
93"10.52.0.0/16" => "Praha - Vršovice",
94"10.55.0.0/16" => "Connection.cz",
95"10.63.0.0/17" => "Rakovník a okolí",
96"10.66.0.0/16" => "Hostivice, Chýně, Ptice, Červený Újezd, Sobín",
97"10.67.0.0/16" => "Rudná u Prahy, Ptice, Úhonice, Drahelčice",
98"10.69.0.0/17" => "Mělník a okolí",
99"10.69.128.0/17" => "Neratovice a okolí",
100"10.70.0.0/16" => "Beroun a okolí",
101"10.76.0.0/16" => "Plzeň - PilsFree 1",
102"10.78.0.0/16" => "Plzeň - PilsFree 2",
103"10.88.0.0/16" => "Říčany a okolí",
104"10.89.0.0/16" => "Mnichovice",
105"10.91.0.0/19" => "Velké Přílepy",
106"10.92.0.0/19" => "Libčice nad Vltavou",
107"10.93.0.0/16" => "Čelákovice",
108"10.94.0.0/17" => "Mladá Boleslav a okolí",
109"10.95.0.0/17" => "Řevnice, Dobřichovice",
110"10.96.0.0/16" => "Všenory, Karlík, Dobřichovice, Lety, Řevnice, Třebáň",
111"10.98.0.0/16" => "Unhoš, Chýně, Červený Újezd, Ptice, Nouzov, Kysice, Braškov, Horní Bezděkov a další",
112"10.99.0.0/18" => "Třebestovice",
113"10.100.0.0/16" => "Říčany",
114"10.101.0.0/16" => "Liberec",
115"10.102.0.0/16" => "Kladno, Unhoš a okolí",
116"10.103.0.0/16" => "Karlovy Vary",
117"10.104.0.0/17" => "Jablonec",
118"10.105.0.0/17" => "Kolín",
119"10.106.0.0/16" => "Kutná Hora - okres",
120"10.107.0.0/16" => "Hradec Králové",
121"10.108.0.0/16" => "České Budějovice",
122"10.109.0.0/16" => "Plzeň",
123"10.110.0.0/17" => "Chrudim",
124"10.111.0.0/16" => "Plzeň - sever",
125"10.112.0.0/16" => "Lysá nad Labem",
126"10.113.0.0/16" => "Louny, Žatec, Pobořany",
127"10.114.0.0/16" => "Příbram",
128"10.117.0.0/16" => "Turnov a okolí",
129"10.120.0.0/18" => "MH2Net - Mnichovo Hradiště směr Turnov",
130"10.128.0.0/15" => "Brno - město",
131"10.128.0.0/16" => "Brno - město",
132"10.129.0.0/16" => "okolí Brna",
133"10.129.24.0/21" => "Tišnov",
134"10.130.0.0/16" => "Severní Morava",
135"10.131.0.0/16" => "Uherské Hradiště",
136"10.132.0.0/16" => "Střední Morava - Olomouc",
137"10.133.0.0/16" => "Prostějov",
138"10.134.0.0/16" => "Přerovsko",
139"10.135.0.0/16" => "rezerva pro Moravu",
140"10.136.0.0/16" => "testovací sítě pro Moravu",
141"10.144.0.0/16" => "Zlín, Vsetín, Valašské Meziříčí - okresy",
142"10.145.0.0/16" => "Nový Jičín, Kopřivnice, Frýdek Místek - okresy",
143"10.152.0.0/16" => "Ostrava - okres",
144"10.153.0.0/16" => "Ostrava - okres",
145"10.154.0.0/16" => "Ostrava - okres",
146"10.155.0.0/16" => "Ostrava - okres",
147"10.161.0.0/16" => "Evkanet - Ostrava",
148"10.253.0.0/16" => "NCX - Zápy",
149"10.254.0.0/16" => "NCX Labyrint");
150 
1514unreal$sort_cz = 0;
1521unreal 
15312unrealfunction arfsort($a,$yes=0) {
1544unreal global $sort_cz;
155 $sort_cz = $yes;
15612unreal usort($a,'arfsort_func');
1571unreal return $a;
158}
159 
16012unrealfunction arfsort_func($a,$b){
1619unreal global $sort_cz;
162 $order[0][0] = "TYP";
163 $order[1][0] = "NAZEV";
1642unreal foreach($order as $f) {
1654unreal if($sort_cz=="1") {
1665unreal $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"));
167 $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"));
1681unreal }
16912unreal $strc = strcasecmp($a[$f[0]],$b[$f[0]]);
170 if ($strc!=0) {
1715unreal return $strc;
172 }
1731unreal }
1742unreal return 0;
1751unreal}
176 
17712unrealfunction natsort_func($a,$b){
178 $strc = strnatcmp($a,$b);
179 if ($strc!=0) {
1805unreal return $strc;
181 }
182 return 0;
183}
184 
1851unrealfunction show_small($test) {
186 foreach ($test as $key=>$row) {
1877unreal $oblastx = $row["OBLAST"];
1885unreal $typ = $row["TYP"];
189 $nazev = $row["NAZEV"];
190 $id = $row["ID"];
191 $ikonka = $typ;
19212unreal if(!file_exists("ikony/".$ikonka.".png")) $ikonka = "none";
1937unreal 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";
1941unreal }
195}
196 
197function show_big($test) {
1984unreal foreach ($test as $row) {
1997unreal $oblastx = $row["OBLAST"];
2005unreal $typ = $row["TYP"];
201 $nazev = $row["NAZEV"];
202 $popis = $row["POPIS"];
203 $id = $row["ID"];
204 $ikonka = $typ;
20512unreal if(!file_exists("ikony/".$ikonka.".png")) $ikonka = "none";
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 = "";
21212unreal $x = 0;
2134unreal foreach ($test as $row) {
2147unreal $oblastx = $row["OBLAST"];
2155unreal $typ = $row["TYP"];
216 $nazev = $row["NAZEV"];
217 $popis = $row["POPIS"];
218 $id = $row["ID"];
219 $ikonka = $typ;
22012unreal if(!file_exists("ikony/".$ikonka.".png")) $ikonka = "none";
2211unreal 
2225unreal if ($typ===$pamatuj) {
2237unreal 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";
2245unreal } else {
22512unreal if($x==0) { $nomargin = "nomargin "; $x==1; } else { $nomargin = ""; }
226 echo "<div class=\"sizer\"></div><a name=\"".$typ."\" href=\"#".$typ."\" class=\"".$nomargin."title\">".$typ."</a>\n";
2277unreal 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";
2285unreal }
229 $pamatuj = $typ;
2301unreal }
231}
232 
233function show_clouds($test) {
234 global $jmena_cloudu;
2354unreal foreach ($test as $row) {
2361unreal if($row!="") {
2374unreal $cl_popis = $jmena_cloudu["$row"];
2381unreal $cl_naz = $row;
239 $cl_nazev = $row."<br>".$cl_popis;
240 
241 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";
242 }
243 }
244}
245 
246function show_details($test) {
2474unreal $ikonka_det = $test["TYP"];
24812unreal if(!file_exists("ikony/".$ikonka_det.".png")) $ikonka_det = "none";
2491unreal echo "<div class=\"det\">";
250 echo "<div class=\"icon_det\"><img alt=\"$ikonka_det\" src=\"ikony/$ikonka_det.png\"></div>";
251 echo "<div class=\"info_det\">";
252 foreach ($test as $key=>$row) {
25312unreal if(!preg_match('%^(?:HESLOEDIT|SOURCE|#)%i',$key)) {
2544unreal echo "<strong>".$key."</strong>:&nbsp;".$test["$key"]."<br>";
2551unreal }
256 }
257 echo "</div><div class=\"info_cut\"></div></div>";
258}
259 
260 
2615unrealif(!empty($seznam)) {
262 
26311unreal$item = array();
264$items = array();
265$oblast = array();
266 
2671unreal$polozka=-1;
268 
26912unrealforeach($seznam as $fil) {
270 $dat = file_get_contents($fil);
2711unreal $data = explode("\n", $dat);
272 $soucet = count($data);
273 
2745unreal for ($j=0; $j<=$soucet; ++$j) {
2751unreal if ((($data[$j]!="") and ($data[$j]!=" ")) and ($data[$j][0]!=(chr(13)))) {
27612unreal if (preg_match('%^TYP:%i',$data[$j])) $polozka++;
2771unreal $item[$polozka]=$item[$polozka].$data[$j]."<br>";
278 }
279 }
280}
281 
282// ------- naladujem data do 3-rozmernyho pole -------
283 
28412unreal$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");
285 
2865unrealfor ($k=0; $k<=$polozka; ++$k) {
28712unreal $item[$k]=strtr($item[$k], $trans);
288 $item[$k]=preg_replace('%\:(?:\s|\t)+%', ':', $item[$k]); // tydyt pridelava praci
289 if(preg_match('%OBLAST:%i', $item[$k])) {
290 preg_match('%OBLAST:(.*?)(<br)%i', $item[$k], $cloud);
29111unreal if (!isset($obl["$cloud[1]"])) {
2929unreal $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 }
29812unreal 
2991unreal $ic = explode("<br>", $item[$k]);
300 $cnt_ic = (count($ic));
3015unreal for ($b=0; $b<=$cnt_ic; ++$b) {
3029unreal if($b===$cnt_ic) {
30312unreal $items[$k]["ID"]=$k;
3041unreal } else {
305 if(($ic[$b])!="") {
306 $pole = strpos($ic[$b], ":");
30712unreal if (preg_match('%^URL(?:|IP|INET):%i',$ic[$b])) {
308 //if(!preg_match('%\/\/%',$ic[$b])) { $url_add = "http://"; } else { $url_add = ""; }
3091unreal $items[$k][(strtoupper(substr($ic[$b], 0, $pole)))]="<a href=\"".(substr($ic[$b], $pole+1))."\">".(substr($ic[$b], $pole+1))."</a>";
310 } else {
311 $items[$k][(strtoupper(substr($ic[$b], 0, $pole)))]=(substr($ic[$b], $pole+1));
312 }
313 }
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 
47012unreal<div id="copy">czf4bfu v1.4 - made <a href="http://www.jklir.net">Unreal][</a>&nbsp;</div>
4711unreal</body>
472</html>

Powered by WebSVN 2.2.1