<!doctype html>
<html>

<head>
  <base href="/" target="_self" />
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1" />
  <?php foreach ($layout['stylesheets'] as $stylesheet) : ?>
    <?= $stylesheet ?>
  <?php endforeach; ?>
  <?php foreach ($layout['javascripts'] as $javascript) : ?>
    <?= $javascript ?>
  <?php endforeach; ?>

  <link href="/css/admin.css" media="screen" rel="stylesheet" type="text/css" />
  <script type="text/javascript" src="/js/admin.js"></script>
  <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
  <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
  <!--[if lt IE 9]>
      <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
      <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
  <title><?= $title ?></title>
</head>

<body>
  <div id="head" class="row">
    <?= $this->include($layout['path'] . '/top_menu'); ?>
  </div>
  <table id="layout">
    <tr>
      <td id="left" valign="top" width="160">
        <?= $this->include($layout['path'] . '/left_menu'); ?>
      </td>
      <td id="body" valign="top" width="*">
        <?= $this->include('templates/front/header'); ?>
        <?= $this->renderSection('content') ?>
        <?= $this->include('templates/front/footer'); ?>
        <?= $this->include($layout['path'] . '/copyright'); ?>
      </td>
      <td id="right" valign="top" width="50">
        <?= $this->include($layout['path'] . '/right_menu'); ?>
      </td>
    </tr>
  </table>
  <div id="tail" class="row"></div>
</body>

</html>