ImgURL是一个简单、纯粹的图床程序,让个人图床多一个选择。
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

77 lines
2.4 KiB

<?php
error_reporting(E_ALL^E_NOTICE^E_WARNING^E_DEPRECATED);
include_once('../config.php');
$uid = $_COOKIE['uid'];
$loginid = md5($config['username'].$config['password']);
if($uid != $loginid) {
echo '权限不足';
exit;
}
?>
<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8" />
<title>ImgURL后台管理</title>
<meta name="generator" content="EverEdit" />
<meta name="author" content="" />
<meta name="keywords" content="" />
<meta name="description" content="" />
<link rel="stylesheet" href="../static/layui/css/layui.css">
<link rel="stylesheet" href="../static/admin.css">
<script src = "../static/layui/layui.js"></script>
<script src = "../static/admin.js"></script>
</head>
<body>
<!--导航栏-->
<div id="menu">
<div class="layui-container">
<div class="layui-row">
<div class="layui-col-lg10 layui-col-md-offset1">
<div style = "float: left;">
<ul class="layui-nav" lay-filter="">
<li class="layui-nav-item"><a href="">首页</a></li>
<li class="layui-nav-item"><a href="">探索发现</a></li>
<li class="layui-nav-item"><a href="">捐赠版</a></li>
<li class="layui-nav-item"><a href="">帮助文档</a></li>
<li class="layui-nav-item"><a href="">关于</a></li>
</ul>
</div>
<div style = "float: right;">
<ul class="layui-nav">
<li class="layui-nav-item">
<a href="">回收站<span class="layui-badge">9</span></a>
</li>
<li class="layui-nav-item">
<a href="">后台管理</a>
<dl class="layui-nav-child">
<dd><a href="javascript:;">修改信息</a></dd>
<dd><a href="javascript:;">安全管理</a></dd>
<dd><a href="javascript:;">退出</a></dd>
</dl>
</li>
</ul>
</div>
</div>
</div>
</div>
</div>
<div style = "clear:both;"></div>
<!--导航栏END-->
<!--侧边栏-->
<div id = "sidebar">
<div class="layui-container">
<div class="layui-row">
<div class="layui-col-lg10 layui-col-md-offset1">
<div class="layui-col-lg3">
<div class = "left-menu">
<ul>
<li><h2>后台管理</h2></li>
<li><a href="./pics.php?type=user">游客上传</a></li>
<li><a href="./pics.php?type=admin">管理员上传</a></li>
<li><a href="">API上传</a></li>
<li><a href="">API管理</a></li>
</ul>
</div>
</div>