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"])) {
include_once('ressources/class.user.inc');
include_once('ressources/class.langages.inc');
include_once('ressources/class.sockets.inc');
include_once('ressources/class.mysql.inc');
include_once('ressources/class.privileges.inc');
include_once('ressources/class.browser.detection.inc');
include_once(dirname(__FILE__)."/ressources/class.mysql.squid.builder.php");

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__);
	}