| 25 |
- |
1 |
<?php
|
|
|
2 |
// Include config & login validate file
|
|
|
3 |
require_once 'includes/validateUser.php';
|
|
|
4 |
?>
|
|
|
5 |
<!DOCTYPE html>
|
|
|
6 |
<html lang="en-US">
|
|
|
7 |
<head>
|
|
|
8 |
<!--head-->
|
|
|
9 |
<?php include_once 'elements/head.php'; ?>
|
|
|
10 |
<!--//head-->
|
|
|
11 |
</head>
|
|
|
12 |
<body>
|
|
|
13 |
<div class="container">
|
|
|
14 |
<!--header-->
|
|
|
15 |
<?php include_once 'elements/header.php'; ?>
|
|
|
16 |
<!--//header-->
|
|
|
17 |
|
|
|
18 |
<!--main-->
|
|
|
19 |
<div class="main-content">
|
|
|
20 |
<div class="wrapper-frm">
|
|
|
21 |
<div class="head-menu">
|
|
|
22 |
<div class="menu-tle">
|
|
|
23 |
<h2>Update Password</h2>
|
|
|
24 |
</div>
|
|
|
25 |
<div class="top-nav">
|
|
|
26 |
<span class="menu"><img src="<?php echo PUBLIC_URL; ?>images/menu.png" alt=""></span>
|
|
|
27 |
<?php include_once 'elements/nav_menu.php'; ?>
|
|
|
28 |
<div class="clearfix"> </div>
|
|
|
29 |
</div>
|
|
|
30 |
</div>
|
|
|
31 |
<div class="ucontent">
|
|
|
32 |
<div class="right-pnl">
|
|
|
33 |
<img src="<?php echo $userPicture; ?>" alt="<?php echo $userName; ?>">
|
|
|
34 |
<h2><?php echo $userName; ?></h2>
|
|
|
35 |
</div>
|
|
|
36 |
<div class="left-pnl">
|
|
|
37 |
<?php echo !empty($statusMsg)?'<p class="status-msg '.$statusMsgType.'">'.$statusMsg.'</p>':''; ?>
|
|
|
38 |
<form action="<?php echo BASE_URL; ?>userAccount.php" method="post">
|
|
|
39 |
<?php if(!empty($userData['password'])){ ?>
|
|
|
40 |
<div class="frm-input">
|
|
|
41 |
<input type="password" name="old_password" class="pass-in" placeholder="Current Password" required="">
|
|
|
42 |
</div>
|
|
|
43 |
<?php } ?>
|
|
|
44 |
<div class="frm-input">
|
|
|
45 |
<input type="password" name="password" class="pass-in" placeholder="New Password" required="">
|
|
|
46 |
</div>
|
|
|
47 |
<div class="frm-input">
|
|
|
48 |
<input type="password" name="confirm_password" class="pass-in" placeholder="Confirm Password" required="">
|
|
|
49 |
</div>
|
|
|
50 |
<div class="frm-btn">
|
|
|
51 |
<input type="submit" name="updatePassword" value="Update">
|
|
|
52 |
</div>
|
|
|
53 |
</form>
|
|
|
54 |
</div>
|
|
|
55 |
</div>
|
|
|
56 |
</div>
|
|
|
57 |
</div>
|
|
|
58 |
<!--//main-->
|
|
|
59 |
|
|
|
60 |
<!--footer-->
|
|
|
61 |
<?php include_once 'elements/footer.php'; ?>
|
|
|
62 |
<!--//footer-->
|
|
|
63 |
</div>
|
|
|
64 |
</body>
|
|
|
65 |
</html>
|