exit; } if (isset($_GET["banned"])) { banned_domains(); exit; } if (isset($_GET["banned-list"])) { banned_list(); exit; } if (isset($_GET["banned-delete"])) { banned_delete_js(); exit; } if (isset($_GET["banned-delete-perform"])) { banned_delete_perform(); exit; } if (isset($_GET["js-message"])) { queue_js(); exit; } //postfix_queue_monitoring(); function banned_delete_js() { $page = CurrentPageName(); $domain = $_GET["banned-delete"]; $hostname = $_GET["hostname"]; $tpl = new templates(); $ask = $tpl->javascript_parse_text("{delete} ?"); $html = "\n\t\n\tvar x_bandomain_delete= function (obj) {\n\t\tvar response=obj.responseText;\n\t\tif(response){alert(response);}\n\t\tRefreshTab('queue_monitor');\n\t}\t\n\t\n\tfunction bandomain_delete(){\n\t\tif(confirm('{$ask}\\n{$domain}')){\n\t\t\tvar XHR = new XHRConnection();\n\t\t\tXHR.appendData('banned-delete-perform','{$domain}');\n\t\t\tXHR.appendData('hostname','{$hostname}');\n\t\t\tXHR.sendAndLoad('{$page}', 'GET',x_bandomain_delete);\n\t\t}\n\t}\n\tbandomain_delete();\n\t";
if(isset($_GET["details-list-from"])){popup_postqueue_details_form();exit;} if(isset($_GET["details-list-search-to"])){popup_postqueue_details_search();exit;} if(isset($_GET["details-list-search-from"])){popup_postqueue_details_search();exit;} if(isset($_GET["postqueue-context"])){postqueue_context_popup();exit;} if(isset($_GET["postqueue-context-list"])){postqueue_context_list();exit;} if(isset($_GET["ban-to-domain"])){ban_domains_js();exit;} if(isset($_GET["ban-to-domain-perform"])){ban_domains_perform();exit;} if(isset($_GET["banned"])){banned_domains();exit;} if(isset($_GET["banned-list"])){banned_list();exit;} if(isset($_GET["banned-delete"])){banned_delete_js();exit;} if(isset($_GET["banned-delete-perform"])){banned_delete_perform();exit;} if(isset($_GET["js-message"])){queue_js();exit;} //postfix_queue_monitoring(); function banned_delete_js(){ $page=CurrentPageName(); $domain=$_GET["banned-delete"]; $hostname=$_GET["hostname"]; $tpl=new templates(); $ask=$tpl->javascript_parse_text("{delete} ?");