-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.php
More file actions
executable file
·42 lines (32 loc) · 1.13 KB
/
Copy pathindex.php
File metadata and controls
executable file
·42 lines (32 loc) · 1.13 KB
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
<?php
$starttime=microtime(true);
require_once ("./inc/func.php");
## Index.php - main file for PHPlinuxTracker ##
?>
<html>
<head>
<title><?=$CONFIG['title']?></title>
<link rel="stylesheet" href="//assets.johncave.co.nz/bootstrap/3.3.4/css/bootstrap.min.css">
<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap-glyphicons.css" rel="stylesheet">
<style>
<?php
printCSS();
?>
</style>
</head>
<?=$LANG['headhtml']?>
<center>
<div id="table">
</div>
</center>
<div id="attribution">
Powered by <a href="https://github.com/johncave/phplinuxtrack">PHPlinuxTrack 0.3</a>, created by <a href="https://johncave.co.nz/">John Cave</a>.<br />
Updated at <?=$redis->get('pltgt')?> UTC. Generated in <?php print round(microtime(true)-$starttime, 3)?> seconds.
</div>
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
<script src="//assets.johncave.co.nz/bootstrap/3.3.4/js/bootstrap.min.js"></script>
<script type="text/javascript" >
$('#table').html("<img src='//assets.johncave.co.nz/images/loading.gif'/><br /><?=$LANG['loading']?>").load('/table.php');
console.log("Loading Table");
</script>
</html>