Beispiel #1
0
include_once 'ressources/class.artica.inc';
include_once 'ressources/class.kavmilterd.inc';
include_once 'ressources/charts.php';
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"])) {
Beispiel #2
0
<?php
	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.kavmilterd.inc');
	include_once('ressources/charts.php');
	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;}