-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpwd_admin.php
49 lines (49 loc) · 1.58 KB
/
pwd_admin.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
<!DOCTYPE html>
<html>
<head>
<link href="css/bootstrap.css" rel="stylesheet">
</head>
<body>
<?php
include "admin_header.php";
?>
<div class="container">
<br>
<?php
if(isset($_REQUEST['passwords']))
echo '<span class="text-danger">'.$_REQUEST['passwords'].'</span>';
if(isset($_REQUEST['old']))
echo '<span class="text-danger">'.$_REQUEST['old'].'</span>';
?>
<div class="row">
<div class="col-sm-6">
<form action="update_password_admin.php" method="post">
<div class="form-group">
Enter Email Address
<input type="text" readonly value="<?php echo $_SESSION["adminName"]?>" class="form-control" name="textbox1">
</div>
<div class="form-group">
Enter old password
<input type="password" class="form-control" name="textbox2">
</div>
<div class="form-group">
Enter new password
<input type="password" class="form-control" name="textbox3">
</div>
<div class="form-group">
Confirm new password
<input type="password" class="form-control" name="textbox4">
</div>
<div class="form-group">
<input type="submit" class="btn btn-success">
</div>
</form>
</div>
<div class="col-sm-6"></div>
</div>
</div>
<?php
include 'footer.php';
?>
</body>
</html>