Ejemplo n.º 1
0
 //determine config settings for outlier usage
 $config = new Configuration();
 if (isset($_GET['publisherPlatformID']) && $_GET['publisherPlatformID'] != '') {
     $publisherPlatformID = $_GET['publisherPlatformID'];
     $platformID = '';
 } else {
     $platformID = $_GET['platformID'];
     $publisherPlatformID = '';
 }
 $statsArray = array();
 if ($publisherPlatformID) {
     $publisherPlatform = new PublisherPlatform(new NamedArguments(array('primaryKey' => $publisherPlatformID)));
     $statsArray = $publisherPlatform->getFullStatsDetails();
 } else {
     $platform = new Platform(new NamedArguments(array('primaryKey' => $platformID)));
     $statsArray = $platform->getFullStatsDetails();
 }
 if (count($statsArray) > 0) {
     echo "<h3 style='margin-bottom:7px;'>Statistics Management</h3>";
     $holdYear = "";
     foreach ($statsArray as $statArray) {
         $year = $statArray['year'];
         if ($year != $holdYear) {
             echo "<div class='bigBlueText'>&nbsp;{$year}</div>";
             //echo "<hr>";
             $holdYear = $year;
         }
         if ($statArray['archiveInd'] == "1") {
             $archive = '&nbsp;(archive)';
         } else {
             $archive = '';