if (isset($_GET["release-mail-send"])) { release_mail_send(); exit; } if (!GetRights()) { $tpl = new templates(); $error = "{ERROR_NO_PRIVS}"; echo $tpl->_ENGINE_parse_body("alert('{$error}')"); die; } if (isset($_GET["js"])) { echo backup_script(); exit; } if (isset($_GET["popup"])) { echo quarantine_index(); exit; } if (isset($_GET["query"])) { echo quarantine_query(); exit; } if (isset($_GET["SuperAdmin"])) { SuperAdmin(); exit; } if (isset($_GET["SuperAdminQuery"])) { SuperAdminQuery(); exit; } if (isset($_GET["quarantine-settings"])) {
if(isset($_GET["release-mail-send"])){release_mail_send();exit;} if(isset($_POST["LiberLigneQueue"])){release_all_mail_send();exit;} if(isset($_GET["LiberLignePerform"])){quarantine_create_queue();exit;} if(isset($_GET["LiberLigneText"])){quarantine_create_queue_text();exit;} if(!GetRights()){ $tpl=new templates(); $error="{ERROR_NO_PRIVS}"; echo $tpl->_ENGINE_parse_body("alert('$error')"); die(); } if(isset($_GET["js"])){echo quarantine_script();exit;} if(isset($_GET["popup"])){echo quarantine_index();exit;} if(isset($_GET["query"])){echo quarantine_query();exit;} if(isset($_GET["SuperAdmin"])){SuperAdmin();exit;} if(isset($_GET["SuperAdminQuery"])){SuperAdminQuery();exit;} if(isset($_GET["quarantine-settings"])){quarantine_ou_settings();exit;} if(isset($_GET["OuSendQuarantineReports"])){quarantine_ou_settings_save();exit;} if(isset($_GET["delete-message-id"])){delete_message();exit;} function GetRights(){ $users=new usersMenus(); if($users->AsMessagingOrg){return true;} if($users->AsQuarantineAdministrator){return true;} return false;