forked from WWBN/AVideo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcharts_body.php
54 lines (52 loc) · 2.47 KB
/
charts_body.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
<div class="list-group-item clear clearfix">
<ul class="nav nav-tabs">
<li class="active"><a data-toggle="tab" href="#dashboard"><i class="fas fa-tachometer-alt"></i> <?php echo __("Dashboard"); ?></a></li>
<li><a data-toggle="tab" id="viewmyVideosReport" href="#myVideosReport"><i class="fas fa-play-circle"></i> <?php echo __("My Videos"); ?></a></li>
<li><a data-toggle="tab" id="viewperchannel" href="#menu1"><i class="fas fa-play-circle"></i> <i class="fa fa-eye"></i> <?php echo __("Video views - per Channel"); ?></a></li>
<li><a data-toggle="tab" id="commentthumbs" href="#menu2"><i class="fa fa-comments"></i> <i class="fa fa-thumbs-up"></i> <?php echo __("Comment thumbs up - per Person"); ?></a></li>
<li><a data-toggle="tab" id="videothumbs" href="#menu3"><i class="fas fa-play-circle"></i> <i class="fa fa-thumbs-up"></i> <?php echo __("Video thumbs up - per Channel"); ?></a></li>
<?php echo AVideoPlugin::getChartTabs(); ?>
</ul>
<div class="tab-content">
<div id="dashboard" class="tab-pane fade in active" style="padding: 10px;">
<?php
if (User::isAdmin()) {
echo diskUsageBars();
}
include $global['systemRootPath'] . 'view/report0.php';
?>
</div>
<div id="myVideosReport" class="tab-pane fade" style="padding: 10px;">
<?php
include $global['systemRootPath'] . 'view/reportMyVideos.php';
?>
</div>
<div id="menu1" class="tab-pane fade" style="padding: 10px;">
<?php
include $global['systemRootPath'] . 'view/report1.php';
?>
</div>
<div id="menu2" class="tab-pane fade" style="padding: 10px;">
<?php
include $global['systemRootPath'] . 'view/report2.php';
?>
</div>
<div id="menu3" class="tab-pane fade" style="padding: 10px;">
<?php
include $global['systemRootPath'] . 'view/report3.php';
?>
</div>
<?php echo AVideoPlugin::getChartContent(); ?>
</div>
</div>
<script type="text/javascript" src="<?php echo getURL('view/css/DataTables/datatables.min.js'); ?>"></script>
<?php
include_once $global['systemRootPath'] . 'view/include/footer.php';
?>
<script type="text/javascript">
$(document).ready(function () {
<?php if (!empty($_GET['jump'])) { ?>
$('#<?php echo $_GET['jump']; ?>').click();
<?php } ?>
});
</script>