jablonka.czprosek.czf

czf4bfu

Subversion Repositories:
[/] [index.php] - Diff between revs 2 and 3

Show entire file Ignore whitespace

Rev 2 Rev 3
Line 1... Line 1...
<?php <?php
  // Nastavime, aby se nam zbytecne nelogovaly chyby
  ini_set('log_errors',FALSE);
   
if ($dir = @opendir(".")) { if ($dir = @opendir(".")) {
echo("<!--CZF4BFU "); echo("<!--CZF4BFU ");
while (($file = readdir($dir)) !== false) while (($file = readdir($dir)) !== false)
if (preg_match('/^(global|local)-.*.txt/',$file)) if (preg_match('/^(global|local)-.*.txt/',$file))
echo $file." "; echo $file." ";
Line 201... Line 204...
echo "<div class=\"icon\"><a title=\"".$row['POPIS']."\" href=\"?id=".$row['ID']."&oblast=".$row['OBLAST']."#".$row['OBLAST']."\"><img title=\"".$row['POPIS']."\" border=\"0\" width=\"32\" src=\"ikony/$ikonka.png\"><br>".$row['NAZEV']."</a></div>\n"; echo "<div class=\"icon\"><a title=\"".$row['POPIS']."\" href=\"?id=".$row['ID']."&oblast=".$row['OBLAST']."#".$row['OBLAST']."\"><img title=\"".$row['POPIS']."\" border=\"0\" width=\"32\" src=\"ikony/$ikonka.png\"><br>".$row['NAZEV']."</a></div>\n";
} }
} }
   
function show_groups($test) { function show_groups($test) {
  $pamatuj = "";
foreach ($test as $key=>$row) { foreach ($test as $key=>$row) {
   
if ($row['TYP']==$pamatuj) { if ($row['TYP']==$pamatuj) {
   
if($row['OBLAST']=="") { $row['OBLAST']="10.0.0.0/8"; } if($row['OBLAST']=="") { $row['OBLAST']="10.0.0.0/8"; }
Line 338... Line 342...
   
for ($o=0; $o<=$pocet_oblasti; $o++) { for ($o=0; $o<=$pocet_oblasti; $o++) {
foreach ($items as $key=>$row) { foreach ($items as $key=>$row) {
if($row['OBLAST']=="") { $row['OBLAST']="10.0.0.0/8"; } if($row['OBLAST']=="") { $row['OBLAST']="10.0.0.0/8"; }
if($row['OBLAST']==$oblast[$o]) { if($row['OBLAST']==$oblast[$o]) {
   
$obl[$oblast[$o]][]=$row; $obl[$oblast[$o]][]=$row;
} }
} }
} }
   
// ------- prekodujem nazvy cloudu, aby nam nedelaly bordel pri spatnym kodovani ------- // ------- prekodujem nazvy cloudu, aby nam nedelaly bordel pri spatnym kodovani -------
   

Powered by WebSVN 2.2.1