-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathforgottepasswordhtml.php
114 lines (96 loc) · 3.04 KB
/
forgottepasswordhtml.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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
<?php
session_start();
?>
<!doctype html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">
<script src="js/bootstrap.min.js" type="text/javascript"></script>
<title>Forgotten password</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<style type="text/css">
body{
padding:0;
margin:0;
}
ul{
list-style-type:none;
margin:0;
padding:0;
overflow:hidden;
background-color:pink;
}
li{
float:left;
}
li a{
display:block;
color:white;
text-align:center;
padding:14px 16px;
text-decoration:none;
}
li a:hover{
size:100px;
color:#111;
text-decoration:none;
}
a.active{
background-color:orange;
}
li a:hover:not(.active){
background-color:yellow;
}
hr.new {
border:1px solid #ccc;
}
</style>
</head>
<body>
<div style="width:100%; height:auto; background-color:#639; margin-top:-20px">
<h1 style="color:white"><b><u>MathsPlanet</u></b><br><b><i>By Anmol Shrivastav.</i>
</b></h1>
</div>
<div class="container" style="margin-top:-10px">
<ul>
<li>
<a href="index.php">Home</a></li>
<li><a href="contact.php">Contact</a></li>
<li><a href="news.php">News</a></li>
<li><a href="signuphtml.php">Signup
</a></li>
<?php
if(isset($_SESSION['email'])) {
?>
<li><a href="logout.php">Logout</a></li>
<li style="float:right">
<h4 class="glyphicon glyphicon-user" style="color:white">
<?php echo($_SESSION['email']); ?>
</h4></li>
<?php } else { ?>
<li><a href="loginhtml.php">Login</a></li>
<?php } ?>
</ul>
<div align="center"> <!-- align center div -->
<div style="width:100%; height:auto; background-color:#ccc"><!-- background color -->
<form class="table-responsive">
<tr><h2 style="color:red"><strong><i><u>Retrieve your password</u></i></strong></h2></tr>
</form>
<form action="forgottepassword.php" method="post">
<div class="form-group">
<label>Enter Email Id :<h4 style="float:left; margin-top:2px; color:red">*</h4></label>
<input type="text" style="width:200px" class="form-control" name="email" required>
</div>
<div class="form-group">
<button id="submitdata" type="submit" class="btn btn-success">
<style="color:white; text-decoration:none">Submit</button>
</div>
</div> <!-- align center div -->
</div> <!-- background color -->
<hr class="new">
<footer align="center">©Copyright 2020 | ®Mathsplanet.com
| ™Terms and condition</footer>
</div><!-- container div -->
</body>
</html>