Rev 116 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
<?php
// Include Session Handling
require_once ('includes/session.php');
// Include config & login validate file
require_once 'includes/validateUser.php';
?>
<!DOCTYPE html>
<html lang="en-US">
<head>
<!--head-->
<?php include_once 'elements/head.php'; ?>
<!--//head-->
</head>
<body>
<div class="main">
<!--header-->
<?php include_once 'elements/header.php'; ?>
<!--//header-->
<!--main-->
<div class="main-content">
<div class="wrapper-frm bg-light text-dark border shadow text-center">
<div>
<h1>Recover Account Password</h1>
</div>
<div class="top">
<?php echo !empty($statusMsg) ? '<p class="status-msg ' . $statusMsgType . '">' . $statusMsg . '</p>' : ''; ?>
<?php if (isset($_GET['frmDis']) && $_GET['frmDis'] == 0) { ?>
<h4>Didn’t receive the email? <a href="<?php echo BASE_URL; ?>forgotPassword.php">Request reset link</a></h4>
<?php
}
else { ?>
<form action="<?php echo BASE_URL; ?>userAccount.php" method="post">
<input type="hidden" name="nonce" value="<?php if (isset($_SESSION['nonce'])) echo $_SESSION['nonce']; ?>" />
<div class="frm-input">
<input type="email" name="email" class="email-in" placeholder="Email" required="" aria-label="Email Address" />
</div>
<div class="frm-btn">
<button class="btn btn-success" type="submit" name="forgotSubmit" value="Continue">Continue</button>
</div>
</form>
<?php
} ?>
</div>
<div class="bottom">
<p>Don't Want to Reset? <a href="<?php echo BASE_URL; ?>index.php">Sign In</a></p>
</div>
</div>
</div>
<!--//main-->
<!--footer-->
<?php include_once 'elements/footer.php'; ?>
<!--//footer-->
</div>
</body>
</html>