Browse Source

持续优化

old
xiaoz 7 years ago
parent
commit
01042dda78
  1. 21
      admin/index.php
  2. 16
      tpl/admin/header.php
  3. 2
      tpl/header.php

21
admin/index.php

@ -4,26 +4,7 @@
<!--内容区域--> <!--内容区域-->
<div class="layui-col-lg9" id = "showpic"> <div class="layui-col-lg9" id = "showpic">
<table class = "layui-table"> <table class = "layui-table">
<tbody>
<tr>
<td>人生就像是一场修行</td>
<td>人生就像是一场修行</td>
<td>人生就像是一场修行</td>
<td>人生就像是一场修行</td>
</tr>
<tr>
<td>人生就像是一场修行</td>
<td>人生就像是一场修行</td>
<td>人生就像是一场修行</td>
<td>人生就像是一场修行</td>
</tr>
<tr>
<td>人生就像是一场修行</td>
<td>人生就像是一场修行</td>
<td>人生就像是一场修行</td>
<td>人生就像是一场修行</td>
</tr>
</tbody>
</table> </table>
</div> </div>
<!--内容区域END--> <!--内容区域END-->

16
tpl/admin/header.php

@ -30,24 +30,22 @@
<div class="layui-col-lg10 layui-col-md-offset1"> <div class="layui-col-lg10 layui-col-md-offset1">
<div style = "float: left;"> <div style = "float: left;">
<ul class="layui-nav" lay-filter=""> <ul class="layui-nav" lay-filter="">
<li class="layui-nav-item"><a href="">首页</a></li> <li class="layui-nav-item"><a href="../index.php">首页</a></li>
<li class="layui-nav-item"><a href="">探索发现</a></li> <li class="layui-nav-item"><a href="../found.php">探索发现</a></li>
<li class="layui-nav-item"><a href="">捐赠版</a></li> <li class="layui-nav-item"><a href="../pro.php">捐赠版</a></li>
<li class="layui-nav-item"><a href="">帮助文档</a></li> <li class="layui-nav-item"><a href="https://wiki.xiaoz.me/docs/imgurl/">帮助文档</a></li>
<li class="layui-nav-item"><a href="">关于</a></li> <li class="layui-nav-item"><a href="../about.php">关于</a></li>
</ul> </ul>
</div> </div>
<div style = "float: right;"> <div style = "float: right;">
<ul class="layui-nav"> <ul class="layui-nav">
<li class="layui-nav-item"> <li class="layui-nav-item">
<a href="">回收站<span class="layui-badge">9</span></a> <a href="../recycle.php">回收站<span class="layui-badge">9</span></a>
</li> </li>
<li class="layui-nav-item"> <li class="layui-nav-item">
<a href="">后台管理</a> <a href="">后台管理</a>
<dl class="layui-nav-child"> <dl class="layui-nav-child">
<dd><a href="javascript:;">修改信息</a></dd> <dd><a href="../functions.php?type=logout">退出</a></dd>
<dd><a href="javascript:;">安全管理</a></dd>
<dd><a href="javascript:;">退出</a></dd>
</dl> </dl>
</li> </li>
</ul> </ul>

2
tpl/header.php

@ -54,7 +54,7 @@
include_once('./config.php'); include_once('./config.php');
$mydir = $config['admindir']; $mydir = $config['admindir'];
echo "<li><a href='./recycle.php'>回收站</a></li>"; echo "<li><a href='./recycle.php'>回收站</a></li>";
echo "<li><a href='./explore.php?dir=$mydir'>管理员</a></li>"; echo "<li><a href='./admin/'>管理员</a></li>";
echo "<li><a href='./functions.php?type=logout'>退出</a></li>"; echo "<li><a href='./functions.php?type=logout'>退出</a></li>";
} }
else { else {

Loading…
Cancel
Save