Example #1
0
<html>
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title><?php 
echo !empty($_SESSION['app_name']) ? $_SESSION['app_name'] : 'HipĆ³dromo La Rinconada';
?>
</title>
    <!-- Tell the browser to be responsive to screen width -->
    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
    <?php 
if ($basedir === 'pages') {
    ?>
      <!-- Peace -->
      <link rel="stylesheet" href="<?php 
    echo $db->getRootUri() . 'plugins/pace/pace-loading.css';
    ?>
">
      <script data-pace-options='{ "ajax": false }' src="<?php 
    echo $db->getRootUri() . 'plugins/pace/pace.js';
    ?>
"></script>
      <!-- Bootstrap 3.3.5 -->
      <link rel="stylesheet" href="<?php 
    echo $db->getRootUri() . 'bootstrap/css/bootstrap.min.css';
    ?>
">
      <!-- Font Awesome -->
      <link rel="stylesheet" href="<?php 
    echo $db->getRootUri() . 'dist/font-awesome-4.5.0/css/font-awesome.min.css';
    ?>