<?php 
  include '../core/core.php';
?>
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>雨尘SEO静态页面生成系统</title>
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
  <link rel="stylesheet" href="../public/static/layuiadmin/layui/css/layui.css" media="all">
  <link rel="stylesheet" href="../public/static/layuiadmin/style/admin.css" media="all">
  <script src="../public/static/jquery-3.5.1.min.js"></script>
</head>
<body>
  <?php 
  if($_COOKIE['adminToken']!=md5(conf('name').conf('password'))){
    exit('<script>window.location.href="./login.php"</script>');
  }
  ?>
   <div id="LAY_app">
    <div class="layui-layout layui-layout-admin">
      <div class="layui-header">
        <ul class="layui-nav layui-layout-left">
          <li class="layui-nav-item layadmin-flexible" lay-unselect>
            <a href="javascript:;" layadmin-event="flexible" title="侧边伸缩">
              <i class="layui-icon layui-icon-shrink-right" id="LAY_app_flexible"></i>
            </a>
          </li>
        </ul>
        <ul class="layui-nav layui-layout-right" lay-filter="layadmin-layout-right">
          <li class="layui-nav-item layui-hide-xs" lay-unselect>
            <a href="javascript:;" layadmin-event="theme">
              <i class="layui-icon layui-icon-theme"></i>
            </a>
          </li>
          <li class="layui-nav-item layui-hide-xs" lay-unselect>
            <a href="javascript:;" layadmin-event="fullscreen">
              <i class="layui-icon layui-icon-screen-full"></i>
            </a>
          </li>
          <li class="layui-nav-item" lay-unselect>
            <a href="./set.php">
              <cite>admin</cite>
            </a>
          </li>
        </ul>
      </div>
      
      <!-- 侧边菜单 -->
      <div class="layui-side layui-side-menu">
        <div class="layui-side-scroll">
          <div class="layui-logo">
            <span>雨尘SEO静态页生成系统</span>
          </div>
          
          <ul class="layui-nav layui-nav-tree" lay-shrink="all" id="LAY-system-side-menu" lay-filter="layadmin-system-side-menu">
            <li class="layui-nav-item <?php echo active('index'); ?>">
                <a href="index.php">
                  <i class="layui-icon layui-icon-home"></i>
                  <cite>主页</cite>
                </a>
              </li>
              <li class="layui-nav-item <?php echo active('view'); ?>">
                <a href="view.php">
                  <i class="layui-icon layui-icon-user"></i>
                  <cite>单页管理</cite>
                </a>
              </li>
              <li class="layui-nav-item <?php echo active('class'); ?>">
                <a href="class.php">
                  <i class="layui-icon layui-icon-note"></i>
                  <cite>分类管理</cite>
                </a>
              </li>
              <li class="layui-nav-item <?php echo active('muban'); ?>">
                <a href="muban.php">
                  <i class="layui-icon layui-icon-set"></i>
                  <cite>模板列表</cite>
                </a>
              </li>
              <li class="layui-nav-item <?php echo active('set'); ?>">
                <a href="set.php">
                  <i class="layui-icon layui-icon-set"></i>
                  <cite>网站配置</cite>
                </a>
              </li>
              <li class="layui-nav-item <?php echo active('tuisong'); ?>">
                <a href="tuisong.php">
                  <i class="layui-icon layui-icon-set"></i>
                  <cite>推送配置</cite>
                </a>
              </li>
              <li class="layui-nav-item <?php echo active('rewrite'); ?>">
                <a href="rewrite.php">
                  <i class="layui-icon layui-icon-set"></i>
                  <cite>伪静态配置</cite>
                </a>
              </li>
          </ul>
        </div>
      </div>
<div class="layui-body" id="LAY_app_body">
  <div class="layadmin-pagetabs" id="LAY_app_tabs">
        <center>雨尘SEO静态页生成系统</center>
  </div><br>