read())) { if ($debug) echo $entry ."
"; if ($entry != "." && $entry != ".." && is_dir($folder . $entry)) { // $folders[] = $entry; } else if ( eregi("thumb_",$entry) ) $do_nothing = 1; else if ( eregi("gif",$entry) ) $files[] = $entry; else if ( eregi("jpg",$entry) ) $files[] = $entry; } sort($files); echo "

.... MZ ES250 (/0) Baujahr 1961 ...


\r\n"; echo "Vorschaubilder nebeneinander:"; for ($p=1; $p<=6; $p++) { echo "".$p." "; } echo "
\r\n"; echo ''."\r\n"; echo ' '."\r\n"; $p=0; while (list($key,$file) = each($files)) { $p++; // echo '
'."\r\n"; // echo ''. $file .' ('.round(filesize($file)/(1024*1024), 2).' MBytes)
'."\r\n"; echo ''."\r\n"; if ( !($p % $columns)) { echo ''."\r\n"; echo ''."\r\n"; } } echo ''."\r\n"; echo '
'."\r\n"; $thumb = "thumb_".$file; if (file_exists($thumb)) { echo '
'."\r\n"; } else { echo '
'."\r\n"; } echo ''. $file .' ('.round(filesize($file)/(1024*1024), 2).' MBytes)'."\r\n"; echo '
'."\r\n"; ?>