$days = 31; $color = "green"; break; case "11": $days = 30; $color = "blue"; break; case "12": $days = 31; $color = "magenta"; break; } print " <td><div style=\"background: {$color}; height: {$record[count]}; width: {$colwidth};\"></div>{$label}</td>\n"; } print " <td valign=top>{$max}</td>\n"; print " </tr>\n"; print "</table>"; } #Count pedalpalooza events countrange("2008-06-12", "2008-06-28"); #Count 2008 events countrange("2008-01-01", "2008-12-31"); ?> <div class="content"> <h1>Event counts</h1> <?php graph("2008-06-12", "2008-06-28"); ?> </div> <?php include INCLUDES . "/footer.html";
$days = 31; $color = "green"; break; case "11": $days = 30; $color = "blue"; break; case "12": $days = 31; $color = "magenta"; break; } print " <td><div style=\"background: {$color}; height: {$record[count]}; width: {$colwidth};\"></div>{$label}</td>\n"; } print " <td valign=top>{$max}</td>\n"; print " </tr>\n"; print "</table>"; } #Count pedalpalooza events countrange("2009-06-11", "2009-06-27"); #Count 2009 events countrange("2009-01-01", "2009-12-31"); ?> <div class="content"> <h1>Event counts</h1> <?php graph("2009-06-11", "2009-06-27"); ?> </div> <?php include INCLUDES . "/footer.html";
break; case "10": $days = 31; $color = "green"; break; case "11": $days = 30; $color = "blue"; break; case "12": $days = 31; $color = "magenta"; break; } print " <td><div title=\"{$record[count]} events by {$record[whendate]}\" style=\"background: {$color}; height: {$record[count]}; width: {$colwidth};\"></div>{$label}</td>\n"; } print " <td valign=top>{$max}</td>\n"; print " </tr>\n"; print "</table>"; } #Count pedalpalooza events countrange(PPSTART, PPEND); ?> <div class="content"> <h1>Event counts</h1> <?php graph(PPSTART, PPEND); ?> </div> <?php include INCLUDES . "/footer.html";