-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhead.php
47 lines (46 loc) · 1.89 KB
/
head.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
<?php
/**
*
* @category admintools
* @package wbCounter
* @original wbstats
* @author Ruud Eisinga - Dev4me
* @link http://www.dev4me.nl/
* @license http://www.gnu.org/licenses/gpl.html
* @platform WebsiteBaker 2.8.x
* @requirements PHP 5.2.2 and higher
* @version 0.1.9.x
* @lastmodified Februari 20, 2015
*
*/
/* -------------------------------------------------------- */
// Must include code to stop this file being accessed directly
if(defined('WB_PATH') == false) { die('Cannot access '.basename(__DIR__).'/'.basename(__FILE__).' directly'); }
/* -------------------------------------------------------- */
$moduleName = basename(__DIR__);
?>
<script type="text/javascript">
function AutoRefresh( t ) {
setTimeout("location.reload(true);", t);
}
//AutoRefresh(5*60000);
$('.visitors').live("click", function(e) {
e.preventDefault();
$('tr#pags').hide();
$('tr#visits').show();
});
$('.pags').live("click",function(e) {
e.preventDefault();
$('tr#visits').hide();
$('tr#pags').show();
});
</script>
<script src="<?php echo WB_URL ?>/modules/<?php echo $moduleName; ?>/themes/default/js/jquery.poshytip.js"></script>
<div id="loading" class="box" style="display:none;"><?php echo $WS['PLEASEWAIT'] ?></div>
<div id="wbc-container">
<div class="sysmenu">
<a class=" w3-blue-wb w3-round-small w3-hover-green w3-medium w3-padding-4" href="<?php echo $module_overview_link ?>"><?php echo $WS['MENU1'] ?></a>
<a class=" w3-blue-wb w3-round-small w3-hover-green w3-medium w3-padding-4" href="<?php echo $module_visitors_link ?>"><?php echo $WS['MENU2'] ?></a>
<a class=" w3-blue-wb w3-round-small w3-hover-green w3-medium w3-padding-4" href="<?php echo $module_history_link ?>"><?php echo $WS['MENU3'] ?></a>
<a style="float:right" href="<?php echo $module_help_link ?>"><?php echo $WS['MENU4'] ?></a>
</div>