Bildergalerie

Anklicken vergrössert das jeweilige Bild...

select("SELECT id,title,timestamp,comment FROM gallery WHERE shared='Y' LIMIT 1;"); if( mysql_num_rows($result) == 0 ) { echo "

Leider kein Fotoalbum vorhanden!

\n"; } else { $row=mysql_fetch_object($result); $gallery = new Gallery(); $gallery->id = $row->id; $gallery->title = $row->title; $gallery->timestamp = strtotime($row->timestamp); $gallery->comment = $row->comment; $result = $dbConnection->select("SELECT id,file FROM picture WHERE gallery='" . $gallery->id . "' ORDER BY id DESC;"); if( mysql_num_rows($result) == 0 ) { echo "

Leider keine Fotos vorhanden!

\n"; } else { $picCount = 0; while ($row=mysql_fetch_object($result)) { $picture = new Picture(); $picture->id = $row->id; $picture->file = $row->file; echo "file . "');\">file . "&h=80&f=jpg&q=70\" height=\"80\" width=\"107\" class=\"clickbild\" border=\"0\" /> \n"; $picCount++; if( $picCount % 3 == 0 ) { echo "
\n"; } } } } ?>

Tour de Golfplatz

Zum Vergrössern bitte anklicken

Bildergalerie