include_once('ressources/class.tcpip.inc'); include_once('ressources/class.system.nics.inc'); include_once('ressources/class.maincf.multi.inc'); $user=new usersMenus(); if($user->AsPostfixAdministrator==false){ $tpl=new templates(); echo "alert('". $tpl->javascript_parse_text("{ERROR_NO_PRIVS}")."');"; die();exit(); } if(isset($_GET["instances-tabs"])){tabs();exit;} if(isset($_GET["instances-list"])){instances_list();exit;} if(isset($_GET["instances-search"])){instances_search();exit;} if(isset($_GET["crossroads-list"])){crossroads_list();exit;} if(isset($_GET["crossroads-search"])){crossroads_search();exit;} if(isset($_GET["crossroads-delete"])){crossroads_delete();exit;} if(isset($_GET["instance-duplicate-form"])){instances_duplicate_form();exit;} if(isset($_GET["add-new-instance"])){instances_duplicate_perform();exit;} if(isset($_GET["status-instance"])){instance_status();exit;} if(isset($_GET["delete"])){instance_delete();exit;} if(isset($_GET["rebuild-instances"])){rebuild_instances();exit;} js(); function js(){
if ($user->AsPostfixAdministrator == false) { $tpl = new templates(); echo "alert('" . $tpl->javascript_parse_text("{ERROR_NO_PRIVS}") . "');"; die; exit; } if (isset($_GET["instances-tabs"])) { tabs(); exit; } if (isset($_GET["instances-list"])) { instances_list(); exit; } if (isset($_GET["instances-search"])) { instances_search(); exit; } if (isset($_GET["crossroads-list"])) { crossroads_list(); exit; } if (isset($_GET["crossroads-search"])) { crossroads_search(); exit; } if (isset($_GET["crossroads-delete"])) { crossroads_delete(); exit; } if (isset($_POST["delete-system-instance"])) {