//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'> {$year}</div>"; //echo "<hr>"; $holdYear = $year; } if ($statArray['archiveInd'] == "1") { $archive = ' (archive)'; } else { $archive = '';