$ERROR_NO_PRIVS=$tpl->javascript_parse_text("{ERROR_NO_PRIVS}"); echo "alert('$ERROR_NO_PRIVS');"; die(); } if(isset($_GET["popup"])){popup();exit;} if(isset($_GET["smtp"])){smtp();exit;} if(isset($_GET["smtp-instance-list"])){smtp_instance_list();exit;} if(isset($_GET["smtp-instance-add"])){smtp_instance_add();exit;} if(isset($_GET["smtp-instance-delete"])){smtp_instance_delete();exit;} if(isset($_GET["smtp-instance-edit"])){smtp_instance_edit();exit;} if(isset($_GET["smtp-instance-save"])){smtp_instance_save();exit;} if(isset($_GET["domains"])){domains_popup();exit;} if(isset($_GET["domains-add"])){domains_add();exit;} if(isset($_GET["domains-list"])){domains_list();exit;} if(isset($_GET["domain-delete"])){domains_delete();exit;} js(); function js(){ $page=CurrentPageName(); $tpl=new templates(); $title="{domain_throttle}::{$_GET["hostname"]}/{$_GET["ou"]}"; $title=$tpl->_ENGINE_parse_body($title); echo "YahooWin3(660,'$page?popup=yes&hostname={$_GET["hostname"]}&ou={$_GET["ou"]}','$title');"; }
exit; } if (isset($_GET["smtp-instance-cache-destinations-add"])) { smtp_instance_cache_destinations_add(); exit; } if (isset($_POST["smtp-instance-cache-destinations-new"])) { smtp_instance_cache_destinations_save(); exit; } if (isset($_POST["smtp-instance-cache-destinations-delete"])) { smtp_instance_cache_destinations_del(); exit; } if (isset($_GET["domains"])) { domains_popup(); exit; } if (isset($_GET["domains-add"])) { domains_add(); exit; } if (isset($_GET["domains-list"])) { domains_list(); exit; } if (isset($_GET["domain-delete"])) { domains_delete(); exit; } js();