-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathforget-password.php
More file actions
53 lines (53 loc) · 1.75 KB
/
forget-password.php
File metadata and controls
53 lines (53 loc) · 1.75 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="apple-touch-icon" sizes="180x180" href="images/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="images/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="images/favicon-16x16.png">
<link rel="manifest" href="images/site.webmanifest">
<link rel="stylesheet" type="text/css" href="css/style.css">
<title>Forget Password</title>
</head>
<body>
<div id="particles-js"></div>
<section>
<div class="box">
<div class="container-f">
<div class="form">
<h2>Forget Password</h2>
<form action="includes/forget-password.inc.php" method="POST">
<div class="inputBox">
<input type="email" name="emailid" placeholder="Email ID">
</div>
<div class="inputBox">
<input type="submit" name="reset-request" value="Reset">
</div>
<?php
if (isset($_GET["info"])) {
if ($_GET["info"] == "success") {
echo "<p class='forget'>Check your e-mail!</p>";
}
}
else {
if (isset($_GET["error"])) {
if ($_GET["error"] == "emailempty") {
echo "<p class='forget'>Email cannot be empty..</p>";
}
else if ($_GET["error"] == "invalidemail") {
echo "<p class='forget'>It's look like you don't have a account yet!. <a href='signup.php'>Sign Up</a></p>";
}
}
}
?>
</form>
</div>
</div>
</div>
</section>
<script src="js/particles.min.js"></script>
<script src="js/app.js"></script>
</body>
</html>