-
Notifications
You must be signed in to change notification settings - Fork 0
/
reset-password.php
41 lines (37 loc) · 1.1 KB
/
reset-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
<?php
require 'header.php';
?>
<head>
<style>
main{background-color: #ccc;height: 700px;}
.form-content{width: 40%;margin: auto;font-size: 20px;
background-color: white;padding: 20px;padding-top: 10px;}
h3{text-align: center;}
#signup{margin-left: 40px;}
#signup input[type=text],#signup input[type=password],#signup input[type=email]{margin: 10px 0px;width: 60%;}
#action{padding-top: 15px;margin-left: 50%;}
h5{color: red;text-align: center;}
#success{color: green;}
</style>
</head>
<main>
<br><br>
<div class="form-content">
<h3>Reset Your Password</h3>
<?php
if (isset($_GET['reset'])) {
if ($_GET['reset'] == "success") {
echo '<h5 class="success">Check Your Mail Inbox!</h5>';
}
}
?>
<form id="signup" action="includes/reset-request.inc.php" method="post">
<label>E-mail :</label><br>
<input type="email" name="email" placeholder="Enter your registered mail-id" required><br>
<button type="submit" name="reset-request-submit">Receive New Password</button>
</form>
</div>
</main>
<?php
require 'footer.php';
?>