"; $photoQueryResult = retrieve_event_photos($id, $page, $maxPhotos); $numCols = 3; if($photoQueryResult) { echo ""; } } } ?>
"; //echo "

Coming Soon: $event[title] - ".date('M d, Y',strtotime($event['date']))."

//
"; //

$event[description]

echo "

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


$event[summary]
"; 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 "
Edit Welcome"; include 'inc/footer.php'; ?>