-
Notifications
You must be signed in to change notification settings - Fork 1
/
change-password.php
50 lines (39 loc) · 1.21 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
<?php include('menubar.inc.php'); ?>
<!DOCTYPE html>
<html>
<head>
<title>Change Password</title>
<link rel="stylesheet" type="text/css" href="css/change-password.css">
</head>
<body>
<div class="body1">
<form action="change-p.php" method="post">
<h2>Change Password</h2>
<?php if (isset($_GET['error'])) { ?>
<p class="error"><?php echo $_GET['error']; ?></p>
<?php } ?>
<?php if (isset($_GET['success'])) { ?>
<p class="success"><?php echo $_GET['success']; ?></p>
<?php } ?>
<label>Old Password</label>
<input type="password"
name="op"
placeholder="Enter Old Password">
<br>
<label>New Password</label>
<input type="password"
name="np"
placeholder="Enter New Password">
<br>
<label>Confirm New Password</label>
<input type="password"
name="c_np"
placeholder="Confirm New Password">
<br>
<button type="submit">CHANGE</button>
<a href="forgot-password.php" class="ca">Forgot Old Password..?</a>
</form>
</div>
</body>
</html>
<?php include('footer.inc.php'); ?>