コード例 #1
0
ファイル: amavis.index.php プロジェクト: brucewu16899/artica
    exit;
}
if (isset($_GET["popup"])) {
    main_select_popups();
    exit;
}
if (isset($_GET["TrustLocalHost"])) {
    trustlocal_save();
    exit;
}
if (isset($_GET["ip_from"])) {
    localnetwork_save();
    exit;
}
if (isset($_GET["ip_delete"])) {
    localnetwork_del();
    exit;
}
if (isset($_GET["D_EXPLAIN"])) {
    filterbehavior_explain();
    exit;
}
if (isset($_GET["INI_SAVE"])) {
    INI_SAVE();
    exit;
}
if (isset($_GET["saveToServer"])) {
    apply_popup2();
    exit;
}
if (isset($_GET["add_exts"])) {
コード例 #2
0
ファイル: amavis.index.php プロジェクト: rsd/artica-1.5
	include_once('ressources/class.ini.inc');
	include_once('ressources/class.amavis.inc');
	$user=new usersMenus();
	if($user->AsPostfixAdministrator==false){
		$tpl=new templates();
		echo "alert('". $tpl->javascript_parse_text("{ERROR_NO_PRIVS}")."');";
		die();exit();
	}
	writelogs($_SERVER['QUERY_STRING'],null,__FILE__);
	if(isset($_GET["status"])){page_status();exit;}
	if(isset($_GET["section"])){main_page();exit;}
	if(isset($_GET["script"])){main_select_scripts();exit;}
	if(isset($_GET["popup"])){main_select_popups();exit;}
	if(isset($_GET["TrustLocalHost"])){trustlocal_save();exit;}
	if(isset($_GET["ip_from"])){localnetwork_save();exit;}
	if(isset($_GET["ip_delete"])){localnetwork_del();exit;}
	if(isset($_GET["D_EXPLAIN"])){filterbehavior_explain();exit;}
	if(isset($_GET["INI_SAVE"])){INI_SAVE();exit;}
	if(isset($_GET["saveToServer"])){apply_popup2();exit;}
	if(isset($_GET["add_exts"])){filterextension_add();exit;}
	if(isset($_GET["del_ext"])){filterextension_del();exit;}
	if(isset($_GET["EnableAmavisBackup"])){backup_save();exit;}
	if(isset($_GET["ajax"])){ajax_js();exit;}
	if(isset($_GET["ajax-pop"])){ajax_popup();exit;}
	if(isset($_GET["sanesecurity-js"])){sanesecurity_js();exit;}
	if(isset($_GET["sanesecurity-popup"])){sanesecurity_popup();exit;}
	if(isset($_GET["sanesecurity_enable"])){sanesecurity_enable();exit;}
	if(isset($_GET["altermime-js"])){altermime_js();exit;}
	if(isset($_GET["altermime-popup"])){altermime_popup();exit;}
	if(isset($_GET["altermime_enable"])){altermime_enable();exit;}
	if(isset($_GET["altermime-disclaimer"])){altermime_disclaimer();exit;}