| 25 |
- |
1 |
<?php
|
| 31 |
- |
2 |
// Include Session Handling
|
| 65 |
- |
3 |
require_once ('includes/session.php');
|
| 31 |
- |
4 |
|
| 25 |
- |
5 |
// Include config & login validate file
|
|
|
6 |
require_once 'includes/validateUser.php';
|
|
|
7 |
?>
|
|
|
8 |
<!DOCTYPE html>
|
|
|
9 |
<html lang="en-US">
|
|
|
10 |
<head>
|
|
|
11 |
<!--head-->
|
|
|
12 |
<?php include_once 'elements/head.php'; ?>
|
|
|
13 |
<!--//head-->
|
|
|
14 |
</head>
|
|
|
15 |
<body>
|
| 43 |
- |
16 |
<div class="main">
|
| 25 |
- |
17 |
<!--header-->
|
|
|
18 |
<?php include_once 'elements/header.php'; ?>
|
|
|
19 |
<!--//header-->
|
|
|
20 |
|
|
|
21 |
<!--main-->
|
|
|
22 |
<div class="main-content">
|
| 73 |
- |
23 |
<div class="wrapper-frm bg-light text-dark border shadow text-center">
|
|
|
24 |
<div>
|
| 107 |
- |
25 |
<h1>Reset Account Password</h1>
|
| 73 |
- |
26 |
</div>
|
| 25 |
- |
27 |
<div class="top">
|
| 73 |
- |
28 |
<?php echo !empty($statusMsg) ? '<p class="status-msg ' . $statusMsgType . '">' . $statusMsg . '</p>' : ''; ?>
|
| 25 |
- |
29 |
<form action="<?php echo BASE_URL; ?>userAccount.php" method="post">
|
| 122 |
- |
30 |
<input type="hidden" name="nonce" value="<?php if (isset($_SESSION['nonce'])) echo $_SESSION['nonce']; ?>" />
|
| 119 |
- |
31 |
<input id="emailfieldHidden" type="text" value="<?php echo $userData['email'] ?>" autocomplete="username" />
|
| 25 |
- |
32 |
<div class="frm-input">
|
| 116 |
- |
33 |
<input type="password" name="password" class="pass-in" placeholder="Password" aria-label="New Password" required="" autocomplete="new-password" />
|
| 25 |
- |
34 |
</div>
|
| 73 |
- |
35 |
<div class="frm-input">
|
| 116 |
- |
36 |
<input type="password" name="confirm_password" class="pass-in" placeholder="Confirm password" aria-label="Confirm Password" required="" autocomplete="new-password" />
|
| 25 |
- |
37 |
</div>
|
|
|
38 |
<div class="frm-btn">
|
| 116 |
- |
39 |
<input type="hidden" name="fp_code" value="<?php echo $_REQUEST['fp_code']; ?>" />
|
|
|
40 |
<input class="btn btn-success" type="submit" name="resetSubmit" value="Reset Password" />
|
| 73 |
- |
41 |
</div>
|
| 25 |
- |
42 |
</form>
|
|
|
43 |
</div>
|
|
|
44 |
<div class="bottom">
|
| 30 |
- |
45 |
<p>Don't Want to Reset? <a href="<?php echo BASE_URL; ?>index.php">Sign In</a></p>
|
| 25 |
- |
46 |
</div>
|
| 73 |
- |
47 |
</div>
|
| 25 |
- |
48 |
</div>
|
|
|
49 |
<!--//main-->
|
|
|
50 |
|
|
|
51 |
<!--footer-->
|
|
|
52 |
<?php include_once 'elements/footer.php'; ?>
|
|
|
53 |
<!--//footer-->
|
|
|
54 |
</div>
|
|
|
55 |
</body>
|
| 26 |
- |
56 |
</html>
|