echo '
'; } ?>
if($photocount > 0) { ?>
'.$displayalbumname.'
'; if($displayalbumdescription) { echo ''.$displayalbumdescription.'
'; } ?>
-
$getphotos = mysql_query("SELECT * FROM photos WHERE album = '$displayalbum' AND approved > 1 ORDER BY rowid DESC") or die(mysql_error());
while($row = mysql_fetch_assoc($getphotos)) {
$photoid = $row['photoid'];
$caption = $row['caption'];
$credit = $row['credit'];
$website = $row['website'];
$highres = $row['highres'];
echo '
'.$caption.'
'; if($credit) { echo $credit.' '; } if($website) { echo " $website "; } if($highres == 1) { echo ' (view photo in full resolution)'; } echo ' ';
$photocount++;
}
if($photocount < 1) { echo '
There are no photos in this album yet. Upload your photos here!
'; } ?>
(Works best in Chrome. If slides bunch up, try hitting F11.)
} ?>
-
$getphotos = mysql_query("SELECT * FROM photos WHERE album = '$displayalbum' AND approved > 1 ORDER BY rowid DESC") or die(mysql_error());
while($row = mysql_fetch_assoc($getphotos)) {
$photoid = $row['photoid'];
echo '';
}
?>