pichoster.eu gallery

back to the roots

"; if ($handle = opendir('.')) { while (false !== ($file = readdir($handle))) { if ($file != "." && $file != ".." && $file != ".htaccess" && strpos($file,"[") === FALSE && strpos($file,"#") === FALSE && strpos($file,"del_") === FALSE && $file != "index.php") { if(substr($file,0,3) == "tn_") { $files[filectime($file)][] = $file; } } } closedir($handle); } krsort($files); $c1 = "#DDDDDD"; $c2 = "#FFFFFF"; $cint = 0; $color = $c2; echo ""; $fnew = array(); foreach($files AS $key => $value) { for($j=0;$j"; } } $num = 0; $count = 0; $ocount = 0; foreach($fnew AS $key => $value) { $big = str_replace("tn_", "", $value); //echo "

inline öffnen
blank öffnen
"; $pic = getimagesize($value); $twidth = $pic[0]; $bb = "[img]http://gif.pichoster.eu/images/".$pfad."/".$big."[/img]"; echo "

   del      
"; echo "\n"; $i++; $num++; if(($i % 6) == 0) { $cint++; if(($cint % 2) == 0) $color = $c2; else $color = $c2; echo ""; $i = 1; } $count++; $ocount++; } while(($i %6) != 0) { echo " "; $i++; } echo ""; ?>