Exemplo n.º 1
0
"</b> in the date range of <b><?php 
    echo date('M j, Y', $cal->periodStart);
    ?>
</b> to <b><?php 
    echo date('M j, Y', $cal->periodEnd);
    ?>
</b>. <a href="index.php">Reset calendar.</a></p>
				</div>
		<?php 
}
?>


		<?php 
// Generate the ongoing and upcoming events arrays.
$cal->getUpcomingEvents();
?>

		<?php 
// List any ongoing events.
if (count($cal->ongoingEvents) > 0) {
    ?>
			<div class="content-module">
				<h1>Ongoing Events</h1>
				<div class="module-content">
				<ul>
				<?php 
    foreach ($cal->ongoingEvents as $date => $event) {
        ?>
					<li>
						<b><?php