コード例 #1
0
include_once dirname(__FILE__) . "/ressources/class.langages.inc";
include_once 'ressources/class.templates.inc';
include_once 'ressources/class.ldap.inc';
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"])) {
コード例 #2
0
	ini_set('display_errors', 1);
	ini_set('error_reporting', E_ALL);
	
include_once(dirname(__FILE__)."/ressources/class.langages.inc");
include_once('ressources/class.templates.inc');
include_once('ressources/class.ldap.inc');
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;}