コード例 #1
0
	$alert=$tpl->_ENGINE_parse_body('{ERROR_NO_PRIVS}');
	echo "alert('$alert');";
	die();	
}
if(isset($_GET["timerules-list"])){timerules_list();exit;}
if(isset($_GET["EditTimeRule-js"])){EditTimeRule_js();exit;}
if(isset($_GET["EditTimeRule-popup"])){EditTimeRule_popup();exit;}
if(isset($_GET["EditTimeRule-template"])){EditTimeRule_template();exit;}



if(isset($_POST["EditTimeRule-template"])){EditTimeRule_template();exit;}
if(isset($_POST["EditTimeRule"])){EditTimeRule_save();exit;}
if(isset($_POST["EnbleTimeRule"])){EditTimeRule_enable();exit;}
if(isset($_POST["EditTimeRule-delete"])){EditTimeRule_delete();exit;}
if(isset($_POST["EditTimeTemplate"])){EditTimeRule_template_save();exit;}


if(isset($_GET["EditTimeRule-groups"])){EditTimeRule_groups();exit;}
if(isset($_GET["EditTimeRule-groups-list"])){EditTimeRule_groups_list();exit;}
if(isset($_POST["EditTimeRule-groups-add"])){EditTimeRule_groups_add();exit;}
if(isset($_POST["EditTimeRule-groups-delete"])){EditTimeRule_groups_delete();exit;}


rules();


function EditTimeRule_js(){
	$page=CurrentPageName();
	$tpl=new templates();	
	$ID=$_GET["ID"];
コード例 #2
0
    exit;
}
if (isset($_POST["EditTimeRule"])) {
    EditTimeRule_save();
    exit;
}
if (isset($_POST["EnbleTimeRule"])) {
    EditTimeRule_enable();
    exit;
}
if (isset($_POST["EditTimeRule-delete"])) {
    EditTimeRule_delete();
    exit;
}
if (isset($_POST["EditTimeTemplate"])) {
    EditTimeRule_template_save();
    exit;
}
if (isset($_GET["EditTimeRule-groups"])) {
    EditTimeRule_groups();
    exit;
}
if (isset($_GET["EditTimeRule-groups-list"])) {
    EditTimeRule_groups_list();
    exit;
}
if (isset($_POST["EditTimeRule-groups-add"])) {
    EditTimeRule_groups_add();
    exit;
}
if (isset($_POST["EditTimeRule-groups-delete"])) {