"); closedir($dir); } ?> CZF4BFU

Rozcestník CZFree.Net

$text podle typu sluzeb"; ?>
CZFree.net
cela sit
"Connection.cz / AS Centrum network", "10.2.0.0/16" => "Praha - Connection.cz", "10.10.0.0/16" => "reserved", "10.11.0.0/16" => "Praha - Střešovice, Břevnov, Hradčany, Strahov", "10.12.0.0/16" => "Praha - Nusle, Michle, Ruská ul.", "10.13.0.0/16" => "Praha - Stodůlky, Nové Butovice, Luka, Lužiny, Řeporyje", "10.14.0.0/16" => "Praha 6", "10.15.0.0/16" => "Praha - Malvazinky, Kosíře, Motol", "10.16.0.0/16" => "Praha - Barrandov", "10.17.0.0/16" => "Praha - Záběhlice, Zahradní město", "10.18.0.0/16" => "Praha - Dejvice, Podbaba", "10.19.0.0/16" => "Praha - Suchdol", "10.21.0.0/16" => "Praha - Řepy, Zličín", "10.22.0.0/16" => "Praha - Holešovice", "10.23.0.0/16" => "Praha - Žižkov, Vinohrady", "10.24.0.0/16" => "Praha - Jarov, Strašnice, Malešice, Skalka", "10.25.0.0/16" => "Praha - Hlubočepy, Podolí, Braník", "10.26.0.0/16" => "Praha - Černošice, Zbraslav, Radotín", "10.27.0.0/16" => "Praha - Modřany, Velká Chuchle, Hodkovicky", "10.28.0.0/16" => "VYPAL (VYsočany, PAlmovka, Libeň)", "10.30.0.0/16" => "Praha - Hostivař, Horní Měcholupy, Dolní Měcholupy, Běchovice", "10.31.0.0/16" => "Praha - Bohnice, Cimice", "10.32.0.0/16" => "Praha - Dolní Chabry, Ďáblice, Kobylisy, Vychovatelna", "10.33.0.0/16" => "Praha - Prosek, Letnany, Čakovice", "10.34.0.0/16" => "Praha - Letná, Strossmajerak", "10.37.0.0/16" => "Praha - Radotín", "10.38.0.0/16" => "Praha - Chodov, Opatov, Háje, Kateřinky", "10.39.0.0/16" => "Praha - Šibřina, Újezd nad Lesy, Koloděje, Květnice", "10.40.0.0/16" => "Praha - Krč, sidl.Novodvorská, Kačerov, Spořilov, Roztyly", "10.41.0.0/16" => "HMNet", "10.42.0.0/16" => "Černošice, Všenory, Mokropsy a okolí", "10.43.0.0/16" => "Řepná pole, Vinoř", "10.50.0.0/16" => "Praha - Centrum Prahy", "10.51.0.0/16" => "Praha - Petřiny", "10.55.0.0/16" => "Connection.cz", "10.63.0.0/17" => "Rakovník a okolí", "10.66.0.0/16" => "Praha - Hostivice, Rudná u Prahy, Chyne, Ptice, Červený Újezd, Sobín, Úhonice", "10.69.0.0/17" => "Mělník a okolí", "10.69.128.0/17" => "Neratovice a okolí", "10.81.0.0/16" => "Jihlava", "10.88.0.0/16" => "Říčany, Mnichovice a okolí", "10.91.0.0/16" => "Velké Přílepy", "10.92.0.0/16" => "Libčice nad Vltavou", "10.93.0.0/16" => "Čelákovice", "10.95.0.0/16" => "Řevnice, Dobřichovice", "10.99.0.0/16" => "Třebestovice", "10.100.0.0/16" => "Říčany", "10.101.0.0/16" => "Liberec", "10.102.0.0/16" => "Kladno, Unhošť a okolí", "10.103.0.0/16" => "Karlovy Vary", "10.104.0.0/16" => "Jablonec", "10.105.0.0/16" => "Kolín", "10.106.0.0/16" => "Kutná Hora - okres", "10.107.0.0/16" => "Hradec Králové", "10.108.0.0/16" => "České Budějovice", "10.109.0.0/16" => "Plzeň", "10.110.0.0/16" => "Chrudim", "10.111.0.0/16" => "Plzeň - sever", "10.112.0.0/16" => "Lysá nad Labem", "10.114.0.0/16" => "Příbram", "10.128.0.0/16" => "Brno - město", "10.129.0.0/16" => "okolí Brna", "10.129.24.0/21" => "Tišnov", "10.130.0.0/16" => "Severní Morava", "10.131.0.0/16" => "Jižní Morava", "10.132.0.0/16" => "Morava - Olomouc", "10.133.0.0/16" => "Prostějov", "10.134.0.0/16" => "rezerva pro Moravu", "10.135.0.0/16" => "rezerva pro Moravu", "10.136.0.0/16" => "testovací sítě pro Moravu", "10.144.0.0/16" => "Zlín, Vsetín, Valašské Meziříčí - okresy", "10.152.0.0/16" => "Ostrava - okres", "10.153.0.0/16" => "Ostrava - okres", "10.154.0.0/16" => "Ostrava - okres", "10.155.0.0/16" => "Ostrava - okres", "10.160.0.0/16" => "Teplice a okolí", "10.253.0.0/16" => "NCX - Zápy", "10.254.0.0/16" => "NCX-BACKB-1"); function arfsort( $a, $fl ){ $GLOBALS['__ARFSORT_LIST__'] = $fl; usort( $a, 'arfsort_func' ); return $a; } function arfsort_func( $a, $b ){ foreach( $GLOBALS['__ARFSORT_LIST__'] as $f ) { switch ($f[1]) { // switch on ascending or descending value case "d": $strc = strcmp( strtolower($b[$f[0]]), strtolower($a[$f[0]]) ); if ( $strc != 0 ){ return $strc; } break; default: $strc = strcmp( strtolower($a[$f[0]]), strtolower($b[$f[0]]) ); if ( $strc != 0 ){ return $strc; } break; } } return 0; } function show_small($test) { foreach ($test as $key=>$row) { if($row['OBLAST']=="") { $row['OBLAST']="10.0.0.0/8"; } $ikonka = $row['TYP']; if(!file_exists("ikony/".$ikonka.".png")) { $ikonka = "none"; } print "
 ".$row['NAZEV']."
"; } } function show_big($test) { foreach ($test as $key=>$row) { if($row['OBLAST']=="") { $row['OBLAST']="10.0.0.0/8"; } $ikonka = $row['TYP']; if(!file_exists("ikony/".$ikonka.".png")) { $ikonka = "none"; } print "

".$row['NAZEV']."
"; } } function show_groups($test) { foreach ($test as $key=>$row) { if ($row['TYP']==$pamatuj) { if($row['OBLAST']=="") { $row['OBLAST']="10.0.0.0/8"; } $ikonka = $row['TYP']; if(!file_exists("ikony/".$ikonka.".png")) { $ikonka = "none"; } print "

".$row['NAZEV']."
"; } else { echo "
".$row['TYP'].""; if($row['OBLAST']=="") { $row['OBLAST']="10.0.0.0/8"; } $ikonka = $row['TYP']; if(!file_exists("ikony/".$ikonka.".png")) { $ikonka = "none"; } print "

".$row['NAZEV']."
"; } $pamatuj = $row['TYP']; } } function show_details($test) { foreach ($test as $key=>$row) { print "".$key.": ".$test[$key]."
"; } } $i=0; if ($dir = @opendir(".")) { while (($file = readdir($dir)) !== false) if (preg_match('/^(global|local)-.*.txt/',$file)) { $seznam[$i] = $file; $i++; } $pocet_globalu = $i; $polozka=-1; for ($g=0; $g<$pocet_globalu; $g++) { $file = "./".$seznam[$g]; // $g $fp = Fopen($file, "r"); $dat = Fread($fp, filesize($file)); $data = explode("\n", $dat); $soucet = count($data); for ($j=0; $j<=$soucet; $j++) { if ((($data[$j]!="") and ($data[$j]!=" ")) and ($data[$j][0]!=(chr(13)))) { if (strtoupper(substr("$data[$j]", 0, 4))=="TYP:") { $polozka++; } $item[$polozka]=$item[$polozka].$data[$j]."
"; } $trans = array(" \\\\
" => "", "
" => "
", (chr(13)) => "", ": " => ":", "OBLAST:
" => "OBLAST:10.0.0.0/8
", (chr(9)) => ""); $item[$polozka]=strtr($item[$polozka], $trans); } } // ------- naladujem data do 3-rozmernyho pole ------- for ($k=0; $k<=$polozka; $k++) { $ic = explode("
", $item[$k]); for ($b=0; $b<=(count($ic)); $b++) { if($b==(count($ic))) { $items[$k]['ID']=$k; } else { if(($ic[$b])!="") { $pole = strpos($ic[$b], ":"); if((((substr($ic[$b], 0, $pole))=="URL") or ((substr($ic[$b], 0, $pole))=="URLIP")) or ((substr($ic[$b], 0, $pole))=="URLINET")) { $items[$k][(strtoupper(substr($ic[$b], 0, $pole)))]="".(substr($ic[$b], $pole+1)).""; } else { $items[$k][(strtoupper(substr($ic[$b], 0, $pole)))]=(substr($ic[$b], $pole+1)); } } } } } // ------- a pekne seradime, moc sikovny ;-) ------- $order_arr = array( array('TYP','a'), array('NAZEV','a') ); $sorted = arfsort( $items, $order_arr); // -- zjisteni a serazeni oblasti for ($k=0; $k<=$polozka; $k++) { if ((eregi("OBLAST:", $item[$k])) and (!eregi("OBLAST:
", $item[$k]))){ $vyskyt = strpos($item[$k], "OBLAST:"); $cloud = substr($item[$k], $vyskyt+7, 16); $cloud = substr($cloud, 0, strpos($cloud, "/")+3); if ($cloud[strlen($cloud)-1]=="<") { $cloud = substr($cloud, 0, strpos($cloud, "/")+2); } if (!eregi($cloud, $cloudy)) { $cloudy=$cloudy.$cloud.";"; } } } $oblast = explode(";", $cloudy); $pocet_oblasti = count($oblast)-2; for ($l=0; $l<=$pocet_oblasti; $l++) { for ($m=0; $m<=$pocet_oblasti; $m++) { if ((intval(substr($oblast[$m], 3, 3)))<(intval(substr($oblast[$m-1], 3, 3)))) { $x=$oblast[$m]; $oblast[$m]=$oblast[$m-1]; $oblast[$m-1]=$x; } } } //for ($l=0; $l<=$pocet_oblasti; $l++) { //echo $l.$oblast[$l]."
"; //} // ------- zapiseme hodnoty do cloudovskych poli ------- for ($o=0; $o<=$pocet_oblasti; $o++) { foreach ($items as $key=>$row) { if($row['OBLAST']=="") { $row['OBLAST']="10.0.0.0/8"; } if($row['OBLAST']==$oblast[$o]) { $obl[$oblast[$o]][]=$row; } } } // ------- vypis ve sloupecku vlevo ------- for ($o=0; $o<=$pocet_oblasti; $o++) { echo "".$oblast[$o].""; if(strlen($jmena_cloudu[$oblast[$o]])>=1) { echo "
".$jmena_cloudu[$oblast[$o]]."
"; } else { echo ""; } $sorted2 = arfsort( $obl[$oblast[$o]], $order_arr); show_small($sorted2); } ?>
"; } // ------- pokud neni uvedena oblast ani id ale groupa ano ------- if ((($_GET["oblast"]=="") and ($_GET["id"]=="")) and ($_GET["group"]=="1")) { show_groups($sorted); echo "
"; } // ------- pokud je uvedena oblast i id sluzby ale groupa ne ------- if ((($_GET["oblast"]!="") and ($_GET["id"]!="")) and ($_GET["group"]!="1")) { $sorted3 = arfsort( $obl[$_GET["oblast"]], $order_arr); show_big($sorted3); echo "
"; echo "
Detaily:
"; echo "
"; if ($_GET["id"]<=$polozka) { show_details($items[$_GET["id"]]); } else { echo "Položka neexistuje"; } echo "
"; } // ------- pokud je uvedena oblast i id sluzby i groupa ------- if ((($_GET["oblast"]!="") and ($_GET["id"]!="")) and ($_GET["group"]=="1")) { $sorted3 = arfsort( $obl[$_GET["oblast"]], $order_arr); show_groups($sorted3); echo "
"; echo "
Detaily:
"; echo "
"; if ($_GET["id"]<=$polozka) { show_details($items[$_GET["id"]]); } else { echo "Položka neexistuje"; } echo "
"; } // ------- pokud neni uvedena oblast ale id a groupa ne ------- if ((($_GET["oblast"]=="") and ($_GET["id"]!="")) and ($_GET["group"]!="1")) { if ($_GET["id"]<=$polozka) { if(($items[$_GET["id"]]["OBLAST"])=="") { $sorted4 = arfsort( $obl["10.0.0.0/8"], $order_arr); } else { $sorted4 = arfsort( $obl[$items[$_GET["id"]]['OBLAST']], $order_arr); } show_big($sorted4); } else { show_big($sorted); } echo "
"; echo "
Detaily:
"; echo "
"; if ($_GET["id"]<=$polozka) { show_details($items[$_GET["id"]]); } else { echo "Položka neexistuje"; } echo "
"; } // ------- pokud neni uvedena oblast ale id a groupa ano ------- if ((($_GET["oblast"]=="") and ($_GET["id"]!="")) and ($_GET["group"]=="1")) { if ($_GET["id"]<=$polozka) { if(($items[$_GET["id"]]["OBLAST"])=="") { $sorted4 = arfsort( $obl["10.0.0.0/8"], $order_arr); } else { $sorted4 = arfsort( $obl[$items[$_GET["id"]]['OBLAST']], $order_arr); } show_groups($sorted4); } else { show_groups($sorted); } echo "
"; echo "
Detaily:
"; echo "
"; if ($_GET["id"]<=$polozka) { show_details($items[$_GET["id"]]); } else { echo "Položka neexistuje"; } echo "
"; } // ------- pokud je uvedena oblast ale ne id ani groupa ------- if ((($_GET["oblast"]!="") and ($_GET["id"]=="")) and ($_GET["group"]!="1")){ $sorted3 = arfsort( $obl[$_GET["oblast"]], $order_arr); show_big($sorted3); echo "
"; } // ------- pokud je uvedena oblast a groupa ale ne id ------- if ((($_GET["oblast"]!="") and ($_GET["id"]=="")) and ($_GET["group"]=="1")){ $sorted3 = arfsort( $obl[$_GET["oblast"]], $order_arr); show_groups($sorted3); echo "
"; } } // end ?>
czf4bfu v1.0 - made Unreal][ 
WebSVN - czf4bfu.prosek.czf - Blame - Rev 4 - /old/index.php
  jablonka.czprosek.czf

czf4bfu.prosek.czf

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

 

Line No. Rev Author Line

Powered by WebSVN 2.2.1