-
Notifications
You must be signed in to change notification settings - Fork 0
/
mail_input.php
185 lines (157 loc) · 7.42 KB
/
mail_input.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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
<!DOCTYPE html>
<html lang="en">
<head>
<title>LAcademy</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link href="https://fonts.googleapis.com/css?family=Muli:300,400,700,900" rel="stylesheet">
<link rel="stylesheet" href="fonts/icomoon/style.css">
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/jquery-ui.css">
<link rel="stylesheet" href="css/owl.carousel.min.css">
<link rel="stylesheet" href="css/owl.theme.default.min.css">
<link rel="stylesheet" href="css/owl.theme.default.min.css">
<link rel="stylesheet" href="css/jquery.fancybox.min.css">
<link rel="stylesheet" href="css/bootstrap-datepicker.css">
<link rel="stylesheet" href="fonts/flaticon/font/flaticon.css">
<link rel="stylesheet" href="css/aos.css">
<link rel="stylesheet" href="css/style.css">
</head>
<body data-spy="scroll" data-target=".site-navbar-target" data-offset="300">
<div class="site-wrap">
<div class="site-mobile-menu site-navbar-target">
<div class="site-mobile-menu-header">
<div class="site-mobile-menu-close mt-3">
<span class="icon-close2 js-menu-toggle"></span>
</div>
</div>
<div class="site-mobile-menu-body"></div>
</div>
<header class="site-navbar py-4 js-sticky-header site-navbar-target" role="banner">
<div class="container-fluid">
<div class="d-flex align-items-center">
<div class="site-logo mr-auto w-25"><a href="index.php">LAcademy</a></div>
<div class="mx-auto text-center">
<nav class="site-navigation position-relative text-right" role="navigation">
<ul class="site-menu main-menu js-clone-nav mx-auto d-none d-lg-block m-0 p-0">
<li><a href="index.php#home-section" class="nav-link">Home</a></li>
<li><a href="index.php#courses-section" class="nav-link">Courses</a></li>
<li><a href="index.php#programs-section" class="nav-link">Programs</a></li>
<li><a href="index.php#teachers-section" class="nav-link">Teachers</a></li>
</ul>
</nav>
</div>
<div class="ml-auto w-25">
<nav class="site-navigation position-relative text-right" role="navigation">
<ul class="site-menu main-menu site-menu-dark js-clone-nav mr-auto d-none d-lg-block m-0 p-0">
<li class="cta"><a href="#contact-section" class="nav-link"><span>Contact Us</span></a></li>
</ul>
</nav>
<a href="#" class="d-inline-block d-lg-none site-menu-toggle js-menu-toggle text-black float-right"><span class="icon-menu h3"></span></a>
</div>
</div>
</div>
</header>
<div class="intro-section single-cover" id="home-section">
<div class="slide-1 " style="background-image: url('images/pwd_reset.jpg');" data-stellar-background-ratio="0.5">
<div class="container">
<div class="row align-items-center">
<div class="col-12">
<div class="row justify-content-center align-items-center text-center">
<div class="col-lg-6">
<h1 data-aos="fade-up" data-aos-delay="0" style="Color:white;">Resetting password !</h1>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="site-section bg-light" id="contact-section">
<div class="container">
<div class="row justify-content-center">
<div class="col-md-7">
<h2 class="section-title mb-3">Enter your E-mail</h2>
<!-- Beginning of the php for the contact form -->
<!-- End of the php for the contact form -->
<form method="post" action="includes/pwd_reset.inc.php" data-aos="fade" id="mail_input_form" class="aos-init">
<div class="form-group row">
<div class="col-md-12">
<?php if (isset($_GET['error1'])) {
if ($_GET['error1']=='nomail'){
echo '<div style="color:red;">We didn\'t find that email in our database!</div>';
}else if ($_GET['error1']=='empty_field'){
echo '<div style="color:red;">You need to input your email!</div>';
}
}?>
<div id="error_reset_pwd_email"></div>
<input type="email" id="reset_pwd_email" name="reset_pwd_email" class="form-control" placeholder="Email" value="">
</div>
</div>
<div class="form-group row">
<div class="col-md-6">
<input type="submit" name="submit" class="btn btn-primary py-3 px-5 btn-block btn-pill" value="Send">
</div>
</div>
</form>
</div>
</div>
</div>
</div>
<footer class="footer-section bg-white">
<div class="container">
<div class="row">
<div class="col-md-4">
<h3>About LAcademy</h3>
<p>An E-Learning platform rich of resources, We make learning easy and simple for Everyone.</p>
</div>
<div class="col-md-3 ml-auto">
<h3>Links</h3>
<ul class="list-unstyled footer-links">
<li><a href="index.php#home-section" class="nav-link">Home</a></li>
<li><a href="index.php#courses-section" class="nav-link">Courses</a></li>
<li><a href="index.php#programs-section" class="nav-link">Programs</a></li>
<li><a href="index.php#teachers-section" class="nav-link">Teachers</a></li>
</ul>
</div>
<div class="col-md-4">
<h3>Subscribe</h3>
<p>Keep yourself up to date and receive all kind of news about LAcademy.</p>
<form action="https://mailchi.mp/064deb47eeaa/lacdemy" target="_blank" class="footer-subscribe">
<div class="d-flex mb-5">
<input type="submit" class="btn btn-primary rounded-0" value="Subscribe">
</div>
</form>
</div>
</div>
<div class="row pt-5 mt-5 text-center">
<div class="col-md-12">
<div class="border-top pt-5">
<p>
<!-- Link back to Colorlib can't be removed. Template is licensed under CC BY 3.0. -->
Copyright ©<script>document.write(new Date().getFullYear());</script> All rights reserved
<!-- Link back to Colorlib can't be removed. Template is licensed under CC BY 3.0. -->
</p>
</div>
</div>
</div>
</div>
</footer>
</div> <!-- .site-wrap -->
<script src="js/jquery-3.3.1.min.js"></script>
<script src="js/jquery-migrate-3.0.1.min.js"></script>
<script src="js/jquery-ui.js"></script>
<script src="js/popper.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/owl.carousel.min.js"></script>
<script src="js/jquery.stellar.min.js"></script>
<script src="js/jquery.countdown.min.js"></script>
<script src="js/bootstrap-datepicker.min.js"></script>
<script src="js/jquery.easing.1.3.js"></script>
<script src="js/aos.js"></script>
<script src="js/jquery.fancybox.min.js"></script>
<script src="js/jquery.sticky.js"></script>
<script src="js/validation.js"></script>
<script src="js/main.js"></script>
</body>
</html>