Example #1
0
include 'lib.php';
print_header("Event Information");
?>

<div class="grid_10 suffix_1 prefix_1">
<div id="gatherling_main" class="box">
<div class="uppertitle"> Regular Events </div>

<?php 
$active_series = Series::activeNames();
foreach ($active_series as $series_name) {
    if ($series_name == "Other") {
        continue;
    }
    $series = new Series($series_name);
    if (strtotime($series->mostRecentEvent()->start) + 86400 * 7 * 4 < time() && !$series->nextEvent()) {
        continue;
    }
    ?>
<div class="series">
  <div class="series-name"><?php 
    echo "{$series->name}";
    ?>
</div>
  <div class="series-logo"><?php 
    echo Series::image_tag($series->name);
    ?>
</div>
  <div class="series-stewards">
    Hosted by
    <ul>