Ejemplo n.º 1
0
    exit;
}
if (isset($_GET["TEMPLATE_LANG_LINK"])) {
    TEMPLATE_LANG_LINK();
    exit;
}
if ($_GET["script"] == "autoaccount") {
    autoaccount_js();
    exit;
}
if (isset($_GET["first_name"])) {
    autoaccount_submit();
    exit;
}
if (isset($_GET["createaccountForm"])) {
    autoaccount_form();
    exit;
}
if (isset($_GET["submitedform"])) {
    autoaccount_form2();
    exit;
}
if (isset($_GET["lang"])) {
    lang();
    exit;
}
if (isset($_POST["artica_username"])) {
    logon();
    exit;
}
if (isset($_GET["login-form"])) {
Ejemplo n.º 2
0
if(isset($_GET["reject-browser"])){reject_browser();exit;}
if(isset($_GET["lostpassworddiv"])){lost_password_link();exit;}
if(isset($_GET["lostpassword-popup"])){lost_password_popup();exit;}
if(isset($_POST["SendNewPassword"])){lost_password_perform();exit;}


if(isset($_GET["register-js"])){register_js();exit;}
if(isset($_GET["register-popup"])){register_popup();exit;}
if(isset($_POST["register-password"])){register_save();exit;}
if(isset($_GET["actregistr"])){register_enable();exit;}

if(isset($_GET["popup-lang"])){TEMPLATE_LANG_POPUP();exit;}
if(isset($_GET["TEMPLATE_LANG_LINK"])){TEMPLATE_LANG_LINK();exit;}
if($_GET["script"]=="autoaccount"){autoaccount_js();exit;}
if(isset($_GET["first_name"])){autoaccount_submit();exit;}
if(isset($_GET["createaccountForm"])){autoaccount_form();exit;}
if(isset($_GET["submitedform"])){autoaccount_form2();exit;}
if(isset($_GET["lang"])){lang();exit;}
if(isset($_POST["artica_username"])){logon();exit;}
if(isset($_GET["login-form"])){pagelogon();exit;}
if(count($_REQUEST)>0){while (list($num,$val)=each($_REQUEST)){	
	writelogs("Requested = $num= $val",__FUNCTION__,__FILE__,__LINE__);
	}
}
$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;}