Esempio n. 1
0
                echo "<td style='width:50px;'><a href=\"javascript:updateOverride('" . $monthlyStat['monthlyUsageSummaryID'] . "');\">update override</a></td>";
                echo "<td style='width:50px;'><a href=\"javascript:ignoreOutlier('" . $monthlyStat['monthlyUsageSummaryID'] . "');\">ignore outlier</a></td>";
                echo "</tr>";
            }
        }
        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'];
            ?>