exit; } if (isset($_GET["add_option_service"])) { add_option_service(); exit; } if (isset($_POST["del_option_service"])) { del_option_service(); exit; } if (isset($_POST["del_service"])) { del_service(); exit; } if (isset($_GET["service-ssl"])) { main_ssl(); exit; } if (isset($_GET["enable_smtps"])) { enable_smtps(); exit; } if (isset($_GET["RebuildMaster"])) { rebuild_master(); exit; } if (isset($_GET["tabs"])) { main_tabs(); exit; } if (isset($_GET["default"])) {
include_once('ressources/class.main_cf.inc'); $usersmenus=new usersMenus(); if($usersmenus->AsPostfixAdministrator==true){}else{die("wrong privileges");} if(isset($_GET["service_key"])){save_service();exit;} if(isset($_GET["main"])){main_switch();exit;} if(isset($_GET["script"])){echo echo_js();exit;} if(isset($_GET["main_page"])){echo main_page();exit;} if(isset($_GET["service-info"])){echo service_info();exit;} if(isset($_GET["add_option_service"])){add_option_service();exit;} if(isset($_GET["del_option_service"])){del_option_service();exit;} if(isset($_GET["del_service"])){del_service();exit;} if(isset($_GET["service-ssl"])){main_ssl();exit;} if(isset($_GET["enable_smtps"])){enable_smtps();exit;} if(isset($_GET["RebuildMaster"])){rebuild_master();exit;} die(); function script_ssl(){ $page=CurrentPageName(); $tpl=new templates(); $ENABLE_SMTPS=$tpl->_ENGINE_parse_body('{ENABLE_SMTPS}');