validateUserLogin($email, $password); if($userDetails != '' && $userDetails['activatedon'] != '') { $_SESSION['loginUser'] = $userDetails; header("Location: ".SITE_ROOT_URL."account.html"); exit; } else if($userDetails != '' && $userDetails['activatedon'] == '') { $error_message = "Your account is not yet activated. Please check your email and click the Activation Link to activate your account."; } else { $error_message = "Invalid Login ID or Password."; } } ?>

Login