Rev 57 | Rev 108 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
<?php// Include Session Handlingrequire_once ('includes/session.php');// Include config & login validate filerequire_once ('includes/validateUser.php');?><!DOCTYPE html><html lang="en-US"><head><!--head--><?php include_once ('elements/head.php'); ?><script src="<?php echo PUBLIC_URL; ?>js/policies.js" async defer></script><!--//head--></head><body><div class="main"><!--header--><?php include_once ('elements/header.php'); ?><!--//header--><!--main--><div class="main-content"><div class="wrapper-frm bg-light text-dark border shadow text-center"><div><h2>Login To Your Account</h2></div><div class="top"><?php echo !empty($statusMsg) ? '<p class="status-msg ' . $statusMsgType . '">' . $statusMsg . '</p>' : ''; ?><form action="<?php echo BASE_URL; ?>userAccount.php" method="post"><div class="frm-input"><input type="email" name="email" class="email-in" placeholder="Email" required=""></div><div class="frm-input"><input type="password" name="password" class="pass-in" placeholder="Password" required=""></div><div class="frm-info"><div class="check"><input type="checkbox" id="remb" name="rememberMe" value="1"><label for="remb"><span></span>Remember me</label></div><a href="<?php echo BASE_URL; ?>forgotPassword.php">Forgot Password?</a><div class="clearfix"></div></div><div class="frm-btn"><button class="btn btn-success" type="submit" name="loginSubmit" value="Sign In">Sign In</button></div></form></div><?php if (!empty($fbLoginURL) || !empty($gpLoginURL) || !empty($twLoginURL)) { ?><div class="group"><div class="item line"></div><div class="item text">or</div><div class="item line"></div></div><div class="social-icons"><h3>Login with your Social Account</h3><div class="check pt-4 pb-2"><p id="acceptPoliciesMsg"></p><input type="checkbox" id="acceptPolicies" name="acceptPolicies" value="1" required=""><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></div><ul class="bottom-sc-icons"><?php if (!empty($fbLoginURL)) { ?><li><a href="<?php echo $fbLoginURL; ?>" class="facebook" onclick="return checkAcceptPolicies();"><i></i><span>Facebook</span></a></li><?php} ?><?php if (!empty($gpLoginURL)) { ?><li><a href="<?php echo $gpLoginURL; ?>" class="google" onclick="return checkAcceptPolicies();"><i></i><span>Google</span></a></li><?php} ?><?php if (!empty($twLoginURL)) { ?><li><a href="<?php echo $twLoginURL; ?>" class="twitter" onclick="return checkAcceptPolicies();"><i></i><span>Twitter</span></a></li><?php} ?></ul><div class="clearfix"> </div></div><?php} ?><div class="bottom"><p>Don't Have an Account? <a href="<?php echo BASE_URL; ?>registration.php">Register Now</a></p></div></div></div><!--//main--><!--footer--><?php include_once ('elements/footer.php'); ?><!--//footer--></div></body></html><?php MySessionHandler::commit(session_id()); ?>