25 |
- |
1 |
<?php
|
65 |
- |
2 |
// Generate page title from file name
|
|
|
3 |
$pageFile = basename($_SERVER['PHP_SELF']);
|
|
|
4 |
$pageTitle = '';
|
|
|
5 |
if (!empty($pageFile) && $pageFile != 'index.php') {
|
|
|
6 |
$replaceVals = array(
|
|
|
7 |
'_' => ' ',
|
|
|
8 |
'-' => ' ',
|
|
|
9 |
'.php' => ''
|
|
|
10 |
);
|
|
|
11 |
$pageTitle = strtr($pageFile, $replaceVals);
|
|
|
12 |
$pageTitle = preg_replace('/(?<!\ )[A-Z]/', ' $0', $pageTitle);
|
|
|
13 |
$pageTitle = ucwords($pageTitle) . ' - ';
|
|
|
14 |
}
|
|
|
15 |
$metaTitle = trim($pageTitle . SITE_TITLE, ' ');
|
|
|
16 |
?>
|
25 |
- |
17 |
<meta charset="utf-8">
|
|
|
18 |
<meta name="viewport" content="width=device-width, initial-scale=1">
|
35 |
- |
19 |
<title><?php echo $metaTitle; ?></title>
|
153 |
- |
20 |
<link rel="canonical" href="https://<?php echo $_SERVER['SERVER_NAME']; ?>/login/index.php" />
|
114 |
- |
21 |
<meta name="description" content="Create your free login at FindCheapMusic to maintain your wishlist, set up the price monitoring and uncover the coupons and special offers."/>
|
|
|
22 |
<meta name="keywords" content="Cheap,Music,Album,Single,Promo,CD,Compact Disc,Vinyl,Record,Digital,Download,Sheet,Book">
|
|
|
23 |
|
129 |
- |
24 |
<script nonce="<?php echo base64_encode($_SESSION["nonce"]); ?>">window.dataLayer = window.dataLayer || [];</script>
|
114 |
- |
25 |
<link href="https://maxcdn.bootstrapcdn.com" rel="preconnect" crossorigin/>
|
116 |
- |
26 |
<link href="https://fonts.googleapis.com" rel="preconnect" crossorigin/>
|
114 |
- |
27 |
<link href="https://ajax.googleapis.com" rel="preconnect" crossorigin/>
|
|
|
28 |
<link href="https://cdnjs.cloudflare.com" rel="preconnect" crossorigin/>
|
134 |
- |
29 |
<?php if (!empty($_SESSION["gtmId"])) { ?>
|
114 |
- |
30 |
<link href="https://www.googletagmanager.com" rel="preconnect" crossorigin/>
|
|
|
31 |
<link href="https://www.google-analytics.com" rel="preconnect" crossorigin/>
|
134 |
- |
32 |
<script nonce="<?php echo base64_encode($_SESSION["nonce"]); ?>">(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src='https://www.googletagmanager.com/gtm.js?id='+i+dl;var n=d.querySelector('[nonce]');n&&j.setAttribute('nonce',n.nonce||n.getAttribute('nonce'));f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','<?php echo $_SESSION["gtmId"]; ?>');</script>
|
114 |
- |
33 |
<?php } ?>
|
|
|
34 |
|
120 |
- |
35 |
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Material+Icons&display=swap" nonce="<?php echo base64_encode($_SESSION["nonce"]); ?>" />
|
158 |
- |
36 |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css" integrity="sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk" crossorigin="anonymous" />
|
120 |
- |
37 |
<link href="<?php echo PUBLIC_URL . "css/style.css?" . filemtime("assets/css/style.css"); ?>" rel="stylesheet" type="text/css" media="all" integrity="sha384-<?php echo base64_encode(hash_file("sha384", "assets/css/style.css", true)); ?>" crossorigin="anonymous" />
|
65 |
- |
38 |
<?php if (!empty($pageFile) && $pageFile != 'index.php' && $pageFile != 'forgotPassword.php' && $pageFile != 'resetPassword.php' && $pageFile != 'registration.php') { ?>
|
120 |
- |
39 |
<link href="<?php echo PUBLIC_URL . "css/account.css?" . filemtime("assets/css/account.css"); ?>" rel="stylesheet" type="text/css" media="all" integrity="sha384-<?php echo base64_encode(hash_file("sha384", "assets/css/account.css", true)); ?>" crossorigin="anonymous" />
|
114 |
- |
40 |
<?php } ?>
|
120 |
- |
41 |
<link rel="stylesheet" href="<?php echo timeStampUrl("css/theme-" . (!empty($userTheme) ? $userTheme : "default") . ".min.css"); ?>" integrity="sha384-<?php echo base64_encode(hash_file("sha384", "../css/theme-" . (!empty($userTheme) ? $userTheme : "default") . ".min.css", true)); ?>" crossorigin="anonymous" />
|
|
|
42 |
<link rel="stylesheet" href=<?php echo timeStampUrl("css/style.min.css") ?> integrity="sha384-<?php echo base64_encode(hash_file("sha384", "../css/style.min.css", true)); ?>" crossorigin="anonymous" />
|
114 |
- |
43 |
|
158 |
- |
44 |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js" integrity="sha384-ZvpUoO/+PpLXR1lu4jmpXWu80pZlYUAfxl5NsBMWOEPSjUn/6Z/hRTt8+pR6L4N2" crossorigin=" crossorigin="anonymous"></script>
|
114 |
- |
45 |
|
158 |
- |
46 |
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js" integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" crossorigin="anonymous"></script>
|
|
|
47 |
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.min.js" integrity="sha384-OgVRvuATP1z7JjHLkuOU7Xw704+h835Lr+6QL9UvYjZE3Ipu6Tp75j7Bh/kR0JKI" crossorigin="anonymous"></script>
|