<?php
##foreach @BUILDER.arrEventHandlers as @eh##

##if @eh.strEventID=="EVENT_BEFOREPROCESS_LOGIN"##
// Login page: Before process
function BeforeProcessLogin(&$conn)
{

##@eh.strEventCode e##
;
} // function BeforeProcessLogin
##endif##

##if @eh.strEventID=="EVENT_BEFOREPROCESS_REGISTER"##
// Register page: Before process
function BeforeProcessRegister(&$conn)
{

##@eh.strEventCode e##
;
} // function BeforeProcessRegister
##endif##

##if @eh.strEventID=="EVENT_BEFOREPROCESS_MENU"##
// Menu page: Before process
function BeforeProcessMenu(&$conn)
{

##@eh.strEventCode e##
;
} // function BeforeProcessMenu
##endif##

##if @eh.strEventID=="EVENT_BEFOREPROCESS_REMINDPWD"##
// Password reminder page: Before process
function BeforeProcessRemind(&$conn)
{

##@eh.strEventCode e##
;
} // function BeforeProcessRemind
##endif##

##if @eh.strEventID=="EVENT_BEFOREPROCESS_CHANGEPWD"##
// Change password page: Before process
function BeforeProcessChangePwd(&$conn)
{

##@eh.strEventCode e##
;
} // function BeforeProcessChangePwd
##endif##

##if @eh.strEventID=="EVENT_BEFORELOGIN"##
// Before login
function BeforeLogin($username,$password,&$message)
{

##@eh.strEventCode e##
;
} // function BeforeLogin
##endif##

##if @eh.strEventID=="EVENT_AFTERSUCCESSFULLLOGIN"##
// After successful login
function AfterSuccessfulLogin($username,$password,&$data)
{

##@eh.strEventCode e##
;
} // function AfterSuccessfulLogin
##endif##

##if @eh.strEventID=="EVENT_AFTERUNSUCCESSFULLOGIN"##
// After unsuccessful login
function AfterUnsuccessfulLogin($username,$password,&$message)
{

##@eh.strEventCode e##
;
} // function AfterUnsuccessfulLogin
##endif##

##if @eh.strEventID=="EVENT_BEFOREREGISTER"##
// Before registration
function BeforeRegister(&$userdata,&$message)
{

##@eh.strEventCode e##
;
} // function BeforeRegister
##endif##

##if @eh.strEventID=="EVENT_AFTERSUCCESSFULREGISTRATION"##
// After successful registration
function AfterSuccessfulRegistration(&$userdata)
{

##@eh.strEventCode e##
;
} // function AfterSuccessfulRegistration
##endif##

##if @eh.strEventID=="EVENT_AFTERUNSUCCESSFULREGISTRATION"##
// After unsuccessful registration
function AfterUnsuccessfulRegistration(&$userdata,&$message)
{

##@eh.strEventCode e##
;
} // function AfterUnsuccessfulRegistration
##endif##

##if @eh.strEventID=="EVENT_BEFORECHANGEPASSWORD"##
// Before change password
function BeforeChangePassword($oldpassword,$newpassword)
{

##@eh.strEventCode e##
;
} // function BeforeChangePassword
##endif##

##if @eh.strEventID=="EVENT_AFTERCHANGEPASSWORD"##
// After password changed
function AfterChangePassword($oldpassword,$newpassword)
{

##@eh.strEventCode e##
;
} // function AfterChangePassword
##endif##

##if @eh.strEventID=="EVENT_BEFOREREMINDPASSWORD"##
// Before password reminder sent
function BeforeRemindPassword($username,$email)
{

##@eh.strEventCode e##
;
} // function BeforeRemindPassword
##endif##

##if @eh.strEventID=="EVENT_AFTERREMINDPASSWORD"##
// After password reminder sent
function AfterRemindPassword($username,$email)
{

##@eh.strEventCode e##
;
} // function AfterRemindPassword
##endif##

##if @eh.strEventID=="EVENT_BEFORESHOW_LOGIN"##
// Login page: Before display
function BeforeShowLogin(&$xt,&$templatefile)
{

##@eh.strEventCode e##
;
} // function BeforeShowLogin
##endif##

##if @eh.strEventID=="EVENT_BEFORESHOW_REGISTER"##
// Registration page: Before display
function BeforeShowRegister(&$xt,&$templatefile)
{

##@eh.strEventCode e##
;
} // function BeforeShowRegister
##endif##

##if @eh.strEventID=="EVENT_BEFORESHOW_MENU"##
// Menu page: Before display
function BeforeShowMenu(&$xt,&$templatefile)
{

##@eh.strEventCode e##
;
} // function BeforeShowMenu
##endif##

##if @eh.strEventID=="EVENT_BEFORESHOW_REMINDPWD"##
// Password reminder page: Before display
function BeforeShowRemindPwd(&$xt,&$templatefile)
{

##@eh.strEventCode e##
;
} // function BeforeShowRemindPwd
##endif##

##if @eh.strEventID=="EVENT_BEFORESHOW_CHANGEPWD"##
// Change password page: Before display
function BeforeShowChangePwd(&$xt,&$templatefile)
{

##@eh.strEventCode e##
;
} // function BeforeShowChangePwd
##endif##

##if @eh.strEventID=="EVENT_ONSCREEN"##
function ##@eh.strName##(&$params)
{
##@eh.strEventCode e##
;
}
##endif##

##endfor##
?>