Great Neck South Class of 1972: $event[title]"; include '../inc/album.inc.php'; include '../inc/header.php'; if(!($id && $event)) { echo "

No such event

"; } else { echo "

$event[title] - ".date('m/d/Y',strtotime($event['date']))."

$event[description]

"; if($page == 1) echo "

$event[summary]

"; echo "
"; $photoQueryResult = retrieve_event_photos($id, $page, $maxPhotos); $numCols = 3; if($photoQueryResult) { echo "
"; if(mysql_num_rows($photoQueryResult)) echo ""; $i =0; while ($row = mysql_fetch_array($photoQueryResult)) { if($i % $numCols == 0) { echo " "; } $photoID = $row['photoID']; $photoFileName = $row['photo_url']; $title = $row['title']; echo ""; if($i++ % $numCols == ($numCols - 1) ) { echo "";} } if($i % $numCols != 0) { while( ($i++ % $numCols) != 0) { echo ""; } echo ""; } echo "
Click on a photo to enlarge.
$title

$title

 
"; $result = mysql_query("select count(*) as count FROM gns_event_photos Where eventID='$id'"); $row = mysql_fetch_assoc($result); $count = $row['count']; if($count > $maxPhotos) { echo "
"; } } if($id && $admin) { $adminLink = "Add Photo | Edit Event | Delete Event"; } } include '../inc/footer.php'; ?>