| 25 |
- |
1 |
<?php
|
| 35 |
- |
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('_'=>' ', '-'=>' ', '.php'=>'');
|
|
|
7 |
$pageTitle = strtr($pageFile, $replaceVals);
|
|
|
8 |
$pageTitle = preg_replace('/(?<!\ )[A-Z]/', ' $0', $pageTitle);
|
|
|
9 |
$pageTitle = ucwords($pageTitle).' - ';
|
|
|
10 |
}
|
|
|
11 |
$metaTitle = trim($pageTitle.SITE_TITLE,' ');
|
|
|
12 |
?>
|
| 25 |
- |
13 |
<meta charset="utf-8">
|
|
|
14 |
<meta name="viewport" content="width=device-width, initial-scale=1">
|
| 35 |
- |
15 |
<title><?php echo $metaTitle; ?></title>
|
| 57 |
- |
16 |
<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.">
|
|
|
17 |
<meta name="keywords" content="Cheap,Music,Album,Single,Promo,CD,Compact Disc,Vinyl,Record,Digital,Download,Sheet,Book">
|
| 31 |
- |
18 |
<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">
|
| 57 |
- |
19 |
<link href="<?php echo PUBLIC_URL; ?>css/style.css" rel="stylesheet" type="text/css" media="all" integrity="sha384-NuZdarxFcFSpRFGPME7rRoo1aq4BwOy6o7vMw4tyvUTyL+PnifJjMN60Uaqxh7Qu" crossorigin="anonymous">
|
| 26 |
- |
20 |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.0/jquery.min.js" integrity="sha384-JUMjoW8OzDJw4oFpWIB2Bu/c6768ObEthBMVSiIx4ruBIEdyNSUQAjJNFqT5pnJ6" crossorigin="anonymous"></script>
|
| 47 |
- |
21 |
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.1/css/all.css" integrity="sha384-50oBUHEmvpQ+1lW4y57PTFmhCaXp0ML5d60M1M7uH2+nqUivzIebhndOJK28anvf" crossorigin="anonymous">
|
| 57 |
- |
22 |
<link rel="stylesheet" href="../css/theme-<?php echo (!empty($userTheme) ? $userTheme : "default"); ?>.css">
|
| 61 |
- |
23 |
<link rel="stylesheet" href="../css/style.min.css" integrity="sha384-myJ4hUM9qYUQPd4thWYPEj3t2HTxy6XkJXvuGKseoOlk8ojtKTE+f2Isj/7kuMgA" crossorigin="anonymous">
|
| 35 |
- |
24 |
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
|
| 42 |
- |
25 |
<?php if(!empty($pageFile) && $pageFile != 'index.php' && $pageFile != 'forgotPassword.php' && $pageFile != 'resetPassword.php' && $pageFile != 'registration.php'){ ?>
|
| 57 |
- |
26 |
<link href="<?php echo PUBLIC_URL; ?>css/account.css" rel="stylesheet" type="text/css" media="all" integrity="sha384-N0K0/IzKlB21UYmIT2dtilJNRBDKLEnMsqaR8vt/uWeeUuymtLu4hTb1C+uMRWH7" crossorigin="anonymous">
|
| 26 |
- |
27 |
<?php } ?>
|