czf4bfu |
Subversion Repositories: |
Rev 12 | Rev 14 | |
---|---|---|
Line 18... | Line 18... | |
?> |
?> | |
|
| |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> | |
<html> |
<html> | |
<head> |
<head> | |
<!-- Unreal][ # http://www.jklir.net # Licence: GNU/GPL # v 1.4 (c) Jirka Klír 2009 for CZFree.net ;-) # --> |
<!-- Unreal][ # http://www.jklir.net # Licence: GNU/GPL # v 1.5 (c) Jirka Klír 2009 for CZFree.net ;-) # --> | |
<title>CZF4BFU<?php if($_GET["oblast"]!="") echo " - ".$_GET["oblast"]; ?></title> |
<title>CZF4BFU<?php if($_GET["oblast"]!="") echo " | ".$_GET["oblast"]; ?></title> | |
<meta http-equiv="Content-Type" content="text/html; charset=windows-1250" /> |
<meta http-equiv="Content-Type" content="text/html; charset=windows-1250" /> | |
<meta http-equiv="Content-language" content="cs" /> |
<meta http-equiv="Content-language" content="cs" /> | |
<meta name="author" content="Unreal][, http://www.jklir.net"> |
<meta name="author" content="Unreal][, http://www.jklir.net"> | |
<link href="styl.css" rel="stylesheet" type="text/css"> |
<link href="styl.css" rel="stylesheet" type="text/css"> | |
<link rel="SHORTCUT ICON" href="favicon.ico"> | ||
</head> |
</head> | |
<body> |
<body> | |
|
| |
<h1>Rozcestník CZFree.Net</h1> |
<h1>Rozcestník CZFree.Net</h1> | |
|
| |
Line 44... | Line 45... | |
echo "<a class=\"group\" href=\"?group=".$group."&id=".$czf_id."&oblast=".$czf_oblast.$aname."\">$text podle typu služeb</a>"; |
echo "<a class=\"group\" href=\"?group=".$group."&id=".$czf_id."&oblast=".$czf_oblast.$aname."\">$text podle typu služeb</a>"; | |
} else { |
} else { | |
echo "<a class=\"group\" href=\"#\"> </a>"; |
echo "<a class=\"group\" href=\"#\"> </a>"; | |
} |
} | |
?> |
?> | |
<div class="sizer"></div> | ||
|
| |
<div class="tree"> |
<div class="tree"> | |
<a class="nomargin title" href="?oblast="><strong>CZFree.net</strong><br>celá síť</a> |
<a class="nomargin title" href="?oblast="><strong>CZFree.net</strong><br>celá síť</a> | |
<div class="smallicon"><a title="seznam služeb" href="?oblast="><img width="10" border="0" src="img/point.png"></a> <a title="seznam služeb" href="?oblast=">seznam služeb</a></div> |
<div class="smallicon"><a title="seznam služeb" href="?oblast="><img width="10" border="0" src="img/point.png"><span>seznam služeb</span></a></div> | |
<div class="smallicon"><a title="seznam cloudů" href="?group=2"><img width="10" border="0" src="img/point.png"></a> <a title="seznam cloudů" href="?group=2">seznam cloudů</a></div> |
<div class="smallicon"><a title="seznam cloudů" href="?group=2"><img width="10" border="0" src="img/point.png"><span>seznam cloudů</span></a></div> | |
|
| |
|
| |
<?php |
<?php | |
$jmena_cloudu = array("10.1.0.0/16" => "Connection.cz / AS Centrum network", |
$jmena_cloudu = array("10.1.0.0/16" => "Connection.cz / AS Centrum network", | |
"10.2.0.0/16" => "Praha - Connection.cz", |
"10.2.0.0/16" => "Praha - Connection.cz", | |
Line 188... | Line 190... | |
$typ = $row["TYP"]; |
$typ = $row["TYP"]; | |
$nazev = $row["NAZEV"]; |
$nazev = $row["NAZEV"]; | |
$id = $row["ID"]; |
$id = $row["ID"]; | |
$ikonka = $typ; |
$ikonka = $typ; | |
if(!file_exists("ikony/".$ikonka.".png")) $ikonka = "none"; |
if(!file_exists("ikony/".$ikonka.".png")) $ikonka = "none"; | |
echo "<div class=\"smallicon\"><a title=\"$nazev\" href=\"?id=$id&oblast=$oblastx#$oblastx\"><img width=\"16\" title=\"$nazev\" border=\"0\" src=\"ikony/$ikonka.png\"></a> <a title=\"$nazev\" href=\"?id=$id&oblast=$oblastx#$oblastx\">$nazev</a></div>\n"; |
echo "<div class=\"smallicon\"><a title=\"$nazev\" href=\"?id=$id&oblast=$oblastx#$oblastx\"><img width=\"16\" title=\"$nazev\" border=\"0\" src=\"ikony/$ikonka.png\"><span>$nazev</span></a></div>\n"; | |
} |
} | |
} |
} | |
|
| |
function show_big($test) { |
function show_big($test) { | |
foreach ($test as $row) { |
foreach ($test as $row) { | |
Line 248... | Line 250... | |
if(!file_exists("ikony/".$ikonka_det.".png")) $ikonka_det = "none"; |
if(!file_exists("ikony/".$ikonka_det.".png")) $ikonka_det = "none"; | |
echo "<div class=\"det\">"; |
echo "<div class=\"det\">"; | |
echo "<div class=\"icon_det\"><img alt=\"$ikonka_det\" src=\"ikony/$ikonka_det.png\"></div>"; |
echo "<div class=\"icon_det\"><img alt=\"$ikonka_det\" src=\"ikony/$ikonka_det.png\"></div>"; | |
echo "<div class=\"info_det\">"; |
echo "<div class=\"info_det\">"; | |
foreach ($test as $key=>$row) { |
foreach ($test as $key=>$row) { | |
if(!preg_match('%^(?:HESLOEDIT|SOURCE|#)%i',$key)) { |
if(!preg_match('%^(?:HESLOEDIT|SOURCE|#)%',$key)) { | |
echo "<strong>".$key."</strong>: ".$test["$key"]."<br>"; |
if (preg_match('%^URL(?:|IP|INET)%',$key)) { | |
$row = "<a href=\"".$row."\">".$row."</a>"; | ||
} | ||
echo "<strong>".$key."</strong>: ".$row."<br>"; | ||
} |
} | |
} |
} | |
echo "</div><div class=\"info_cut\"></div></div>"; |
echo "</div><div class=\"info_cut\"></div></div>"; | |
} |
} | |
|
| |
Line 302... | Line 307... | |
if($b===$cnt_ic) { |
if($b===$cnt_ic) { | |
$items[$k]["ID"]=$k; |
$items[$k]["ID"]=$k; | |
} else { |
} else { | |
if(($ic[$b])!="") { |
if(($ic[$b])!="") { | |
$pole = strpos($ic[$b], ":"); |
$pole = strpos($ic[$b], ":"); | |
if (preg_match('%^URL(?:|IP|INET):%i',$ic[$b])) { |
$items[$k][(strtoupper(substr($ic[$b], 0, $pole)))]=(substr($ic[$b], $pole+1)); | |
//if(!preg_match('%\/\/%',$ic[$b])) { $url_add = "http://"; } else { $url_add = ""; } |
||
$items[$k][(strtoupper(substr($ic[$b], 0, $pole)))]="<a href=\"".(substr($ic[$b], $pole+1))."\">".(substr($ic[$b], $pole+1))."</a>"; |
||
} else { |
||
$items[$k][(strtoupper(substr($ic[$b], 0, $pole)))]=(substr($ic[$b], $pole+1)); |
||
} |
||
} |
} | |
} |
} | |
} |
} | |
$obl["$cloud[1]"][] = $items[$k]; |
$obl["$cloud[1]"][] = $items[$k]; | |
} |
} | |
Line 465... | Line 465... | |
unset($oblast); |
unset($oblast); | |
} // end seznam |
} // end seznam | |
|
| |
?> |
?> | |
|
| |
<div id="copy">czf4bfu v1.4 - made <a href="http://www.jklir.net">Unreal][</a> </div> |
<div id="copy">czf4bfu v1.5 - made <a href="http://www.jklir.net/">Unreal][</a> </div> | |
</body> |
</body> | |
</html> |
</html> |