예제 #1
0
	include_once('ressources/class.templates.inc');
	include_once('ressources/class.ldap.inc');
	include_once('ressources/class.users.menus.inc');
	include_once('ressources/class.artica.inc');
	include_once('ressources/class.ini.inc');
	include_once('ressources/class.spamassassin.inc');
	include_once('ressources/class.mysql.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["tabs"])){tabs();exit;}
	if(isset($_GET["popup"])){rbls();exit;}
	if(isset($_GET["rbl-popup"])){rbl_add_popup();exit;}
	if(isset($_GET["rbl-list"])){rbl_list();exit;}
	if(isset($_POST["rbls-save"])){rbls_add();exit;}
	if(isset($_GET["keywords-edit"])){keywords_edit();exit;}
	if(isset($_GET["keywords-edit-save"])){keywords_edit_save();exit;}
	if(isset($_GET["RBLDisable"])){RBLDisable();exit;}
	if(isset($_GET["RBLDelete"])){RBLDelete();exit;}
	if(isset($_GET["results"])){results();exit;}
	if(isset($_GET["params"])){parameters();exit;}
	if(isset($_GET["PublicIPAddress"])){SaveParams();exit;}
	if(isset($_GET["CheckRBLNow"])){CheckRBLNow();exit;}
	
	if(isset($_GET["others-ip-list"])){other_ip_list();exit;}
	if(isset($_GET["OtherIpClient-add"])){other_ip_add();exit;}
	if(isset($_GET["OtherIpClient-del"])){other_ip_del();exit;}
예제 #2
0
include_once 'ressources/class.ini.inc';
include_once 'ressources/class.spamassassin.inc';
include_once 'ressources/class.mysql.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["tabs"])) {
    tabs();
    exit;
}
if (isset($_GET["popup"])) {
    rbls();
    exit;
}
if (isset($_GET["rbl-popup"])) {
    rbl_add_popup();
    exit;
}
if (isset($_GET["rbl-list"])) {
    rbl_list();
    exit;
}
if (isset($_POST["rbls-save"])) {
    rbls_add();
    exit;
}
if (isset($_GET["keywords-edit"])) {