-
Notifications
You must be signed in to change notification settings - Fork 0
/
home-admin.php
94 lines (89 loc) · 3.64 KB
/
home-admin.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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>主页</title>
<meta name="viewport" content="initial-scale=1, maximum-scale=1">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<link rel="stylesheet" href="css/sm.min.css">
<link rel="stylesheet" href="css/sm-extend.min.css">
<link rel="stylesheet" href="css/common.css">
<link rel="stylesheet" href="css/home.css">
<link href="//netdna.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
</head>
<body>
<?php
$identity = $_COOKIE['identity'];
if ($identity != 2) {
echo "<script>$.alert('非法操作');history.go(-1);</script>";
}
?>
<div class="page">
<header class="bar bar-nav">
<h1 class="title">主页</h1>
</header>
<nav class="bar bar-tab">
<a class="tab-item external active" href="home-superadmin.html">
<span class="icon icon-home"></span>
<span class="tab-label">主页</span>
</a>
<a class="tab-item external" href="account-management.php">
<span class="icon icon-edit"></span>
<span class="tab-label">账目</span>
</a>
<a class="tab-item external" href="user-management.php">
<span class="icon icon-settings"></span>
<span class="tab-label">管理</span>
</a>
<a class="tab-item external" href="#">
<span class="icon icon-me"></span>
<span class="tab-label">我</span>
</a>
</nav>
<div class="content">
<div class="card">
<div class="card-content">
<div class="card-content-inner">
<i class="fa fa-shopping-bag"></i>
账户余额
<span class="money-rest">¥ 1483.00</span>
</div>
</div>
</div>
<div class="content-block-title">最近账单</div>
<div class="list-block media-list">
<ul>
<li>
<a href="#" class="item-link item-content">
<div class="item-inner">
<div class="item-subtitle">2017-05-23</div>
<div class="item-title-row">
<div class="item-title">电影票</div>
<div class="item-after">¥<span class="money-expend">-100</span></div>
</div>
<div class="item-text">一起去看了电影...</div>
</div>
</a>
</li>
<li>
<a href="#" class="item-link item-content">
<div class="item-inner">
<div class="item-subtitle">2017-05-25</div>
<div class="item-title-row">
<div class="item-title">项目收入</div>
<div class="item-after">¥<span class="money-income">+100</span></div>
</div>
<div class="item-text">来自于java项目...</div>
</div>
</a>
</li>
</ul>
</div>
</div>
<script type='text/javascript' src='//g.alicdn.com/sj/lib/zepto/zepto.min.js' charset='utf-8'></script>
<script type='text/javascript' src='js/sm.min.js' charset='utf-8'></script>
<script type='text/javascript' src='js/sm-extend.min.js' charset='utf-8'></script>
</body>
</html>