| 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>
|
| 57 |
- |
20 |
<meta name="description" content="Find Cheap Music searches dozens of trusted online stores for low-priced Compact Discs, Vinyl Records, Digital Downloads, Music Sheets and Music related books. Maintain a wishlist and get coupons / special offers with free registration.">
|
|
|
21 |
<meta name="keywords" content="Cheap,Music,Album,Single,Promo,CD,Compact Disc,Vinyl,Record,Digital,Download,Sheet,Book">
|
| 31 |
- |
22 |
<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">
|
| 65 |
- |
23 |
<link href="<?php echo PUBLIC_URL; ?>css/style.css" rel="stylesheet" type="text/css" media="all" integrity="sha384-h4JE2pDGcfooA/zPXrC50BMMDDKNtwWkpgtYWYxedvJRbZBFEam9O+sthBUiAJr0" crossorigin="anonymous">
|
| 62 |
- |
24 |
<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>
|
|
|
25 |
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.10.1/css/all.css" integrity="sha384-wxqG4glGB3nlqX0bi23nmgwCSjWIW13BdLUEYC4VIMehfbcro/ATkyDsF/AbIOVe" crossorigin="anonymous">
|
| 57 |
- |
26 |
<link rel="stylesheet" href="../css/theme-<?php echo (!empty($userTheme) ? $userTheme : "default"); ?>.css">
|
| 68 |
- |
27 |
<link rel="stylesheet" href="../css/style.min.css" integrity="sha384-ueOHSrZ4BPn+RPrmSPexlI51B7LYp4VF7bmSyF/wYq4mk6C0huXvJlbIWSdE/zLk" crossorigin="anonymous">
|
| 35 |
- |
28 |
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
|
| 65 |
- |
29 |
<?php if (!empty($pageFile) && $pageFile != 'index.php' && $pageFile != 'forgotPassword.php' && $pageFile != 'resetPassword.php' && $pageFile != 'registration.php') { ?>
|
|
|
30 |
<link href="<?php echo PUBLIC_URL; ?>css/account.css" rel="stylesheet" type="text/css" media="all" integrity="sha384-cmkIQzWOEwd3oG2Pb0PebEOdgced5Dh+CEQD6MHmQKB9o/k0Ie4WFWHhpqVSzgOm" crossorigin="anonymous">
|
|
|
31 |
<?php
|
|
|
32 |
} ?>
|