-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathAccessReport.php
41 lines (35 loc) · 1.22 KB
/
AccessReport.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
<?php
/*******************************************************************************
*
* filename : AccessReport.php
* description : form to invoke user access report
*
* InfoCentral is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
******************************************************************************/
// Include the function library
require 'Include/Config.php';
require 'Include/Functions.php';
// If user is not admin, redirect to the menu.
if (!$_SESSION['bAdmin']) {
Redirect('Menu.php');
exit;
}
// Set the page title and include HTML header
$sPageTitle = gettext('Access report');
require 'Include/Header.php';
?><form method="POST" action="Reports/AccessReport.php">
<p align="center">
<br>
<input type="submit" class="icButton" name="Submit" <?php
echo 'value="' . gettext('Create Report') . '"'; ?>>
<input type="button" class="icButton" name="Cancel" <?php
echo 'value="' . gettext('Cancel') . '"'; ?> onclick="javascript:document.location='Menu.php';">
</p>
</form>
<?php
require 'Include/Footer.php';
?>