-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathforgotpasswordfront.php
59 lines (53 loc) · 2.02 KB
/
forgotpasswordfront.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
<?php require 'nav.php' ?>
<?php
if (isset($_SESSION['username'])) {
header('Location:' . 'index.php');
}
?>
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="css/main.css">
<link rel="stylesheet" href="css/formoid-flat-green.css" type="text/css" />
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body class="hero-image">
</div>
<!-- Nav bar -->
<?php
if (isset($_SESSION['username'])) {
header('Location:'.'index.php');
}
if (isset($_GET['err'])) {
if ($_GET['err'] == 1) {
echo "<script>alert('Security Answer Incorrecct!');</script>";
}
if ($_GET['err'] == 2) {
echo "<script>alert('Username does not exist!');</script>";
}
}
?>
<!-- Nav bar finishh -->
<!-- Inspection form start -->
<section>
<div class="container center">
<form enctype="multipart/form-data" class="formoid-flat-green" style="background-color:#fff;font-size:14px;font-family:'Lato', sans-serif;color:#000;max-width:600px;min-width:150px" method="get" action="questions.php">
<div class="title">
<h2 style="margin-right: 27px;margin-left: 27px;">Forgot Password</h2>
</div>
<div lass="element-name">
<label class="title">Enter your registered username:</label> <input type="text" name="uname" required="required"/>
<h3><label class="subtitle" style="color:black;"><a href="signup.php">New user? Sign up!</a></label></h3>
</div>
<div class="submit"><input type="submit" value="Submit" /></div>
</form>
</section>
<!-- inspection section finish -->
<!-- footer section -->
<footer class="center">
<p style="color:white">Some Text here<br> <a href="mailto:[email protected]" style="color:white">EMAIL US</a>
</footer>
<!-- footer section finish -->
</div>
</body>
</html>