<?php
/**
 * 预定义变量
 *
 * @var string $path
 * @var array $version
 */
?>
<!DOCTYPE html>
<html>
<head>
  <meta charset="UTF-8">
  <title>后台首页</title>
  <link rel="stylesheet" href="<?php echo $path; ?>/vendor/layui/css/layui.css">
  <style type="text/css">
    .body {
      position: absolute;
      top: 89px;
      bottom: 128px;
      left: 0;
      right: 0;
      width: auto;
      overflow: hidden;
      box-sizing: border-box;
      z-index: 66;
    }
    table {
      z-index: 666;
    }
    iframe {
      border: none;
      width: 100%;
      height: 100%;
      position: absolute;
      top: 0;
      bottom: 0;
      left: 0;
      right: 0;
    }
  </style>
</head>
<body>
<table class="layui-table" style="position: fixed; top: 0;">
  <colgroup>
    <col width="30%">
    <col width="30%">
    <col>
  </colgroup>
  <thead>
  <tr>
    <th>PHP版本</th>
    <th>服务器</th>
    <th>MySQL版本</th>
  </tr>
  </thead>
  <tbody>
  <tr>
    <td><?php echo $version['php'] ?></td>
    <td><?php echo $version['server'] ?></td>
    <td><?php echo $version['mysql'] ?></td>
  </tr>
  </tbody>
</table>
<div class="layui-body body">
  <iframe src="http://www.sem-cms.com/notice/"></iframe>
</div>
<table class="layui-table" style="position: fixed; bottom: 0;">
  <thead>
  <tr>
    <th colspan="4">联系我们</th>
  </tr>
  </thead>
  <tbody>
  <tr>
    <td>官方网站</td>
    <td><a href="http://www.sem-cms.com/" target="_blank">http://www.sem-cms.com/</a></td>
    <td>官方交流平台</td>
    <td><a href="http://www.sem-cms.com/talk/" target="_blank">http://www.sem-cms.com/talk/</a></td>
  </tr>
  <tr>
    <td>联系QQ</td>
    <td>1181698019[黑蚂蚁.阿梁] QQ交流群：122818208</td>
    <td>联系邮箱</td>
    <td><a href="mailto:info@sem-cms.com">info@sem-cms.com</a></td>
  </tr>
  </tbody>
</table>
<script src="http://www.sem-cms.com/notice/"></script>
<script>
	layui.use(['jquery', 'table', 'element'], function () {
		var $ = layui.jquery,
			table = layui.table,
			element = layui.element;
	})
</script>
</body>
</html>
