-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathforget_password.php
63 lines (53 loc) · 2.19 KB
/
forget_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
51
52
53
54
55
56
57
58
59
60
61
62
63
<?php
include("includes/header.php");
include("includes/connection.php");
include("functions/notification.php");
display_notification_messages();
?>
<!-- Forget Password Modal -->
<div class="modal modal-sheet position-static d-block bg-body-secondary p-4 py-md-5" tabindex="-1" role="dialog">
<div class="modal-dialog" role="document">
<div class="modal-content rounded-4 shadow">
<!-- Modal Header -->
<div class="modal-header p-5 pb-4 border-bottom-0">
<h1 class="fw-bold mb-0 fs-2">Forget Password</h1>
</div>
<!-- Modal Body -->
<div class="modal-body p-5 pt-0">
<!-- Forget Password Form -->
<form action="functions/forget_password_process.php" method="POST">
<!-- User Name Input -->
<div class="form-floating mb-3">
<input name="username" type="text" class="form-control rounded-3" placeholder="Full Name">
<label>User Name</label>
</div>
<!-- Security Question Selection -->
<select class="form-select mb-3" name="question" aria-label="Default select example">
<option>Which is your Favourite Movie?</option>
<option>Which is your Favourite Actress?</option>
</select>
<!-- Security Answer -->
<div class="form-floating mb-3">
<input name="answer" type="text" class="form-control rounded-3" placeholder="Security answer">
<label>Security answer</label>
</div>
<!-- Password Input -->
<div class="form-floating mb-3">
<input name="password" type="password" class="form-control rounded-3" placeholder="New Password">
<label>New Password</label>
</div>
<!-- Confirm Password Input -->
<div class="form-floating mb-3">
<input name="confirm_password" type="password" class="form-control rounded-3" placeholder="Confirm Password">
<label>Confirm Password</label>
</div>
<!-- Submit Button -->
<input type="submit" class="w-100 mb-2 btn btn-sm rounded-3 btn-outline-info" value="Change Password">
</form>
</div>
</div>
</div>
</div>
<?php
include("includes/footer.php");
?>