| 25 |
- |
1 |
<?php
|
| 31 |
- |
2 |
// Include Session Handling
|
|
|
3 |
require_once('includes/session.php');
|
| 25 |
- |
4 |
// Include config & login validate file
|
| 31 |
- |
5 |
require_once('includes/validateUser.php');
|
| 25 |
- |
6 |
?>
|
|
|
7 |
<!DOCTYPE html>
|
|
|
8 |
<html lang="en-US">
|
|
|
9 |
<head>
|
|
|
10 |
<!--head-->
|
| 31 |
- |
11 |
<?php include_once('elements/head.php'); ?>
|
| 25 |
- |
12 |
<!--//head-->
|
|
|
13 |
</head>
|
|
|
14 |
<body>
|
| 31 |
- |
15 |
<div class="container-fluid">
|
| 25 |
- |
16 |
<!--header-->
|
| 31 |
- |
17 |
<?php include_once('elements/header.php'); ?>
|
| 25 |
- |
18 |
<!--//header-->
|
| 29 |
- |
19 |
|
| 25 |
- |
20 |
<!--main-->
|
|
|
21 |
<div class="main-content">
|
|
|
22 |
<div class="wrapper-frm">
|
|
|
23 |
<h2>Login To Your Account</h2>
|
|
|
24 |
<div class="top">
|
|
|
25 |
<?php echo !empty($statusMsg)?'<p class="status-msg '.$statusMsgType.'">'.$statusMsg.'</p>':''; ?>
|
|
|
26 |
<form action="<?php echo BASE_URL; ?>userAccount.php" method="post">
|
|
|
27 |
<div class="frm-input">
|
|
|
28 |
<input type="email" name="email" class="email-in" placeholder="Email" required="">
|
|
|
29 |
</div>
|
|
|
30 |
<div class="frm-input">
|
|
|
31 |
<input type="password" name="password" class="pass-in" placeholder="Password" required="">
|
|
|
32 |
</div>
|
|
|
33 |
<div class="frm-info">
|
|
|
34 |
<div class="check">
|
|
|
35 |
<input type="checkbox" id="remb" name="rememberMe" value="1">
|
|
|
36 |
<label for="remb"><span></span>Remember me</label>
|
|
|
37 |
</div>
|
|
|
38 |
<a href="<?php echo BASE_URL; ?>forgotPassword.php">Forgot Password?</a>
|
|
|
39 |
<div class="clear"></div>
|
|
|
40 |
</div>
|
|
|
41 |
<div class="frm-btn">
|
|
|
42 |
<input type="submit" name="loginSubmit" value="Sign In">
|
|
|
43 |
</div>
|
|
|
44 |
</form>
|
|
|
45 |
</div>
|
|
|
46 |
<?php if(!empty($fbLoginURL) || !empty($gpLoginURL) || !empty($twLoginURL)){ ?>
|
|
|
47 |
<div class="social-icons">
|
|
|
48 |
<h3>Login with your Social Account</h3>
|
|
|
49 |
<ul class="bottom-sc-icons">
|
|
|
50 |
<?php if(!empty($fbLoginURL)){ ?>
|
|
|
51 |
<li><a href="<?php echo $fbLoginURL; ?>" class="facebook"><i></i><span>Facebook</span></a></li>
|
|
|
52 |
<?php } ?>
|
|
|
53 |
<?php if(!empty($gpLoginURL)){ ?>
|
|
|
54 |
<li><a href="<?php echo $gpLoginURL; ?>" class="google"><i></i><span>Google</span></a></li>
|
|
|
55 |
<?php } ?>
|
|
|
56 |
<?php if(!empty($twLoginURL)){ ?>
|
|
|
57 |
<li><a href="<?php echo $twLoginURL; ?>" class="twitter"><i></i><span>Twitter</span></a></li>
|
|
|
58 |
<?php } ?>
|
|
|
59 |
</ul>
|
|
|
60 |
<div class="clear"> </div>
|
|
|
61 |
</div>
|
|
|
62 |
<?php } ?>
|
|
|
63 |
<div class="bottom">
|
|
|
64 |
<p>Don't Have an Account? <a href="<?php echo BASE_URL; ?>registration.php">Register Now</a></p>
|
|
|
65 |
</div>
|
|
|
66 |
</div>
|
|
|
67 |
</div>
|
|
|
68 |
<!--//main-->
|
| 29 |
- |
69 |
|
| 25 |
- |
70 |
<!--footer-->
|
| 31 |
- |
71 |
<?php include_once('elements/footer.php'); ?>
|
| 25 |
- |
72 |
<!--//footer-->
|
|
|
73 |
</div>
|
|
|
74 |
</body>
|
| 31 |
- |
75 |
</html>
|
|
|
76 |
<?php MySessionHandler::commit(session_id()); ?>
|