-
Notifications
You must be signed in to change notification settings - Fork 1
/
authority.php
27 lines (27 loc) · 910 Bytes
/
authority.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
<?php
include_once (dirname(__FILE__)."/view/utilityView/prevent.php");
if ($_SESSION["isManager"] == 0){
header("Location: /index.php");
exit();
}
BannerView::getBanner()->setSelected("authority.php");
require_once(dirname(__FILE__)."/view/authorityView/authorityView.php");
$view = new AuthorityView();
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>跑得快 - 权限管理</title>
<link rel="stylesheet" type="text/css" href="/assets/bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="/assets/css/common.css">
<link rel="stylesheet" type="text/css" href="/assets/css/authority.css">
<script type="text/javascript" src="/assets/js/jquery-3.1.1.min.js"></script>
</head>
<body>
<?php include "view/utilityView/banner.php" ?>
<div role="main">
<?php include "view/authorityView/user-list.php"; ?>
</div>
</body>
</html>