Rev 65 | Rev 68 | Go to most recent revision | 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>
<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.">
<meta name="keywords" content="Cheap,Music,Album,Single,Promo,CD,Compact Disc,Vinyl,Record,Digital,Download,Sheet,Book">
<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">
<link href="<?php echo PUBLIC_URL; ?>css/style.css" rel="stylesheet" type="text/css" media="all" integrity="sha384-h4JE2pDGcfooA/zPXrC50BMMDDKNtwWkpgtYWYxedvJRbZBFEam9O+sthBUiAJr0" crossorigin="anonymous">
<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>
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.10.1/css/all.css" integrity="sha384-wxqG4glGB3nlqX0bi23nmgwCSjWIW13BdLUEYC4VIMehfbcro/ATkyDsF/AbIOVe" crossorigin="anonymous">
<link rel="stylesheet" href="../css/theme-<?php echo (!empty($userTheme) ? $userTheme : "default"); ?>.css">
<link rel="stylesheet" href="../css/style.min.css" integrity="sha384-gtEHcKTcfu/sM5utp8wrt6VfrSTJmrT4QVCfpHzbhmZZ+gd9WJdcl8TpQAPfI7/A" crossorigin="anonymous">
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
<?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" rel="stylesheet" type="text/css" media="all" integrity="sha384-cmkIQzWOEwd3oG2Pb0PebEOdgced5Dh+CEQD6MHmQKB9o/k0Ie4WFWHhpqVSzgOm" crossorigin="anonymous">
<?php
} ?>