Пример #1
0
             if ($pageStart == $nextPageStarts) {
                 echo "<span class='smallText'>>></span>&nbsp;";
             } else {
                 echo "<a href='javascript:setPageStart(" . $nextPageStarts . ");'>>></a>&nbsp;";
             }
         } else {
             echo "<br />";
         }
     }
     break;
     //display sushi outstanding approval queue
 //display sushi outstanding approval queue
 case 'getOutstandingSushiImports':
     $sushiImport = new ImportLog();
     $sushiArray = array();
     $sushiArray = $sushiImport->getSushiImports();
     if (count($sushiArray) > 0) {
         echo "<table class='dataTable' style='width:830px; max-width:830px;'>";
         echo "<tr>";
         echo "<th style='padding:3px;'>Platform/Publisher</th>";
         echo "<th style='padding:3px;'>Import Run Date</th>";
         echo "<th style='padding:3px;'>Details</th>";
         echo "<th style='padding:3px;'>&nbsp;</th>";
         echo "<th style='padding:3px;'>&nbsp;</th>";
         echo "</tr>";
         foreach ($sushiArray as $sushi) {
             $imp = new ImportLog(new NamedArguments(array('primaryKey' => $sushi['importLogID'])));
             $platforms = $imp->getPlatforms();
             foreach ($platforms as $platform) {
                 if ($platform['platformID'] > 0) {
                     $urlstring = "platformID=" . $platform['platformID'];