-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnewpass.php
More file actions
70 lines (58 loc) · 2.82 KB
/
newpass.php
File metadata and controls
70 lines (58 loc) · 2.82 KB
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
64
65
66
67
68
69
<!doctype html>
<html lang="en">
<head>
<?php include_once 'includes/head.php'; ?>
<?php include_once 'includes/footer.php'; ?>
<script src="https://code.jquery.com/jquery-3.3.1.min.js"></script>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<script src="https://unpkg.com/gijgo@1.9.13/js/gijgo.min.js" type="text/javascript"></script>
<link href="https://unpkg.com/gijgo@1.9.13/css/gijgo.min.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css" href="css/addcomp.css">
<link rel="stylesheet" type="text/css" href="css/login.css">
<title>Change Password</title>
</head>
<body>
<div>
<img id="img2" src="images/pass.png" width="550px" style="position: absolute; position: fixed; z-index: 1; margin-left: 50%;
margin-top: 20vh;">
</div>
<img src="images/aboutbg.png" id="img1" style="position: fixed;">
<?php include_once 'includes/nav.php'; ?>
<div class="content">
<br> <br>
<h1 align="center" style="margin-left: 50px;">Forgot Password?</h1> <br>
<br><br>
<div class="row justify-content-center">
<form action="php/newpass.php" autocomplete="off" method="POST">
<input type="password" style="display: none;" autocomplete="false">
<?php
include_once 'includes/db.inc.php';
?>
<div class="center">
<div class="form-group">
<label for="exampleInputEmail1">Enter Password</label>
<input type="password" class="form-control" id="exampleInputEmail1" name="password1" placeholder="Enter Password" style="width: 270px;">
</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" style="width: 270px;">
</div>
<button type="submit" class="btn" name="confirm" style=" color: white;
font-weight: bold; background: linear-gradient(to left, #4181ED, #3F4261);">Change</button>
</div>
</div>
</form>
</div>
</div>
<script src="https://unpkg.com/gijgo@1.9.13/js/gijgo.min.js" type="text/javascript"></script>
<script>
$(document).ready(function() {
$("#add").removeClass("active");
$("#change").addClass("active");
});
</script>
</body>
</html>