25 |
- |
1 |
<?php
|
|
|
2 |
// Include config & login validate file
|
|
|
3 |
require_once 'includes/validateUser.php';
|
|
|
4 |
|
|
|
5 |
if ($_SERVER["SERVER_NAME"] == "www.findcheapmusic.com") {
|
|
|
6 |
ini_set("zlib.output_compression", "On");
|
|
|
7 |
ini_set("display_errors", 0);
|
|
|
8 |
ini_set("log_errors", 1);
|
|
|
9 |
ini_set("error_log", $_SERVER['DOCUMENT_ROOT'] . "../MyFiles/logs/php_error.log");
|
|
|
10 |
header("Strict-Transport-Security: max-age=31536000; includeSubDomains; preload");
|
|
|
11 |
header("X-Content-Type-Options: nosniff");
|
|
|
12 |
header("X-XSS-Protection: 1; mode=block");
|
|
|
13 |
header("Access-Control-Allow-Origin: *");
|
|
|
14 |
header("Referrer-Policy: no-referrer");
|
|
|
15 |
header("X-Frame-Options: SAMEORIGIN");
|
|
|
16 |
header("Set-Cookie: ^(.*)$ $1;HttpOnly;Secure");
|
|
|
17 |
header("Content-Security-Policy: default-src 'none'; font-src https://fonts.gstatic.com; form-action 'self'; img-src 'self' http://abs.twimg.com https://abs.twimg.com https://lh4.googleusercontent.com https://platform-lookaside.fbsbx.com; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com/;frame-ancestors 'self'");
|
|
|
18 |
}
|
|
|
19 |
?>
|
|
|
20 |
<!DOCTYPE html>
|
|
|
21 |
<html lang="en-US">
|
|
|
22 |
<head>
|
|
|
23 |
<!--head-->
|
|
|
24 |
<?php include_once 'elements/head.php'; ?>
|
|
|
25 |
<!--//head-->
|
|
|
26 |
</head>
|
|
|
27 |
<body>
|
|
|
28 |
<div class="container">
|
|
|
29 |
<!--header-->
|
|
|
30 |
<?php include_once 'elements/header.php'; ?>
|
|
|
31 |
<!--//header-->
|
|
|
32 |
|
|
|
33 |
<!--main-->
|
|
|
34 |
<div class="main-content">
|
|
|
35 |
<div class="wrapper-frm">
|
|
|
36 |
<h2>Login To Your Account</h2>
|
|
|
37 |
<div class="top">
|
|
|
38 |
<?php echo !empty($statusMsg)?'<p class="status-msg '.$statusMsgType.'">'.$statusMsg.'</p>':''; ?>
|
|
|
39 |
<form action="<?php echo BASE_URL; ?>userAccount.php" method="post">
|
|
|
40 |
<div class="frm-input">
|
|
|
41 |
<input type="email" name="email" class="email-in" placeholder="Email" required="">
|
|
|
42 |
</div>
|
|
|
43 |
<div class="frm-input">
|
|
|
44 |
<input type="password" name="password" class="pass-in" placeholder="Password" required="">
|
|
|
45 |
</div>
|
|
|
46 |
<div class="frm-info">
|
|
|
47 |
<div class="check">
|
|
|
48 |
<input type="checkbox" id="remb" name="rememberMe" value="1">
|
|
|
49 |
<label for="remb"><span></span>Remember me</label>
|
|
|
50 |
</div>
|
|
|
51 |
<a href="<?php echo BASE_URL; ?>forgotPassword.php">Forgot Password?</a>
|
|
|
52 |
<div class="clear"></div>
|
|
|
53 |
</div>
|
|
|
54 |
<div class="frm-btn">
|
|
|
55 |
<input type="submit" name="loginSubmit" value="Sign In">
|
|
|
56 |
</div>
|
|
|
57 |
</form>
|
|
|
58 |
</div>
|
|
|
59 |
<?php if(!empty($fbLoginURL) || !empty($gpLoginURL) || !empty($twLoginURL)){ ?>
|
|
|
60 |
<div class="social-icons">
|
|
|
61 |
<h3>Login with your Social Account</h3>
|
|
|
62 |
<ul class="bottom-sc-icons">
|
|
|
63 |
<?php if(!empty($fbLoginURL)){ ?>
|
|
|
64 |
<li><a href="<?php echo $fbLoginURL; ?>" class="facebook"><i></i><span>Facebook</span></a></li>
|
|
|
65 |
<?php } ?>
|
|
|
66 |
<?php if(!empty($gpLoginURL)){ ?>
|
|
|
67 |
<li><a href="<?php echo $gpLoginURL; ?>" class="google"><i></i><span>Google</span></a></li>
|
|
|
68 |
<?php } ?>
|
|
|
69 |
<?php if(!empty($twLoginURL)){ ?>
|
|
|
70 |
<li><a href="<?php echo $twLoginURL; ?>" class="twitter"><i></i><span>Twitter</span></a></li>
|
|
|
71 |
<?php } ?>
|
|
|
72 |
</ul>
|
|
|
73 |
<div class="clear"> </div>
|
|
|
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>
|
|
|
79 |
</div>
|
|
|
80 |
</div>
|
|
|
81 |
<!--//main-->
|
|
|
82 |
|
|
|
83 |
<!--footer-->
|
|
|
84 |
<?php include_once 'elements/footer.php'; ?>
|
|
|
85 |
<!--//footer-->
|
|
|
86 |
</div>
|
|
|
87 |
</body>
|
|
|
88 |
</html>
|