<!DOCTYPE html>
<html lang="ko">

  <head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="IE=Edge">
    <title><?= $viewDatas['title'] ?></title>
    <?php foreach (LAYOUTS[$viewDatas['layout']]['stylesheets'] as $stylesheet): ?>
      <?= $stylesheet ?>
    <?php endforeach; ?>
    <?php foreach (LAYOUTS[$viewDatas['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]-->
  </head>

  <body>
    <div class="layout">
      <?= $this->include(LAYOUTS[$viewDatas['layout']]['path'] . '/head'); ?>
      <div class="center">
        <div class="left_menu"><?= $this->include(LAYOUTS[$viewDatas['layout']]['path'] . '/left_menu'); ?></div>
        <div class="content">
          <div class="header"><?= $this->include('templates/admin/header'); ?></div>
          <div class="center"><?= $this->renderSection('content') ?></div>
          <div class="footer"><?= $this->include('templates/admin/footer'); ?></div>
        </div>
      </div>
      <?= $this->include(LAYOUTS[$viewDatas['layout']]['path'] . '/tail'); ?>
    </div>
  </body>

</html>