Meine Photo-Gallerie

Photo-Übersicht | Kommentare

Alle Photos


"; echo "

$comment

"; //Links zum vorherigen/nächsten Photo ausgeben echo "

"; if ($last!="") { echo '<< | ';} echo "Photo-Übersicht"; if ($next!="") { echo ' | >>';} echo "

"; //Kommentare ausgeben while(list($color,$name)=each($comments)) { if ($comment = @file("${name}.txt")) while(list($linenum,$line)=each($comment)) { preg_match("/([^ ]+) (.*)/",$line,$out); if ($out[1] == $show) { echo "".trim($out[2]).""; break; } } } } else { // Ausgabe der Bilderübersicht, Gesamtanzahl durch Anzahl der Spalten teilen, ist etwas kompliziert ;-) $images = file("photos.txt"); $count = count($images)+2; for ($j = 0; $j < $photos_in_row; $j++) { for ($i = $j; $i < $count; $i += $photos_in_row) { $line = $images[$i]; preg_match("/([^ ]+) (.*)/",$line,$out); if ($out[1] != "") { Bild($out[1],$out[2]); } } echo "
\n"; } } ?>

Made using arnep.de PhotoGallerie.

if ($last != "") { echo "\"\""; } if ($next != "") { echo "\"\""; } ?>