jablonka.czprosek.czf

czf4bfu

Subversion Repositories:
[/] [index.php] - Diff between revs 12 and 14

Show entire file Ignore whitespace

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&#237;k CZFree.Net</h1> <h1>Rozcestn&#237;k CZFree.Net</h1>
   
Line 44... Line 45...
echo "<a class=\"group\" href=\"?group=".$group."&amp;id=".$czf_id."&amp;oblast=".$czf_oblast.$aname."\">$text podle typu slu&#382;eb</a>"; echo "<a class=\"group\" href=\"?group=".$group."&amp;id=".$czf_id."&amp;oblast=".$czf_oblast.$aname."\">$text podle typu slu&#382;eb</a>";
} else { } else {
echo "<a class=\"group\" href=\"#\">&nbsp;</a>"; echo "<a class=\"group\" href=\"#\">&nbsp;</a>";
} }
?> ?>
  <div class="sizer"></div>
   
<div class="tree"> <div class="tree">
<a class="nomargin title" href="?oblast="><strong>CZFree.net</strong><br>cel&#225; s&#237;&#357;</a> <a class="nomargin title" href="?oblast="><strong>CZFree.net</strong><br>cel&#225; s&#237;&#357;</a>
<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> <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>
<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> <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>
   
   
<?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&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"; 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";
} }
} }
   
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>:&nbsp;".$test["$key"]."<br>"; if (preg_match('%^URL(?:|IP|INET)%',$key)) {
  $row = "<a href=\"".$row."\">".$row."</a>";
  }
  echo "<strong>".$key."</strong>:&nbsp;".$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>&nbsp;</div> <div id="copy">czf4bfu v1.5 - made <a href="http://www.jklir.net/">Unreal][</a>&nbsp;</div>
</body> </body>
</html> </html>

Powered by WebSVN 2.2.1