} } echo "</table>"; break; case 'getYearlyOverrideStatsTable': $publisherPlatformID = $_GET['publisherPlatformID']; $platformID = $_GET['platformID']; $archiveInd = $_GET['archiveInd']; $year = $_GET['year']; $statsArray = array(); if ($publisherPlatformID) { $publisherPlatform = new PublisherPlatform(new NamedArguments(array('primaryKey' => $publisherPlatformID))); $statsArray = $publisherPlatform->getYearlyOverrides($archiveInd, $year); } else { $platform = new Platform(new NamedArguments(array('primaryKey' => $platformID))); $statsArray = $platform->getYearlyOverrides($archiveInd, $year); } ?> <table border='0' style='width:400px'> <?php foreach ($statsArray as $yearlyStat) { ?> <tr> <td width="149"><?php echo $yearly_stat['Title']; ?> </td> <td width="40">Total<td> <td width="40" ><?php