-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathchange-password.php
63 lines (55 loc) · 1.46 KB
/
change-password.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<?php
include 'header.php';
?>
<!-- Left Content Starts Here -->
<div class="mainbar">
<p class="headings">Change Password</p>
<form method="post" action="change-password-exec.php">
<table width="384" border="0" align="center" cellpadding="2" cellspacing="0" style="text-align:left">
<tr><th colspan="2">
<?php
if( isset($_SESSION['ERRMSG_ARR']) && is_array($_SESSION['ERRMSG_ARR']) && count($_SESSION['ERRMSG_ARR']) >0 ) {
echo '<ul class="err">';
foreach($_SESSION['ERRMSG_ARR'] as $msg) {
echo '<li>',$msg,'</li>';
}
echo '</ul>';
unset($_SESSION['ERRMSG_ARR']);
}
?>
</th></tr>
<tr>
<th><label for="password">New Password: </label></th>
<td>
<input name="password" type="password" class="textfield" id="password" />
</td>
</tr>
<tr>
<th> </th><td> </td></tr>
<tr>
<th><label for="cpassword">Confirm Password: </label> </th>
<td>
<input name="cpassword" type="password" class="textfield" id="cpassword" />
</td>
</tr>
<tr>
<th> </th><td> </td>
</tr>
<tr><th> </th><td> </td></tr>
<tr>
<th> </th>
<td><input type="submit" value=" Submit "></td>
</tr>
<tr><th> </th><td> </td></tr>
<tr>
<td> </td>
<td> </td>
</tr>
</table>
</form>
</p>
</div>
<!-- Left Content Ends Here -->
<?php
include 'footer.php'
?>