} $page = CurrentPageName(); if (!is_file("ressources/settings.inc")) { echo "\n<div style='margin:200px;padding:10px;border:2px solid red'><center><H1>\n<error>Artica-postfix daemon is not running... <BR>please start artica-postfix daemon</error>\n<div style='color:red;font-size:13px'>Unable to stat ressources/settings.inc</div>\n</H1></div>"; exit; } if (isset($_GET["session"])) { session_settings(); exit; } if (isset($_GET["start"])) { start_js(); exit; } if (isset($_GET["login-form"])) { pagelogon(); exit; } echo buildPage(); function start_js() { $page = CurrentPageName(); $sock = new sockets(); $logon_parameters = unserialize(base64_decode($sock->GET_INFO("LogonPageSettings"))); if ($logon_parameters["LANGUAGE_SELECTOR_REMOVE"] == null) { $logon_parameters["LANGUAGE_SELECTOR_REMOVE"] = "0"; } if (!is_numeric($logon_parameters["LANGUAGE_SELECTOR_REMOVE"])) { $logon_parameters["LANGUAGE_SELECTOR_REMOVE"] = 0; } if ($logon_parameters["DEFAULT_LANGUAGE"] == null) {
} } $page=CurrentPageName(); if(!is_file("ressources/settings.inc")){echo " <div style='margin:200px;padding:10px;border:2px solid red'><center><H1> <error>Artica-postfix daemon is not running... <BR>please start artica-postfix daemon</error> <div style='color:red;font-size:13px'>Unable to stat ressources/settings.inc</div> </H1></div>";exit;} if(isset($_GET["session"])){session_settings();exit;} if(isset($_GET["start"])){start_js();exit;} if(isset($_GET["login-form"])){pagelogon();exit;} echo buildPage(); function start_js(){ $page=CurrentPageName(); $sock=new sockets(); $logon_parameters=unserialize(base64_decode($sock->GET_INFO("LogonPageSettings"))); if($logon_parameters["LANGUAGE_SELECTOR_REMOVE"]==null){$logon_parameters["LANGUAGE_SELECTOR_REMOVE"]="0";} if(!is_numeric($logon_parameters["LANGUAGE_SELECTOR_REMOVE"])){$logon_parameters["LANGUAGE_SELECTOR_REMOVE"]=0;} if($logon_parameters["DEFAULT_LANGUAGE"]==null){$logon_parameters["DEFAULT_LANGUAGE"]="en";} $html="