<?php
include ("library/checklogin.php");
$operator = $_SESSION['operator_user'];
include('library/check_operator_perm.php');
//setting values for the order by and order type variables
isset($_REQUEST['orderBy']) ? $orderBy = $_REQUEST['orderBy'] : $orderBy = "numberoflogins";
isset($_REQUEST['orderType']) ? $orderType = $_REQUEST['orderType'] : $orderType = "asc";
isset($_REQUEST['type']) ? $type = $_REQUEST['type'] : $type = "daily";
include_once('library/config_read.php');
$log = "visited page: ";
$logQuery = "performed query of type [$type] on page: ";
?>
<?php
include ("menu-graphs.php");
?>
<?php
include_once ("library/tabber/tab-layout.php");
?>
<div id="contentnorightbar">
<h2 id="Intro"><a href="#" onclick="javascript:toggleShowDiv('helpPage')"><? echo $l['Intro']['graphsalltimelogins.php']; ?>
<h144>+</h144></a></h2>
<div id="helpPage" style="display:none;visibility:visible" >
<?php echo $l['helpPage']['graphsalltimelogins'] ?>
<br/>
</div>
<br/>
<div class="tabber">
<div class="tabbertab" title="Graph">
<br/>
<?php
echo "<center>";
echo "<img src=\"library/graphs-alltime-users-login.php?type=$type\" />";
echo "</center>";
?>
</div>
<div class="tabbertab" title="Statistics">
<br/>
<?php
include 'library/tables-alltime-users-login.php';
?>
</div>
</div>
<?php
include('include/config/logging.php');
?>
</div>
<div id="footer">
<?php
include 'page-footer.php';
?>
</div>
</div>
</div>
</body>
</html>