-
Notifications
You must be signed in to change notification settings - Fork 6
/
newpass.php
48 lines (37 loc) · 1.53 KB
/
newpass.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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<?php
include_once 'includes/head.php';
include_once 'includes/db.inc.php';
?>
<link rel="stylesheet" type="text/css" href="css/forgot1.css">
<title>Login</title>
</head>
<body>
<?php include_once 'includes/nav.php'; ?>
<form action="php/newpass.php" method="POST">
<div class="img">
<img id="img1" src="images/2.jpg">
</div>
<div class="center two">
<div class="form-group">
<label for="exampleInputEmail1">Enter Password</label>
<input type="password" class="form-control" id="exampleInputEmail1" name="password1" placeholder="Enter Password" required>
</div>
<div style="display: none;">
<input type="text" name="username" value="<?php echo $_GET['username']; ?>">
</div>
<div class="form-group">
<label for="exampleInputEmail1">Confirm Password</label>
<input type="password" class="form-control" id="exampleInputEmail1" name="password2" placeholder="Confirm Password" required>
</div>
<button type="submit" class="btn btn-primary" name="confirm">Change</button>
</div>
</form>
<?php include_once 'includes/footer.php'; ?>
</body>
</html>
<?php $username = $_GET['username']; ?>