function printLogoForm($series) { echo "<form action=\"seriescp.php\" method=\"post\" enctype=\"multipart/form-data\">"; echo "<table class=\"form\" style=\"border-width: 0px;\" align=\"center\">"; echo "<input type=\"hidden\" name=\"series\" value=\"{$series->name}\" />"; echo "<tr><th> Current Logo </th>"; echo "<td>" . Series::image_tag($series->name) . "</td> </tr>"; echo "<tr><th> Upload New Logo </th>"; echo "<td> <input type=\"file\" name=\"logo\" /> "; echo "<input type=\"submit\" name=\"action\" value=\"Change Logo\" /> </td> </tr>"; echo "</table> </form> "; }
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> <?php foreach ($series->stewards as $player) { ?> <li><?php echo $player; ?> </li> <?php } ?>