This repository has been archived by the owner on Mar 15, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
reports.php
63 lines (52 loc) · 1.53 KB
/
reports.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
<?php
$PAGE['title'] = "Reports";
include 'inc/config.php';
include 'inc/sessions.php';
include 'inc/functions.php';
?>
<!DOCTYPE html>
<html>
<head>
<?php include 'pageparts/head.php'; ?>
</head>
<body>
<div id="wrapper">
<?php include 'pageparts/nav.php'; ?>
<div id="page-wrapper">
<div class="row">
<div class="col-lg-12">
<h1 class="page-header">CJFreedom Panel <small>Reports</small></h1>
</div>
<!-- /.col-lg-12 -->
</div>
<!-- /.row -->
<span id="reportPage">
<?php switch ($_GET['page']) {
case "open":
include 'pages/reports_open.php';
break;
case "closed":
include 'pages/reports_closed.php';
break;
case "all":
include 'pages/reports_all.php';
break;
default:
echo "Incorrect URL Parameters";
break;
} ?>
</span>
</div>
<!-- /#page-wrapper -->
</div>
<!-- /#wrapper -->
<?php include 'pageparts/footerjs.php'; ?>
</body>
</html>
<script>
if (document.getElementById('reportsButton')) {
setTimeout(function (){
document.getElementById('reportsButton').click();
}, 500); // how long do you want the delay to be?
}
</script>