| 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>
|
| 114 |
- |
20 |
<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."/>
|
|
|
21 |
<meta name="keywords" content="Cheap,Music,Album,Single,Promo,CD,Compact Disc,Vinyl,Record,Digital,Download,Sheet,Book">
|
|
|
22 |
|
|
|
23 |
<link href="https://maxcdn.bootstrapcdn.com" rel="preconnect" crossorigin/>
|
|
|
24 |
<link href="https://use.fontawesome.com" rel="preconnect" crossorigin/>
|
|
|
25 |
<link href="https://ajax.googleapis.com" rel="preconnect" crossorigin/>
|
|
|
26 |
<link href="https://cdnjs.cloudflare.com" rel="preconnect" crossorigin/>
|
|
|
27 |
<?php if ($_SERVER["SERVER_NAME"] == "www.findcheapmusic.com") { ?>
|
|
|
28 |
<link href="https://www.googletagmanager.com" rel="preconnect" crossorigin/>
|
|
|
29 |
<link href="https://www.google-analytics.com" rel="preconnect" crossorigin/>
|
|
|
30 |
<link href="https://connect.facebook.net/en_US/fbevents.js" rel="preconnect" crossorigin/>
|
|
|
31 |
<?php } ?>
|
|
|
32 |
|
|
|
33 |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" crossorigin="anonymous"/>
|
|
|
34 |
<link href="<?php echo PUBLIC_URL . "css/style.css?" . filemtime("assets/css/style.css"); ?>" rel="stylesheet" type="text/css" media="all" crossorigin="anonymous"/>
|
| 65 |
- |
35 |
<?php if (!empty($pageFile) && $pageFile != 'index.php' && $pageFile != 'forgotPassword.php' && $pageFile != 'resetPassword.php' && $pageFile != 'registration.php') { ?>
|
| 114 |
- |
36 |
<link href="<?php echo PUBLIC_URL . "css/account.css?" . filemtime("assets/css/account.css"); ?>" rel="stylesheet" type="text/css" media="all" crossorigin="anonymous"/>
|
|
|
37 |
<?php } ?>
|
|
|
38 |
<link rel="stylesheet" href="<?php echo timeStampUrl("css/theme-" . (!empty($userTheme) ? $userTheme : "default") . ".css"); ?>" crossorigin="anonymous"/>
|
|
|
39 |
<link rel="stylesheet" href=<?php echo timeStampUrl("css/style.min.css") ?> crossorigin="anonymous">
|
|
|
40 |
|
|
|
41 |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js" crossorigin="anonymous"></script>
|
|
|
42 |
|
|
|
43 |
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" crossorigin="anonymous"></script>
|
|
|
44 |
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" crossorigin="anonymous"></script>
|
|
|
45 |
<script src="https://use.fontawesome.com/releases/v5.12.1/js/all.js" crossorigin="anonymous"></script>
|
|
|
46 |
<?php if ($_SERVER["SERVER_NAME"] == "www.findcheapmusic.com") { ?>
|
|
|
47 |
<script src="https://www.googletagmanager.com/gtag/js?id=UA-138428761-2" crossorigin="anonymous"></script>
|
|
|
48 |
<script src="<?php echo timeStampUrl("js/gtag.min.js") ?>" crossorigin="anonymous"></script>
|
|
|
49 |
<script src="<?php echo timeStampUrl("js/fb_pixel.min.js") ?>" crossorigin="anonymous"></script>
|
|
|
50 |
<?php } ?>
|