예제 #1
0
    exit;
}
if (isset($_GET["status-list"])) {
    status_list();
    exit;
}
if (isset($_GET["antivirus"])) {
    section_antivirus();
    exit;
}
if (isset($_GET["status-pattern"])) {
    section_pattern();
    exit;
}
if (isset($_GET["clamav-pattern"])) {
    ClamAVPatterns();
    exit;
}
if (isset($_GET["spamass-pattern"])) {
    SpamAsssPatterns();
    exit;
}
if (isset($_GET["kav-pattern"])) {
    KavAVPatterns();
    exit;
}
if (isset($_GET["antispam-content"])) {
    section_content_filtering();
    exit;
}
js();
예제 #2
0
	include_once('ressources/class.ldap.inc');
	include_once('ressources/class.users.menus.inc');
	include_once('ressources/class.clamav.inc');

	$user=new usersMenus();
	if($user->AsPostfixAdministrator==false){
		$tpl=new templates();
		echo "alert('". $tpl->javascript_parse_text("{ERROR_NO_PRIVS}")."');";
		die();exit();
	}
	
	if(isset($_GET["tab"])){tabs();exit;}
	if(isset($_GET["status"])){status();exit;}
	if(isset($_GET["antivirus"])){section_antivirus();exit;}
	if(isset($_GET["status-pattern"])){section_pattern();exit;}
	if(isset($_GET["clamav-pattern"])){ClamAVPatterns();exit;}
	if(isset($_GET["spamass-pattern"])){SpamAsssPatterns();exit;}
	if(isset($_GET["kav-pattern"])){KavAVPatterns();exit;}
	if(isset($_GET["antispam-content"])){section_content_filtering();exit;}
	
	
	
js();
	
function js(){
	$page=CurrentPageName();
	$html="
	$('#BodyContent').load('$page?tab=yes');
	
	";