-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpassword_reset.php
75 lines (62 loc) · 2.79 KB
/
password_reset.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
64
65
66
67
68
69
70
71
72
73
74
75
<?php include 'session.php'; ?>
<?php
if (!isset($_GET['code']) or !isset($_GET['email'])) {
header('location: forgotten_password');
exit();
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<?php include "meta.php" ?>
<title>
Reset Password || Unibooks
</title>
<!-- Fonts and icons -->
<link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700,900|Roboto+Slab:400,700" />
<!-- Nucleo Icons -->
<link href="assets/css/nucleo-icons.css" rel="stylesheet" />
<link href="assets/css/nucleo-svg.css" rel="stylesheet" />
<link href="assets/css/content.css" rel="stylesheet" />
<link href="assets/css/signin.css" rel="stylesheet" />
<!-- Font Awesome Icons -->
<script src="https://kit.fontawesome.com/e9de02addb.js" crossorigin="anonymous"></script>
<!-- Material Icons -->
<link href="https://fonts.googleapis.com/icon?family=Material+Icons+Round" rel="stylesheet">
<!-- CSS Files -->
<link id="pagestyle" href="assets/css/material-dashboard.css?v=3.0.4" rel="stylesheet">
<!-- <link id="pagestyle" href="assets/css/profile.css" rel="stylesheet" > -->
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-9952650109664010" crossorigin="anonymous"></script>
</head>
<body>
<div class="container mt-5 col-lg-12 form-control ">
<div class="card mt-5 form-signin">
<div class="card-header p-0 position-relative mt-n4 mx-3 z-index-2">
<div class="bg-gradient-primary shadow-primary border-radius-lg pt-4 pb-3">
<h4 class="text-white text-center text-capitalize ps-3">Reset Password</h4>
</div>
<div class="card-body ">
<form class="login-form" action="password_new.php?code=<?php echo $_GET['code']; ?>&email=<?php echo $_GET['email']; ?>" method="post">
<div class="form-floating m-3">
<input style="border: solid grey 1px;" type="password" class="form-control ps-2" id="floatingInput" name="password" placeholder="123456">
<label for="floatingInput">Password</label>
</div>
<div class="form-floating m-3">
<input style="border: solid grey 1px;" type="password" class="form-control ps-2" id="floatingInput" name="repassword" placeholder="123456">
<label for="floatingInput">Confirm Password</label>
</div>
<div class="text-center row">
<div class="col-12">
<input type="submit" value="Next" name="reset" class="btn w-80 btn-dark ">
</div>
<div class="col-12">
<a class="btn btn-dark w-80 " href="Signin">Cancel</a>
</div>
</div>
</form>
</div>
</div>
</div>
<?php include "footer.php" ?>
</body>
</html>