czf4bfu |
Subversion Repositories: |
Rev 14 | Rev 16 | |
---|---|---|
Line 5... | Line 5... | |
// max_execution_time, pro fungovani je nutne vypnout Safe_mod |
// max_execution_time, pro fungovani je nutne vypnout Safe_mod | |
set_time_limit(0); |
set_time_limit(0); | |
|
| |
$seznam = array(); |
$seznam = array(); | |
echo "<!--CZF4BFU "; |
echo "<!--CZF4BFU "; | |
if ($dir = opendir(".")) { |
if (function_exists('scandir')) { | |
while (($file = readdir($dir)) !== false) |
$scan = scandir("."); | |
if (preg_match('/^(?:global|local)-.*.txt$/',$file)) { |
foreach($scan as $file) { | |
echo $file." "; |
if (preg_match('/^(?:global|local)-.*.txt$/',$file)) { | |
$seznam[] = $file; |
echo $file." "; | |
} |
$seznam[] = $file; | |
} | ||
} | ||
} else { | ||
if ($dir = opendir(".")) { | ||
while (($file = readdir($dir)) !== false) | ||
if (preg_match('/^(?:global|local)-.*.txt$/',$file)) { | ||
echo $file." "; | ||
$seznam[] = $file; | ||
} | ||
} | ||
} |
} | |
echo "-->\n"; |
echo "-->\n"; | |
?> |
?> | |
|
| |
<!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.5 (c) Jirka Klír 2009 for CZFree.net ;-) # --> |
<!-- Unreal][ # http://www.jklir.net # Licence: GNU/GPL # v 1.6 (c) Jirka Klír 2010 for CZFree.net ;-) # --> | |
<title>CZF4BFU<?php if($_GET["oblast"]!="") echo " | ".$_GET["oblast"]; ?></title> |
<title>CZF4BFU<?php if($_GET["oblast"]!="") echo " | ".$_GET["oblast"]; ?><?php if($_GET["group"]=="2") echo " | Cloudy"; ?></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"> |
<link rel="SHORTCUT ICON" href="favicon.ico"> | |
Line 49... | Line 59... | |
?> |
?> | |
<div class="sizer"></div> |
<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"><span>seznam služeb</span></a></div> |
<div class="smallicon"><a title="seznam služeb" href="?oblast="><img class="dot" 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"><span>seznam cloudů</span></a></div> |
<div class="smallicon"><a title="seznam cloudů" href="?group=2"><img class="dot" 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 93... | Line 103... | |
"10.50.0.0/16" => "Praha - Centrum Prahy", |
"10.50.0.0/16" => "Praha - Centrum Prahy", | |
"10.51.0.0/16" => "Praha - Petřiny", |
"10.51.0.0/16" => "Praha - Petřiny", | |
"10.52.0.0/16" => "Praha - Vrovice", |
"10.52.0.0/16" => "Praha - Vrovice", | |
"10.55.0.0/16" => "Connection.cz", |
"10.55.0.0/16" => "Connection.cz", | |
"10.63.0.0/17" => "Rakovník a okolí", |
"10.63.0.0/17" => "Rakovník a okolí", | |
"10.64.0.0/17" => "Křivoklátsko a okolí", | ||
"10.66.0.0/16" => "Hostivice, Chýně, Ptice, Červený Újezd, Sobín", |
"10.66.0.0/16" => "Hostivice, Chýně, Ptice, Červený Újezd, Sobín", | |
"10.67.0.0/16" => "Rudná u Prahy, Ptice, Úhonice, Drahelčice", |
"10.67.0.0/16" => "Rudná u Prahy, Ptice, Úhonice, Drahelčice", | |
"10.69.0.0/17" => "Mělník a okolí", |
"10.69.0.0/17" => "Mělník a okolí", | |
"10.69.128.0/17" => "Neratovice a okolí", |
"10.69.128.0/17" => "Neratovice a okolí", | |
"10.70.0.0/16" => "Beroun a okolí", |
"10.70.0.0/16" => "Beroun a okolí", | |
Line 120... | Line 131... | |
"10.105.0.0/17" => "Kolín", |
"10.105.0.0/17" => "Kolín", | |
"10.106.0.0/16" => "Kutná Hora - okres", |
"10.106.0.0/16" => "Kutná Hora - okres", | |
"10.107.0.0/16" => "Hradec Králové", |
"10.107.0.0/16" => "Hradec Králové", | |
"10.108.0.0/16" => "České Budějovice", |
"10.108.0.0/16" => "České Budějovice", | |
"10.109.0.0/16" => "Plzeň", |
"10.109.0.0/16" => "Plzeň", | |
"10.110.0.0/17" => "Chrudim", |
"10.110.0.0/17" => "Chrudim, Pradubice a okolí", | |
"10.111.0.0/16" => "Plzeň - sever", |
"10.110.128.0/17" => "Starý Plzenec", | |
"10.111.0.0/16" => "Třemoná a okolí, Plzeň - sever", | ||
"10.112.0.0/16" => "Lysá nad Labem", |
"10.112.0.0/16" => "Lysá nad Labem", | |
"10.113.0.0/16" => "Louny, atec, Pobořany", |
"10.113.0.0/16" => "Louny, atec, Pobořany", | |
"10.114.0.0/16" => "Příbram", |
"10.114.0.0/16" => "Příbram", | |
"10.115.0.0/16" => "Nové Straecí a okolí", | ||
"10.117.0.0/16" => "Turnov a okolí", |
"10.117.0.0/16" => "Turnov a okolí", | |
"10.120.0.0/18" => "MH2Net - Mnichovo Hraditě směr Turnov", |
"10.120.0.0/18" => "MH2Net - Mnichovo Hraditě směr Turnov", | |
"10.128.0.0/15" => "Brno - město", |
"10.128.0.0/15" => "Brno - město", | |
"10.128.0.0/16" => "Brno - město", |
"10.128.0.0/16" => "Brno - město", | |
"10.129.0.0/16" => "okolí Brna", |
"10.129.0.0/16" => "okolí Brna", | |
Line 136... | Line 149... | |
"10.130.0.0/16" => "Severní Morava", |
"10.130.0.0/16" => "Severní Morava", | |
"10.131.0.0/16" => "Uherské Hraditě", |
"10.131.0.0/16" => "Uherské Hraditě", | |
"10.132.0.0/16" => "Střední Morava - Olomouc", |
"10.132.0.0/16" => "Střední Morava - Olomouc", | |
"10.133.0.0/16" => "Prostějov", |
"10.133.0.0/16" => "Prostějov", | |
"10.134.0.0/16" => "Přerovsko", |
"10.134.0.0/16" => "Přerovsko", | |
"10.135.0.0/16" => "rezerva pro Moravu", |
"10.135.0.0/16" => "BrNet - Brno", | |
"10.136.0.0/16" => "testovací sítě pro Moravu", |
"10.136.0.0/16" => "testovací sítě pro Moravu", | |
"10.144.0.0/16" => "Zlín, Vsetín, Valaské Meziříčí - okresy", |
"10.144.0.0/16" => "Zlín, Vsetín, Valaské Meziříčí - okresy", | |
"10.145.0.0/16" => "Nový Jičín, Kopřivnice, Frýdek Místek - okresy", |
"10.145.0.0/16" => "Nový Jičín, Kopřivnice, Frýdek Místek - okresy", | |
"10.152.0.0/16" => "Ostrava - okres", |
"10.152.0.0/16" => "Ostrava - okres", | |
"10.153.0.0/16" => "Ostrava - okres", |
"10.153.0.0/16" => "Ostrava - okres", | |
"10.154.0.0/16" => "Ostrava - okres", |
"10.154.0.0/16" => "Ostrava - okres", | |
"10.155.0.0/16" => "Ostrava - okres", |
"10.155.0.0/16" => "Ostrava - okres", | |
"10.161.0.0/16" => "Evkanet - Ostrava", |
"10.161.0.0/16" => "Evkanet - Ostrava", | |
"10.193.64.0/18" => "Varnsdorf a okolí", | ||
"10.225.0.0/16" => "CZFree-ol - Olomouc", | ||
"10.253.0.0/16" => "NCX - Zápy", |
"10.253.0.0/16" => "NCX - Zápy", | |
"10.254.0.0/16" => "NCX Labyrint"); |
"10.254.0.0/16" => "NCX Labyrint"); | |
|
| |
$sort_cz = 0; |
$sort_cz = 0; | |
|
| |
Line 180... | Line 195... | |
$strc = strnatcmp($a,$b); |
$strc = strnatcmp($a,$b); | |
if ($strc!=0) { |
if ($strc!=0) { | |
return $strc; |
return $strc; | |
} |
} | |
return 0; |
return 0; | |
} | ||
| ||
function get_icon($bfufile, $icon, $typ) { | ||
if(isset($icon)) { | ||
preg_match('/^(.*)\/([^\/]+)$/i', $icon, $iconname); | ||
$ikonka = "cache/".$bfufile."_".$iconname[2]; | ||
if(!file_exists($ikonka)) { | ||
$ikonka = "ikony/".$typ.".png"; | ||
if(!file_exists($ikonka)) { | ||
$ikonka = "ikony/none.png"; | ||
} | ||
} | ||
} else { | ||
$ikonka = "ikony/".$typ.".png"; | ||
if(!file_exists($ikonka)) { $ikonka = "ikony/none.png"; } | ||
} | ||
return $ikonka; | ||
} |
} | |
|
| |
function show_small($test) { |
function show_small($test) { | |
foreach ($test as $key=>$row) { |
foreach ($test as $key=>$row) { | |
$oblastx = $row["OBLAST"]; |
$oblastx = $row["OBLAST"]; | |
$typ = $row["TYP"]; |
$typ = $row["TYP"]; | |
$nazev = $row["NAZEV"]; |
$nazev = $row["NAZEV"]; | |
$id = $row["ID"]; |
$id = $row["ID"]; | |
$ikonka = $typ; |
$ikonka = $row["BFUICON"]; | |
if(!file_exists("ikony/".$ikonka.".png")) $ikonka = "none"; |
echo "<div class=\"smallicon\"><a title=\"$nazev\" href=\"?id=$id&oblast=$oblastx#$oblastx\"><img title=\"$nazev\" src=\"$ikonka\"><span>$nazev</span></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) { | |
$oblastx = $row["OBLAST"]; |
$oblastx = $row["OBLAST"]; | |
$typ = $row["TYP"]; |
$typ = $row["TYP"]; | |
$nazev = $row["NAZEV"]; |
$nazev = $row["NAZEV"]; | |
$popis = $row["POPIS"]; |
$popis = $row["POPIS"]; | |
$id = $row["ID"]; |
$id = $row["ID"]; | |
$ikonka = $typ; |
$ikonka = $row["BFUICON"]; | |
if(!file_exists("ikony/".$ikonka.".png")) $ikonka = "none"; |
echo "<div class=\"icon\"><a title=\"".$popis."\" href=\"?id=".$id."&oblast=".$oblastx."#".$oblastx."\"><img title=\"".$popis."\" src=\"$ikonka\"><br>".$nazev."</a></div>\n"; | |
echo "<div class=\"icon\"><a title=\"".$popis."\" href=\"?id=".$id."&oblast=".$oblastx."#".$oblastx."\"><img title=\"".$popis."\" border=\"0\" width=\"32\" src=\"ikony/$ikonka.png\"><br>".$nazev."</a></div>\n"; |
||
} |
} | |
} |
} | |
|
| |
function show_groups($test) { |
function show_groups($test) { | |
$pamatuj = ""; |
$pamatuj = ""; | |
Line 216... | Line 246... | |
$oblastx = $row["OBLAST"]; |
$oblastx = $row["OBLAST"]; | |
$typ = $row["TYP"]; |
$typ = $row["TYP"]; | |
$nazev = $row["NAZEV"]; |
$nazev = $row["NAZEV"]; | |
$popis = $row["POPIS"]; |
$popis = $row["POPIS"]; | |
$id = $row["ID"]; |
$id = $row["ID"]; | |
$ikonka = $typ; |
$ikonka = $row["BFUICON"]; | |
if(!file_exists("ikony/".$ikonka.".png")) $ikonka = "none"; |
||
|
| |
if ($typ===$pamatuj) { |
if ($typ===$pamatuj) { | |
echo "<div class=\"icon\"><a title=\"".$popis."\" href=\"?id=".$id."&oblast=".$oblastx."#".$oblastx."\"><img title=\"".$popis."\" border=\"0\" width=\"32\" src=\"ikony/$ikonka.png\"><br>".$nazev."</a></div>\n"; |
echo "<div class=\"icon\"><a title=\"".$popis."\" href=\"?id=".$id."&oblast=".$oblastx."#".$oblastx."\"><img title=\"".$popis."\" src=\"$ikonka\"><br>".$nazev."</a></div>\n"; | |
} else { |
} else { | |
if($x==0) { $nomargin = "nomargin "; $x==1; } else { $nomargin = ""; } |
if($x==0) { $nomargin = "nomargin "; $x==1; } else { $nomargin = ""; } | |
echo "<div class=\"sizer\"></div><a name=\"".$typ."\" href=\"#".$typ."\" class=\"".$nomargin."title\">".$typ."</a>\n"; |
echo "<div class=\"sizer\"></div><a name=\"".$typ."\" href=\"#".$typ."\" class=\"".$nomargin."title\">".$typ."</a>\n"; | |
echo "<div class=\"icon\"><a title=\"".$popis."\" href=\"?id=".$id."&oblast=".$oblastx."#".$oblastx."\"><img title=\"".$popis."\" border=\"0\" width=\"32\" src=\"ikony/$ikonka.png\"><br>".$nazev."</a></div>\n"; |
echo "<div class=\"icon\"><a title=\"".$popis."\" href=\"?id=".$id."&oblast=".$oblastx."#".$oblastx."\"><img title=\"".$popis."\" src=\"$ikonka\"><br>".$nazev."</a></div>\n"; | |
} |
} | |
$pamatuj = $typ; |
$pamatuj = $typ; | |
} |
} | |
} |
} | |
|
| |
Line 238... | Line 267... | |
if($row!="") { |
if($row!="") { | |
$cl_popis = $jmena_cloudu["$row"]; |
$cl_popis = $jmena_cloudu["$row"]; | |
$cl_naz = $row; |
$cl_naz = $row; | |
$cl_nazev = $row."<br>".$cl_popis; |
$cl_nazev = $row."<br>".$cl_popis; | |
|
| |
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"; |
echo "<div class=\"icon2\"><a title=\"".$cl_popis."\" href=\"?oblast=".$cl_naz."#".$cl_naz."\"><img title=\"".$cl_popis."\" src=\"img/cloud.png\"><br>".$cl_nazev."</a></div>\n"; | |
} |
} | |
} |
} | |
} |
} | |
|
| |
function show_details($test) { |
function show_details($test) { | |
$ikonka_det = $test["TYP"]; |
$ikonka_det = $test["TYP"]; | |
if(!file_exists("ikony/".$ikonka_det.".png")) $ikonka_det = "none"; |
$ikonka_url = $test["BFUICON"]; | |
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=\"$ikonka_url\"></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|#)%',$key)) { |
if(!preg_match('%^(?:HESLOEDIT|SOURCE|BFUFILE|BFUICON|#)%',$key)) { | |
if (preg_match('%^URL(?:|IP|INET)%',$key)) { |
if (preg_match('%^URL(?:|IP|INET)%',$key)) { | |
$row = "<a href=\"".$row."\">".$row."</a>"; |
$row = "<a href=\"".$row."\">".$row."</a>"; | |
} |
} | |
echo "<strong>".$key."</strong>: ".$row."<br>"; |
echo "<strong>".$key."</strong>: ".$row."<br>"; | |
} |
} | |
} |
} | |
echo "</div><div class=\"info_cut\"></div></div>"; |
echo "</div><div class=\"info_cut\"></div></div>"; | |
} |
} | |
|
||
|
| |
if(!empty($seznam)) { |
if(!empty($seznam)) { | |
|
| |
$item = array(); |
$item = array(); | |
$items = array(); |
$items = array(); | |
$oblast = array(); |
$oblast = array(); | |
|
| |
$polozka=-1; |
$polozka=-1; | |
$patterns = array('%\:(?:\s|\t)+%', '%(?:\s|\t)+$%', '%(?:\s|\t)\\\\$%', '%OBLAST\:$%i'); | ||
$replacements = array(":", "", "", "OBLAST:10.0.0.0/8"); | ||
$trans = array((chr(13)) => "", (chr(9)) => "", "á" => "á", "é" => "é", "ě" => "ě", "í" => "í", "ó" => "ó", "ú" => "ú", "ů" => "ů", "ý" => "ý", "" => "ž", "" => "š", "č" => "č", "ř" => "ř", "ď" => "ď", "" => "ť", "ň" => "ň", "Á" => "Á", "É" => "É", "Ě" => "Ě", "Í" => "Í", "Ó" => "Ó", "Ú" => "Ú", "Ů" => "Ů", "Ý" => "Ý", "" => "Ž", "" => "Š", "Č" => "Č", "Ř" => "Ř", "Ď" => "Ď", "" => "Ť", "Ň" => "Ň", "ž" => "ž", "š" => "š"); | ||
|
| |
foreach($seznam as $fil) { |
foreach($seznam as $fil) { | |
$dat = file_get_contents($fil); |
$dat = file_get_contents($fil); | |
$data = explode("\n", $dat); |
$data = explode("\n", $dat); | |
$soucet = count($data); |
$soucet = count($data); | |
|
| |
for ($j=0; $j<=$soucet; ++$j) { |
for ($j=0; $j<=$soucet; ++$j) { | |
if ((($data[$j]!="") and ($data[$j]!=" ")) and ($data[$j][0]!=(chr(13)))) { |
if ((($data[$j]!="") and ($data[$j]!=" ")) and ($data[$j][0]!=(chr(13)))) { | |
if (preg_match('%^TYP:%i',$data[$j])) $polozka++; |
if (preg_match('%^TYP:%i',$data[$j])) { | |
$polozka++; | ||
preg_match('/^(?:global|local)-(.*).txt$/i', $fil, $filen); | ||
$item[$polozka]=$item[$polozka]."BFUFILE:".$filen[1]."<br>"; | ||
} | ||
$data[$j] = preg_replace($patterns, $replacements, $data[$j]); | ||
$data[$j] = strtr($data[$j], $trans); | ||
$item[$polozka]=$item[$polozka].$data[$j]."<br>"; |
$item[$polozka]=$item[$polozka].$data[$j]."<br>"; | |
} |
} | |
} |
} | |
} |
} | |
|
| |
// ------- naladujem data do 3-rozmernyho pole ------- |
// ------- naladujem data do 3-rozmernyho pole ------- | |
|
||
$trans = array(" \\\\<br>" => "", " <br>" => "<br>", (chr(13)) => "", "OBLAST:<br>" => "OBLAST:10.0.0.0/8<br>", (chr(9)) => "", "á" => "á", "é" => "é", "ě" => "ě", "í" => "í", "ó" => "ó", "ú" => "ú", "ů" => "ů", "ý" => "ý", "" => "ž", "" => "š", "č" => "č", "ř" => "ř", "ď" => "ď", "" => "ť", "ň" => "ň", "Á" => "Á", "É" => "É", "Ě" => "Ě", "Í" => "Í", "Ó" => "Ó", "Ú" => "Ú", "Ů" => "Ů", "Ý" => "Ý", "" => "Ž", "" => "Š", "Č" => "Č", "Ř" => "Ř", "Ď" => "Ď", "" => "Ť", "Ň" => "Ň", "ž" => "ž", "š" => "š"); |
||
|
| |
for ($k=0; $k<=$polozka; ++$k) { |
for ($k=0; $k<=$polozka; ++$k) { | |
$item[$k]=strtr($item[$k], $trans); |
||
$item[$k]=preg_replace('%\:(?:\s|\t)+%', ':', $item[$k]); // tydyt pridelava praci |
||
if(preg_match('%OBLAST:%i', $item[$k])) { |
if(preg_match('%OBLAST:%i', $item[$k])) { | |
preg_match('%OBLAST:(.*?)(<br)%i', $item[$k], $cloud); |
preg_match('%OBLAST:(.*?)(<br)%i', $item[$k], $cloud); | |
if (!isset($obl["$cloud[1]"])) { |
if (!isset($obl["$cloud[1]"])) { | |
$oblast[] = $cloud[1]; |
$oblast[] = $cloud[1]; | |
$jmena_cloudu["$cloud[1]"]=strtr($jmena_cloudu["$cloud[1]"], array("á" => "á", "é" => "é", "ě" => "ě", "í" => "í", "ó" => "ó", "ú" => "ú", "ů" => "ů", "ý" => "ý", "" => "ž", "" => "š", "č" => "č", "ř" => "ř", "ď" => "ď", "" => "ť", "ň" => "ň", "Á" => "Á", "É" => "É", "Ě" => "Ě", "Í" => "Í", "Ó" => "Ó", "Ú" => "Ú", "Ů" => "Ů", "Ý" => "Ý", "" => "Ž", "" => "Š", "Č" => "Č", "Ř" => "Ř", "Ď" => "Ď", "" => "Ť", "Ň" => "Ň")); |
$jmena_cloudu["$cloud[1]"]=strtr($jmena_cloudu["$cloud[1]"], array("á" => "á", "é" => "é", "ě" => "ě", "í" => "í", "ó" => "ó", "ú" => "ú", "ů" => "ů", "ý" => "ý", "" => "ž", "" => "š", "č" => "č", "ř" => "ř", "ď" => "ď", "" => "ť", "ň" => "ň", "Á" => "Á", "É" => "É", "Ě" => "Ě", "Í" => "Í", "Ó" => "Ó", "Ú" => "Ú", "Ů" => "Ů", "Ý" => "Ý", "" => "Ž", "" => "Š", "Č" => "Č", "Ř" => "Ř", "Ď" => "Ď", "" => "Ť", "Ň" => "Ň")); | |
Line 303... | Line 336... | |
|
| |
$ic = explode("<br>", $item[$k]); |
$ic = explode("<br>", $item[$k]); | |
$cnt_ic = (count($ic)); |
$cnt_ic = (count($ic)); | |
for ($b=0; $b<=$cnt_ic; ++$b) { |
for ($b=0; $b<=$cnt_ic; ++$b) { | |
if($b===$cnt_ic) { |
if($b===$cnt_ic) { | |
$items[$k]["BFUICON"]=get_icon($items[$k]["BFUFILE"], $items[$k]["ICON"], $items[$k]["TYP"]); | ||
$items[$k]["ID"]=$k; |
$items[$k]["ID"]=$k; | |
} else { |
} else { | |
if(($ic[$b])!="") { |
if(($ic[$b])!="") { | |
$pole = strpos($ic[$b], ":"); |
$pole = strpos($ic[$b], ":"); | |
$items[$k][(strtoupper(substr($ic[$b], 0, $pole)))]=(substr($ic[$b], $pole+1)); |
$items[$k][(strtoupper(substr($ic[$b], 0, $pole)))]=(substr($ic[$b], $pole+1)); | |
Line 465... | Line 499... | |
unset($oblast); |
unset($oblast); | |
} // end seznam |
} // end seznam | |
|
| |
?> |
?> | |
|
| |
<div id="copy">czf4bfu v1.5 - made <a href="http://www.jklir.net/">Unreal][</a> </div> |
<div id="copy">czf4bfu v1.6 - made <a href="http://www.jklir.net/">Unreal][</a> </div> | |
</body> |
</body> | |
</html> |
</html> |