if (($reportType == "12") && ($removeRogue != "")) {
    remove_from_rogue($removeRogue);
    echo "Agent Removed from Rogue List <br>";
}


$myReport = $_GET["myReport"];
if ($myReport) {        
    $reportType = $_GET["reportType"];
    $totalAgentsToProcess = get_all_hosts_for_user($_SESSION['user']);

}


run_report($reportType, $totalAgentsToProcess, $filterList,$dataPointTime,$filterAppClassSelect);
$timeEnd = time();
$timeToComplete = $timeEnd - $timeStart;
#</fieldset>
?>
<BR><BR>
<p class="silver">Report completed in <?php 
print howmany($timeToComplete, "second.", "seconds.");
?>
</p>
</body>
</html>
<INPUT TYPE="hidden" NAME=removeRogue>
<INPUT TYPE="hidden" NAME=reportType VALUE="<?php 
print $reportType;
?>
Beispiel #2
0
$CELLPHONE = false;
$SKILLLEVEL = false;
$POSITION = false;
$JERSEYSIZE = false;
$JERSEYNUMBER1 = false;
$JERSEYNUMBER2 = false;
$JERSEYNUMBER3 = false;
$PAYMENTPLAN = false;
$DRILLEAGUE = false;
$USAHOCKEYMEMBERSHIP = false;
$SEASON_NAME = get_season_name($SEASON);
$REPORT_NAME = $SEASON_NAME;
initialize_db_columns();
$DB_COLUMNS = 'registrationId,' . get_columns() . ' fName, lName';
initialize_report();
run_report();
$smarty->assign('SEASON_ID', $SEASON);
$smarty->assign('SEASON_NAME', $SEASON_NAME);
$smarty->assign('PAGE_NAME', $REPORT_NAME);
// Build the page
require 'global_begin.php';
$smarty->display('admin/report.tpl');
require 'global_end.php';
/*
* ********************************************************************************
* ********************************************************************************
* **************************L O C A L  F U N C T I O N S**************************
* ********************************************************************************
* ********************************************************************************
*/
function initialize_db_columns()