Subversion Repositories cheapmusic

Rev

Rev 26 | Rev 31 | 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="" />
<meta name="keywords" content="" />

<link href="//fonts.googleapis.com/css?family=Roboto+Slab:100,300,400,700Roboto:100,100i,300,300i,400,400i,500,500i,700,700i,900,900iSlabo+27px&subset=cyrillic,cyrillic-ext,greek,greek-ext,latin-ext,vietnamese" rel="stylesheet">

<link href="<?php echo PUBLIC_URL; ?>css/style.css" rel="stylesheet" type="text/css" media="all" />

<?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" />

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.0/jquery.min.js" integrity="sha384-JUMjoW8OzDJw4oFpWIB2Bu/c6768ObEthBMVSiIx4ruBIEdyNSUQAjJNFqT5pnJ6" crossorigin="anonymous"></script>
<!-- script-for-menu -->
<script>
$(document).ready(function(){
    $( "span.menu" ).click(function() {
        $( "ul.nav1" ).slideToggle( 300, function() {
            // Animation complete.
        });
    });
});
</script>
<!-- /script-for-menu -->       
<?php } ?>