added link to user management at overview page

This commit is contained in:
printempw 2016-03-26 20:20:18 +08:00
parent 45cd25222b
commit 6abe1dbd87
2 changed files with 8 additions and 2 deletions

View File

@ -3,7 +3,7 @@
* @Author: printempw
* @Date: 2016-02-03 14:39:50
* @Last Modified by: printempw
* @Last Modified time: 2016-03-26 18:47:49
* @Last Modified time: 2016-03-26 20:06:00
*/
require "../libraries/session.inc.php";
if (!$user->is_admin) header('Location: ../index.php?msg=看起来你并不是管理员');
@ -25,11 +25,13 @@ $db = new Database\Database();
<div class="row">
<div class="col-md-6">
<div class="info-box">
<a href="manage.php">
<span class="info-box-icon bg-aqua"><i class="fa fa-users"></i></span>
<div class="info-box-content">
<span class="info-box-text">注册用户</span>
<span class="info-box-number"><?php echo $db->getRecordNum();?></span>
</div><!-- /.info-box-content -->
</a>
</div><!-- /.info-box -->
<div class="info-box">

View File

@ -2,7 +2,7 @@
* @Author: printempw
* @Date: 2016-02-04 16:47:54
* @Last Modified by: printempw
* @Last Modified time: 2016-03-26 18:41:45
* @Last Modified time: 2016-03-26 20:14:22
*/
@import url(https://fonts.googleapis.com/css?family=Ubuntu);
@ -34,3 +34,7 @@ label {
td[class='key'], td[class='value'] {
border-top: 0 !important;
}
.info-box > a {
color: #333;
font-size: 18px;
}