| 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'); ?>
|
| 42 |
- |
12 |
<script src="<?php echo PUBLIC_URL; ?>js/policies.js" async defer></script>
|
| 25 |
- |
13 |
<!--//head-->
|
|
|
14 |
</head>
|
|
|
15 |
<body>
|
| 43 |
- |
16 |
<div class="main">
|
| 25 |
- |
17 |
<!--header-->
|
| 31 |
- |
18 |
<?php include_once('elements/header.php'); ?>
|
| 25 |
- |
19 |
<!--//header-->
|
| 29 |
- |
20 |
|
| 25 |
- |
21 |
<!--main-->
|
|
|
22 |
<div class="main-content">
|
| 57 |
- |
23 |
<div class="wrapper-frm bg-light text-dark border shadow text-center">
|
|
|
24 |
<div>
|
|
|
25 |
<h2>Login To Your Account</h2>
|
|
|
26 |
</div>
|
| 25 |
- |
27 |
<div class="top">
|
|
|
28 |
<?php echo !empty($statusMsg)?'<p class="status-msg '.$statusMsgType.'">'.$statusMsg.'</p>':''; ?>
|
|
|
29 |
<form action="<?php echo BASE_URL; ?>userAccount.php" method="post">
|
|
|
30 |
<div class="frm-input">
|
|
|
31 |
<input type="email" name="email" class="email-in" placeholder="Email" required="">
|
|
|
32 |
</div>
|
|
|
33 |
<div class="frm-input">
|
|
|
34 |
<input type="password" name="password" class="pass-in" placeholder="Password" required="">
|
|
|
35 |
</div>
|
|
|
36 |
<div class="frm-info">
|
|
|
37 |
<div class="check">
|
|
|
38 |
<input type="checkbox" id="remb" name="rememberMe" value="1">
|
|
|
39 |
<label for="remb"><span></span>Remember me</label>
|
|
|
40 |
</div>
|
|
|
41 |
<a href="<?php echo BASE_URL; ?>forgotPassword.php">Forgot Password?</a>
|
| 57 |
- |
42 |
<div class="clearfix"></div>
|
| 25 |
- |
43 |
</div>
|
|
|
44 |
<div class="frm-btn">
|
| 57 |
- |
45 |
<button class="btn btn-success" type="submit" name="loginSubmit" value="Sign In">Sign In</button>
|
| 25 |
- |
46 |
</div>
|
|
|
47 |
</form>
|
|
|
48 |
</div>
|
|
|
49 |
<?php if(!empty($fbLoginURL) || !empty($gpLoginURL) || !empty($twLoginURL)){ ?>
|
| 42 |
- |
50 |
<div class="group">
|
|
|
51 |
<div class="item line"></div>
|
|
|
52 |
<div class="item text">or</div>
|
|
|
53 |
<div class="item line"></div>
|
|
|
54 |
</div>
|
|
|
55 |
<div class="social-icons">
|
| 25 |
- |
56 |
<h3>Login with your Social Account</h3>
|
| 42 |
- |
57 |
<div class="check pt-4 pb-2">
|
|
|
58 |
<p id="acceptPoliciesMsg"></p>
|
|
|
59 |
<input type="checkbox" id="acceptPolicies" name="acceptPolicies" value="1" required="">
|
|
|
60 |
<label for="acceptPolicies"><span></span>I agree to the <a href="../terms.php" target="_blank">Terms of Service</a> and I accept the <a href="../privacy.php" target="_blank">Privacy Policy</a>.</label>
|
|
|
61 |
</div>
|
| 25 |
- |
62 |
<ul class="bottom-sc-icons">
|
|
|
63 |
<?php if(!empty($fbLoginURL)){ ?>
|
| 42 |
- |
64 |
<li><a href="<?php echo $fbLoginURL; ?>" class="facebook" onclick="return checkAcceptPolicies();"><i></i><span>Facebook</span></a></li>
|
| 25 |
- |
65 |
<?php } ?>
|
|
|
66 |
<?php if(!empty($gpLoginURL)){ ?>
|
| 42 |
- |
67 |
<li><a href="<?php echo $gpLoginURL; ?>" class="google" onclick="return checkAcceptPolicies();"><i></i><span>Google</span></a></li>
|
| 25 |
- |
68 |
<?php } ?>
|
|
|
69 |
<?php if(!empty($twLoginURL)){ ?>
|
| 42 |
- |
70 |
<li><a href="<?php echo $twLoginURL; ?>" class="twitter" onclick="return checkAcceptPolicies();"><i></i><span>Twitter</span></a></li>
|
| 25 |
- |
71 |
<?php } ?>
|
|
|
72 |
</ul>
|
| 57 |
- |
73 |
<div class="clearfix"> </div>
|
| 25 |
- |
74 |
</div>
|
|
|
75 |
<?php } ?>
|
|
|
76 |
<div class="bottom">
|
|
|
77 |
<p>Don't Have an Account? <a href="<?php echo BASE_URL; ?>registration.php">Register Now</a></p>
|
|
|
78 |
</div>
|
| 57 |
- |
79 |
</div>
|
| 25 |
- |
80 |
</div>
|
|
|
81 |
<!--//main-->
|
| 29 |
- |
82 |
|
| 25 |
- |
83 |
<!--footer-->
|
| 31 |
- |
84 |
<?php include_once('elements/footer.php'); ?>
|
| 25 |
- |
85 |
<!--//footer-->
|
|
|
86 |
</div>
|
|
|
87 |
</body>
|
| 31 |
- |
88 |
</html>
|
|
|
89 |
<?php MySessionHandler::commit(session_id()); ?>
|