<li>Return to the <a href="index.php">Calendar Homepage</a></li> </ul> </div> </div> <?php } else { ?> <div class="content-module"> <h1><?php echo $event['title']; ?> </h1> <div class="module-content"> <?php $cal->displayEventSocialMediaBox($event['id']); ?> <div style="clear:both;"></div> <dl id="event-details"> <dt>When</dt> <dd><?php echo date('D, F j, Y @ h:i A', $event['startdate']); ?> </dd> <?php if ($event['location'] != '') { ?> <dt>Location</dt> <dd><?php echo $event['location']; ?>