Example #1
0
    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();
    if (isset($_GET["font-size"])) {
        $fontsize = "&font-size={$_GET["font-size"]}";
        $height = "100%";
    }
    $html = "\n\t\$('#BodyContent').load('{$page}?tab=yes{$fontsize}');\n\t\n\t";
Example #2
0
	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');
	
	";
	
	echo $html;