Rev 153 | Blame | Compare with Previous | Last modification | View Log | RSS feed
<?php
// Generate page title from file name
$pageFile = basename($_SERVER['PHP_SELF']);
$pageTitle = '';
if (!empty($pageFile) && $pageFile != 'index.php') {
$replaceVals = array(
'_' => ' ',
'-' => ' ',
'.php' => ''
);
$pageTitle = strtr($pageFile, $replaceVals);
$pageTitle = preg_replace('/(?<!\ )[A-Z]/', ' $0', $pageTitle);
$pageTitle = ucwords($pageTitle) . ' - ';
}
$metaTitle = trim($pageTitle . SITE_TITLE, ' ');
?>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title><?php echo $metaTitle; ?></title>
<link rel="canonical" href="https://<?php echo $_SERVER['SERVER_NAME']; ?>/login/index.php" />
<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."/>
<meta name="keywords" content="Cheap,Music,Album,Single,Promo,CD,Compact Disc,Vinyl,Record,Digital,Download,Sheet,Book">
<script nonce="<?php echo base64_encode($_SESSION["nonce"]); ?>">window.dataLayer = window.dataLayer || [];</script>
<link href="https://maxcdn.bootstrapcdn.com" rel="preconnect" crossorigin/>
<link href="https://fonts.googleapis.com" rel="preconnect" crossorigin/>
<link href="https://ajax.googleapis.com" rel="preconnect" crossorigin/>
<link href="https://cdnjs.cloudflare.com" rel="preconnect" crossorigin/>
<?php if (!empty($_SESSION["gtmId"])) { ?>
<link href="https://www.googletagmanager.com" rel="preconnect" crossorigin/>
<link href="https://www.google-analytics.com" rel="preconnect" crossorigin/>
<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>
<?php } ?>
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Material+Icons&display=swap" nonce="<?php echo base64_encode($_SESSION["nonce"]); ?>" />
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css" integrity="sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk" crossorigin="anonymous" />
<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" />
<?php if (!empty($pageFile) && $pageFile != 'index.php' && $pageFile != 'forgotPassword.php' && $pageFile != 'resetPassword.php' && $pageFile != 'registration.php') { ?>
<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" />
<?php } ?>
<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" />
<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" />
<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>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js" integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.min.js" integrity="sha384-OgVRvuATP1z7JjHLkuOU7Xw704+h835Lr+6QL9UvYjZE3Ipu6Tp75j7Bh/kR0JKI" crossorigin="anonymous"></script>