> \n"; echo "
\n"; echo "

$cfg[TITLE]

\n"; echo "

\n"; if($cfg[DATE]) echo "$cfg[DATE].
\n"; if($cfg[PHOTOS_BY]) echo "Bilder von $cfg[PHOTOS_BY].
\n"; $index = array(); $indexnum = array(); if ($dir = @opendir("index/")) { $files = array(); while ($file = readdir($dir)) { if(eregi("(gif|png|jpg)$", $file)) { $anz ++; $files[] = $file; } } sort($files); for($i=0; $i<$anz; $i++) { $file = $files[$i]; if($t = $cfg["INDEX_$file"]) { $index[$file] = $t; $indexnum[$file] = $i+1; } } closedir($dir); } echo "$anz Bilder insgesamt.\n"; if($cfg[WELCOME_TEXT]) { echo "


$cfg[WELCOME_TEXT]


\n"; } if(file_exists("commentlist.php")) { $newest=0; if($dir = @opendir("comments/")) { while($file=readdir($dir)) { if(substr($file, 0, 1)!=".") { $t=filemtime("comments/$file"); if($t>$newest) { $newest=$t; } } } } echo "Kurzübersicht"; if($newest>0) { echo strftime(" (Letzter Kommentar vom %A, %e. %B %Y, %R)", $newest); } echo "
\n"; } if(file_exists("noframes.php")) { echo "Version ohne Frames"; echo "
\n"; } if(sizeof($index)) { echo "


\n"; echo "\n"; echo "\n"; while(list($key, $val) = each($index)) { echo "\n"; } echo "
\n"; echo "Index:\n"; echo "
\n"; echo "\"*\"\n"; echo "\n"; if($cfg[LISTNUMBER]) $startstr="?start=$indexnum[$key]&listnumber=$cfg[LISTNUMBER]"; else $startstr=""; echo "$val\n"; echo "
\n"; } if($cfg[BACKLINK]) { echo "

\n"; echo "Zurück\n"; } ?>