| 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'; ?>
|
| 107 |
- |
13 |
<style>
|
|
|
14 |
#emailfield { display: none; }
|
|
|
15 |
</style>
|
| 25 |
- |
16 |
<!--//head-->
|
|
|
17 |
</head>
|
|
|
18 |
<body>
|
| 43 |
- |
19 |
<div class="main">
|
| 25 |
- |
20 |
<!--header-->
|
|
|
21 |
<?php include_once 'elements/header.php'; ?>
|
|
|
22 |
<!--//header-->
|
|
|
23 |
|
|
|
24 |
<!--main-->
|
|
|
25 |
<div class="main-content">
|
| 73 |
- |
26 |
<div class="wrapper-frm bg-light text-dark border shadow text-center">
|
|
|
27 |
<div>
|
| 107 |
- |
28 |
<h1>Reset Account Password</h1>
|
| 73 |
- |
29 |
</div>
|
| 25 |
- |
30 |
<div class="top">
|
| 73 |
- |
31 |
<?php echo !empty($statusMsg) ? '<p class="status-msg ' . $statusMsgType . '">' . $statusMsg . '</p>' : ''; ?>
|
| 25 |
- |
32 |
<form action="<?php echo BASE_URL; ?>userAccount.php" method="post">
|
| 116 |
- |
33 |
<input id="emailfield" type="text" value="<?php echo $userData['email'] ?>" autocomplete="username" />
|
| 25 |
- |
34 |
<div class="frm-input">
|
| 116 |
- |
35 |
<input type="password" name="password" class="pass-in" placeholder="Password" aria-label="New Password" required="" autocomplete="new-password" />
|
| 25 |
- |
36 |
</div>
|
| 73 |
- |
37 |
<div class="frm-input">
|
| 116 |
- |
38 |
<input type="password" name="confirm_password" class="pass-in" placeholder="Confirm password" aria-label="Confirm Password" required="" autocomplete="new-password" />
|
| 25 |
- |
39 |
</div>
|
|
|
40 |
<div class="frm-btn">
|
| 116 |
- |
41 |
<input type="hidden" name="fp_code" value="<?php echo $_REQUEST['fp_code']; ?>" />
|
|
|
42 |
<input class="btn btn-success" type="submit" name="resetSubmit" value="Reset Password" />
|
| 73 |
- |
43 |
</div>
|
| 25 |
- |
44 |
</form>
|
|
|
45 |
</div>
|
|
|
46 |
<div class="bottom">
|
| 30 |
- |
47 |
<p>Don't Want to Reset? <a href="<?php echo BASE_URL; ?>index.php">Sign In</a></p>
|
| 25 |
- |
48 |
</div>
|
| 73 |
- |
49 |
</div>
|
| 25 |
- |
50 |
</div>
|
|
|
51 |
<!--//main-->
|
|
|
52 |
|
|
|
53 |
<!--footer-->
|
|
|
54 |
<?php include_once 'elements/footer.php'; ?>
|
|
|
55 |
<!--//footer-->
|
|
|
56 |
</div>
|
|
|
57 |
</body>
|
| 26 |
- |
58 |
</html>
|