/**
* Forgot Password form has been submitted and no errors
* were found with the form (the username is in the database)
*/
if(isset($_SESSION['forgotpass'])){
/**
* New password was generated for user and sent to user's
* email address.
*/
if($_SESSION['forgotpass']){
echo "
associated with your account, all you have to do is enter your username.
echo $form->error("user"); ?> } ?>
New Password Generated
"; echo "Your new password has been generated "
."and sent to the email
associated with your account. "
."Home.
New Password Failure
"; echo "There was an error sending you the "
."email with the new password,
so your password has not been changed. "
."Home.
Forgot Password
A new password will be generated for you and sent to the email addressassociated with your account, all you have to do is enter your username.
echo $form->error("user"); ?> } ?>