Subversion Repositories cheapmusic

Rev

Rev 42 | Rev 57 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
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">
23
		<div class="wrapper-frm">
24
            <h2>Login To Your Account</h2>
25
            <div class="top">
26
				<?php echo !empty($statusMsg)?'<p class="status-msg '.$statusMsgType.'">'.$statusMsg.'</p>':''; ?>
27
                <form action="<?php echo BASE_URL; ?>userAccount.php" method="post">
28
                    <div class="frm-input">
29
                        <input type="email" name="email" class="email-in" placeholder="Email" required="">
30
                    </div>
31
                    <div class="frm-input">
32
                        <input type="password" name="password" class="pass-in" placeholder="Password" required="">
33
                    </div>
34
                    <div class="frm-info">
35
                        <div class="check">
36
                            <input type="checkbox" id="remb" name="rememberMe" value="1">
37
                            <label for="remb"><span></span>Remember me</label>
38
                        </div>
39
                        <a href="<?php echo BASE_URL; ?>forgotPassword.php">Forgot Password?</a>
40
                        <div class="clear"></div>
41
                    </div>
42
                    <div class="frm-btn">
43
                        <input type="submit" name="loginSubmit" value="Sign In">
44
                    </div>
45
                </form>
46
            </div>
47
			<?php if(!empty($fbLoginURL) || !empty($gpLoginURL) || !empty($twLoginURL)){ ?>
42 - 48
                <div class="group">
49
                    <div class="item line"></div>
50
                    <div class="item text">or</div>
51
                    <div class="item line"></div>
52
                </div>
53
                <div class="social-icons">
25 - 54
                <h3>Login with your Social Account</h3>
42 - 55
                <div class="check pt-4 pb-2">
56
                    <p id="acceptPoliciesMsg"></p>
57
                    <input type="checkbox" id="acceptPolicies" name="acceptPolicies" value="1" required="">
58
                    <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>
59
                </div>
25 - 60
                <ul class="bottom-sc-icons">
61
					<?php if(!empty($fbLoginURL)){ ?>
42 - 62
                    <li><a href="<?php echo $fbLoginURL; ?>" class="facebook" onclick="return checkAcceptPolicies();"><i></i><span>Facebook</span></a></li>
25 - 63
					<?php } ?>
64
					<?php if(!empty($gpLoginURL)){ ?>
42 - 65
                    <li><a href="<?php echo $gpLoginURL; ?>" class="google" onclick="return checkAcceptPolicies();"><i></i><span>Google</span></a></li>
25 - 66
					<?php } ?>
67
					<?php if(!empty($twLoginURL)){ ?>
42 - 68
                    <li><a href="<?php echo $twLoginURL; ?>" class="twitter" onclick="return checkAcceptPolicies();"><i></i><span>Twitter</span></a></li>
25 - 69
					<?php } ?>
70
                </ul>
71
                <div class="clear"> </div>
72
            </div>
73
			<?php } ?>
74
            <div class="bottom">
75
                <p>Don't Have an Account? <a href="<?php echo BASE_URL; ?>registration.php">Register Now</a></p>
76
            </div>
77
		</div>
78
	</div>
79
	<!--//main-->
29 - 80
 
25 - 81
	<!--footer-->
31 - 82
	<?php include_once('elements/footer.php'); ?>
25 - 83
	<!--//footer-->
84
</div>
85
</body>
31 - 86
</html>
87
<?php MySessionHandler::commit(session_id()); ?>