Пример #1
0
    exit;
}
if (isset($_POST["TimeDescription"])) {
    AddNewSchedule_save();
    exit;
}
if (isset($_POST["schedule-enable"])) {
    AddNewSchedule_enable();
    exit;
}
if (isset($_POST["schedule-delete"])) {
    AddNewSchedule_delete();
    exit;
}
if (isset($_POST["schedule-run"])) {
    AddNewSchedule_run();
    exit;
}
if (isset($_GET["build-config"])) {
    build_config_start();
    exit;
}
if (isset($_GET["build-config-start"])) {
    build_config_perform();
    exit;
}
if (isset($_GET["schedules-params"])) {
    schedules_params_js();
    exit;
}
if (isset($_GET["schedules-params-popup"])) {
Пример #2
0
$usersmenus=new usersMenus();
if(!$usersmenus->AsDansGuardianAdministrator){
	$tpl=new templates();
	$alert=$tpl->_ENGINE_parse_body('{ERROR_NO_PRIVS}');
	echo "alert('$alert');";
	die();	
}

if(isset($_GET["search"])){search();exit;}
if(isset($_GET["AddNewSchedule-js"])){AddNewSchedule_js();exit;}
if(isset($_GET["AddNewSchedule-popup"])){AddNewSchedule_popup();exit;}
if(isset($_GET["explainthis"])){AddNewSchedule_explain();exit;}
if(isset($_POST["TimeDescription"])){AddNewSchedule_save();exit;}
if(isset($_POST["schedule-enable"])){AddNewSchedule_enable();exit;}
if(isset($_POST["schedule-delete"])){AddNewSchedule_delete();exit;}
if(isset($_POST["schedule-run"])){AddNewSchedule_run();exit;}
if(isset($_GET["build-config"])){build_config_start();exit;}
if(isset($_GET["build-config-start"])){build_config_perform();exit;}
if(isset($_GET["schedules-params"])){schedules_params_js();exit;}
if(isset($_GET["schedules-params-popup"])){schedules_params_popup();exit;}
if(isset($_POST["max_load_avg5"])){schedules_params_save();exit;}

if(isset($_POST["DisableSquidDefaultSchedule"])){DisableSquidDefaultSchedule();exit;}
page();

function AddNewSchedule_js(){
	header("content-type: application/x-javascript");
	$ID=$_GET["ID"];
	$tpl=new templates();
	$page=CurrentPageName();
	$YahooWin=2;