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
|
<?php
/* SRG - Squid Report Generator
*
* Example Custom PHP header
*
* $Id: header.php 145 2004-09-25 13:30:10Z mattgbrown $
*/
/* NOTE: it is your responsibility when including PHP headers to make sure
* that the appropriate stylesheets and javascript files are
* included.
*/
/* Do any custom page setup here */
/* if you have php_authentication (-A) enabled then this function must be
* uncommented.
*
* For each group in the report the name of the group is passed to this
* function which must return true if the currently logged in user can view the
* reports for the specified group.
*
* A return value of false causes the reports for the specified group not to be
* displayed.
*/
function can_view($groupname) {
/* Retrieve the currently logged in user from your session/cookie here */
/* Check authentication here */
/* But by default we'll have no authentication :) */
return true;
}
/* This function is called when an error must be displayed to the user due to
* an access denied error or similar.
*/
function report_error($errormessage) {
echo "<br><b>$errormessage</b><br>";
}
/* Setup the page HTML here */
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta name="generator" value="SRG 1.1 (http://www.crc.net.nz/software/srg.php)">
<meta name="robots" content="noindex,nofollow">
<link href="style.css" type="text/css" rel="stylesheet">
<title>SRG - Squid Log Analysis</title>
</head>
<body>
<br>
<div align="center"><h1>SRG - Squid Log Analysis</h1></div>
<br>
|