-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathadminBoard.php
49 lines (43 loc) · 1.28 KB
/
adminBoard.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<?php
session_start();
//读取缓存,获得用户名
$username="";
if(isset($_SESSION['valid_user'])){
$username=$_SESSION['valid_user'];
}
//如果读取不到缓存,则提示用户登录
if(empty($_SESSION['valid_user'])){
include("none.php");
exit;
}
?>
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<link href="css/adminBoard.css" rel="stylesheet" />
</head>
<body>
<div class="bgcolor" id="bgcolor">
<div class="center"><h1>版面管理主页</h1></div>
<p class="right">
<span id="username"><?php echo $username; ?></span> <span><a href="logout.php">退出 </a></span>
</p>
<div class="hang">
<a href="adminBoard.php"><p class="span33 active">版面管理</p></a>
<a href="adminUser.php"><p class="span33 inactive">用户管理</p></a>
<a href="adminpost.php"><p class="span33 inactive">发帖排行</p></a>
</div>
<br>
<div id='board'></div>
<p class="center hide">
<input type="button" id="all" value="全选" >
<input type="button" id="add" value="添加" >
<input type="button" id="ping" value="屏蔽" >
<input type="button" id="cancle" value="取消屏蔽" >
</p>
</div>
</body>
<script src="js/jquery-2.0.3.min.js"></script>
<script src="js/adminBoard.js"></script>
</html>