forked from projectsend/projectsend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdashboard.php
56 lines (50 loc) · 1.35 KB
/
dashboard.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
<?php
/**
* Home page for logged in system users.
*/
$allowed_levels = array(9, 8, 7);
require_once 'bootstrap.php';
$page_title = __('Dashboard', 'cftp_admin');
$active_nav = 'dashboard';
$body_class = array('dashboard', 'home', 'hide_title');
$page_id = 'dashboard';
include_once ADMIN_VIEWS_DIR . DS . 'header.php';
define('CAN_INCLUDE_FILES', true);
if (current_role_in([9])) {
include_once WIDGETS_FOLDER . 'counters.php';
}
?>
<div class="row">
<div class="col-sm-8">
<div class="row">
<div class="col-sm-12">
<?php include_once WIDGETS_FOLDER . 'statistics.php'; ?>
</div>
</div>
<div class="row">
<div class="col-sm-6">
<?php include_once WIDGETS_FOLDER . 'news.php'; ?>
</div>
<?php
if (current_role_in([9])) {
?>
<div class="col-sm-6">
<?php include_once WIDGETS_FOLDER . 'system-information.php'; ?>
</div>
<?php
}
?>
</div>
</div>
<?php
if (current_role_in([9])) {
?>
<div class="col-sm-4 container_widget_actions_log">
<?php include_once WIDGETS_FOLDER . 'actions-log.php'; ?>
</div>
<?php
}
?>
</div>
<?php
include_once ADMIN_VIEWS_DIR . DS . 'footer.php';