| Line 27... |
Line 27... |
| 27 |
<div class="head-menu bg-primary menu-tle">
|
27 |
<div class="head-menu bg-primary menu-tle">
|
| 28 |
<h1>Change Password</h1>
|
28 |
<h1>Change Password</h1>
|
| 29 |
</div>
|
29 |
</div>
|
| 30 |
<div class="ucontent">
|
30 |
<div class="ucontent">
|
| 31 |
<div class="left-pnl">
|
31 |
<div class="left-pnl">
|
| 32 |
<img class="img-fluid upicture" src="<?php echo $userPicture; ?>" alt="<?php echo $userName; ?>">
|
32 |
<img class="img-fluid upicture" src="<?php echo $userPicture; ?>" alt="<?php echo $userName; ?>" />
|
| 33 |
<h2><?php echo $userName; ?></h2>
|
33 |
<h2><?php echo $userName; ?></h2>
|
| 34 |
</div>
|
34 |
</div>
|
| 35 |
<div class="right-pnl">
|
35 |
<div class="right-pnl">
|
| 36 |
<?php echo !empty($statusMsg) ? '<p class="status-msg ' . $statusMsgType . '">' . $statusMsg . '</p>' : ''; ?>
|
36 |
<?php echo !empty($statusMsg) ? '<p class="status-msg ' . $statusMsgType . '">' . $statusMsg . '</p>' : ''; ?>
|
| 37 |
<form action="<?php echo BASE_URL; ?>userAccount.php" method="post">
|
37 |
<form action="<?php echo BASE_URL; ?>userAccount.php" method="post">
|
| 38 |
<input type="hidden" name="sessionTab" value="<?php if (isset($_POST['sessionTab'])) echo $_POST['sessionTab']; ?>">
|
38 |
<input type="hidden" name="sessionTab" value="<?php if (isset($_POST['sessionTab'])) echo $_POST['sessionTab']; ?>" />
|
| 39 |
<input type="hidden" name="searchTerm" value="<?php if (isset($_POST['searchTerm'])) echo $_POST['searchTerm']; ?>">
|
39 |
<input type="hidden" name="searchTerm" value="<?php if (isset($_POST['searchTerm'])) echo $_POST['searchTerm']; ?>" />
|
| 40 |
<?php if (!empty($userData['password'])) { ?>
|
40 |
<?php if (!empty($userData['password'])) { ?>
|
| 41 |
<input id="emailfield" type="text" value="<?php echo $userData['email'] ?>" autocomplete="username">
|
41 |
<input id="emailfield" type="text" value="<?php echo $userData['email'] ?>" autocomplete="username" />
|
| 42 |
<div class="frm-input">
|
42 |
<div class="frm-input">
|
| 43 |
<input type="password" name="old_password" class="pass-in" placeholder="Current Password" aria-label="Current Password" required="" autocomplete="current-password">
|
43 |
<input type="password" name="old_password" class="pass-in" placeholder="Current Password" aria-label="Current Password" required="" autocomplete="current-password" />
|
| 44 |
</div>
|
44 |
</div>
|
| 45 |
<?php
|
45 |
<?php
|
| 46 |
} ?>
|
46 |
} ?>
|
| 47 |
<div class="frm-input">
|
47 |
<div class="frm-input">
|
| 48 |
<input type="password" name="password" class="pass-in" placeholder="New Password" aria-label="New Password" required="" autocomplete="new-password">
|
48 |
<input type="password" name="password" class="pass-in" placeholder="New Password" aria-label="New Password" required="" autocomplete="new-password" />
|
| 49 |
</div>
|
49 |
</div>
|
| 50 |
<div class="frm-input">
|
50 |
<div class="frm-input">
|
| 51 |
<input type="password" name="confirm_password" class="pass-in" placeholder="Confirm Password" aria-label="Confirm New Password" required="" autocomplete="new-password">
|
51 |
<input type="password" name="confirm_password" class="pass-in" placeholder="Confirm Password" aria-label="Confirm New Password" required="" autocomplete="new-password" />
|
| 52 |
</div>
|
52 |
</div>
|
| 53 |
<div class="frm-btn">
|
53 |
<div class="frm-btn">
|
| 54 |
<button type="submit" class="btn btn-success" name="updatePassword" value="Update">Update</button>
|
54 |
<button type="submit" class="btn btn-success" name="updatePassword" value="Update">Update</button>
|
| 55 |
</div>
|
55 |
</div>
|
| 56 |
</form>
|
56 |
</form>
|