if (isset($_POST["hostname"])) { $_GET["hostname"] = $_POST["hostname"]; } $users = new usersMenus(); if (!$users->AsPostfixAdministrator) { $tpl = new templates(); echo "alert('" . $tpl->javascript_parse_text("{ERROR_NO_PRIVS}") . "');"; die; exit; } if (isset($_GET["events"])) { section_events(); exit; } if (isset($_GET["quarantine"])) { section_quarantine(); exit; } if (isset($_GET["logs"])) { section_logs(); exit; } if (isset($_GET["tabs"])) { tabs(); exit; } if (isset($_GET["search-quarantine"])) { search_quarantine(); exit; } if (isset($_GET["search-events"])) {
if(isset($_GET["org"])){$_GET["ou"]=$_GET["org"];} if(isset($_POST["ou"])){$_GET["ou"]=$_POST["ou"];} if(isset($_POST["hostname"])){$_GET["hostname"]=$_POST["hostname"];} $users=new usersMenus(); if(!$users->AsPostfixAdministrator){ $tpl=new templates(); echo "alert('". $tpl->javascript_parse_text("{ERROR_NO_PRIVS}")."');"; die();exit(); } if(isset($_GET["events"])){section_events();exit;} if(isset($_GET["quarantine"])){section_quarantine();exit;} if(isset($_GET["logs"])){section_logs();exit;} if(isset($_GET["tabs"])){tabs();exit;} if(isset($_GET["search-quarantine"])){search_quarantine();exit;} if(isset($_GET["search-events"])){search_events();exit;} if(isset($_GET["search-logs"])){search_logs();exit;} if(isset($_GET["antispam"])){antispam_popup();exit;} if(isset($_GET["search-amavis"])){antispam_search();exit;} if(isset($_GET["params"])){parameters();exit;} if(isset($_GET["BackupMailLogPath"])){BackupMailLogPathSave();exit;}