Subversion Repositories cheapmusic

Rev

Rev 31 | Rev 42 | 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 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="//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>
<link rel="stylesheet" href="../css/style.min.css" integrity="sha384-jiMCtagtxraIvSeV5hY5ZWeVpyX1b9eY+ylxFM/lkYGu/5gUh0cbZ6xjc4EUwkCa" crossorigin="anonymous">
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" 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 } ?>