示例#1
0
    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 = "\n\t{$data}\n\tYahooWin(745,'milter.index.php?ajax-pop=yes','Kaspersky Antivirus (milter edition)')\n\t\n\t";
    echo $html;
}
function rebuild()
{
    $kav = new kavmilterd();
    $kav->ReBuildAllRules();
}
function popup()
{
示例#2
0
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="
	$data
	YahooWin(745,'milter.index.php?ajax-pop=yes','Kaspersky Antivirus (milter edition)')
	
	";
	echo $html;
	
}

function rebuild(){