| 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"]); ?>" />
|
|
|
36 |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous" />
|
|
|
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 |
|
| 120 |
- |
44 |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js" integrity="sha384-vk5WoKIaW/vJyUAd9n/wmopsmNhiy+L2Z+SBxGYnUkunIxVxAv/UtMOhba/xskxh" crossorigin="anonymous"></script>
|
| 114 |
- |
45 |
|
| 120 |
- |
46 |
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
|
|
|
47 |
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js" integrity="sha384-wfSDF2E50Y2D1uUdj0O3uMBJnjuUD4Ih7YwaYd1iqfktj0Uod8GCExl3Og8ifwB6" crossorigin="anonymous"></script>
|