コード例 #1
0
ファイル: milter.index.php プロジェクト: brucewu16899/artica
    exit;
}
if (isset($_GET["SavePolicyRule"])) {
    PageGroupRule_save();
    exit;
}
if (isset($_GET["PolicyRule"])) {
    echo PageGroupRule();
    exit;
}
if (isset($_GET["kavmilter_events"])) {
    echo kavmilter_events_page();
    exit;
}
if (isset($_GET["KavMilterAddkey"])) {
    echo Kavmilter_Addkey();
    exit;
}
if (isset($_GET["iframe_addkey"])) {
    echo Kavmilter_Addkey_form();
    exit;
}
if (isset($_GET["stats"])) {
    echo kavmilter_stats_generate();
    exit;
}
if (isset($_GET["kavmilter_select_notify_action"])) {
    PageGroupRule_Notify_select_action();
    exit;
}
if (isset($_GET["enable_kavmilter"])) {
コード例 #2
0
ファイル: milter.index.php プロジェクト: rsd/artica-1.5
	include_once('ressources/class.postfix-multi.inc');
	
	
	
$usersmenus=new usersMenus();
if($usersmenus->AsPostfixAdministrator==true or $usersmenus->AllowChangeKas==true){}else{header('location:users.index.php');exit;}	
if( isset($_POST['upload']) ){Kavmilter_Addkey_LicenceUploaded();exit();}
if(isset($_GET["status"])){kavmilterd_status();exit;}
if(isset($_GET["main"])){switchTab();exit;}
if(isset($_GET["kavmilterd_save_standard"])){kavmilterd_save_standard();exit;}
if(isset($_GET["KavMilterdDeleteNotify"])){PageGroupRule_Notify_delete();exit;}
if(isset($_GET["DEST"])){PageGroupRule_Notify_save();exit;}
if(isset($_GET["SavePolicyRule"])){PageGroupRule_save();exit;}
if(isset($_GET["PolicyRule"])){echo PageGroupRule();exit;}
if(isset($_GET["kavmilter_events"])){echo kavmilter_events_page();exit;}
if(isset($_GET["KavMilterAddkey"])){echo Kavmilter_Addkey();exit;}
if(isset($_GET["iframe_addkey"])){echo Kavmilter_Addkey_form();exit;}
if(isset($_GET["stats"])){echo kavmilter_stats_generate();exit;}
if(isset($_GET["kavmilter_select_notify_action"])){PageGroupRule_Notify_select_action();exit();}
if(isset($_GET["enable_kavmilter"])){kavmilter_save_enable();exit;}
if(isset($_GET["ajax"])){ajaxmode();exit;}
if(isset($_GET["ajax-pop"])){popup();exit;}
if(isset($_GET["rebuild"])){rebuild();exit;}
if(isset($_GET["UseUpdateServerUrl"])){save_update();exit;}
if(isset($_GET["UseAVBasesSet"])){save_general();exit;}



function ajaxmode(){
	$data=file_get_contents("js/kavmilterd.js");
	$html="