if ((isUserIdSet()) && (isSessionVariableSet('u_hash'))) {
// Maybe, then continue with it
$uid = getUserId();
if ((isUserIdSet()) && (isSessionVariableSet('u_hash'))) {
// Maybe, then continue with it
$uid = getUserId();
} elseif (isFormSent()) {
// Try the login (see inc/libs/user_functions.php)
$URL = USER_DO_LOGIN(REQUEST_POST('id'), REQUEST_POST('password'));
} elseif (isFormSent()) {
// Try the login (see inc/libs/user_functions.php)
$URL = USER_DO_LOGIN(REQUEST_POST('id'), REQUEST_POST('password'));
// Try the userid/email lookup (see inc/libs/user_functions.php)
$errorCode = USER_DO_NEW_PASSWORD(REQUEST_POST('email'), $uid);
}
// Try the userid/email lookup (see inc/libs/user_functions.php)
$errorCode = USER_DO_NEW_PASSWORD(REQUEST_POST('email'), $uid);
}