-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.php
More file actions
103 lines (84 loc) · 3.39 KB
/
index.php
File metadata and controls
103 lines (84 loc) · 3.39 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
<?php
include('inc/settings.php');
include('inc/functions.php');
?>
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang="en"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9" lang="en"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<title><?php echo $config["site_title"]; ?></title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width">
<link rel="shortcut icon" href="favicon.ico">
<link rel="stylesheet" href="css/style.css">
<script src="js/vendor/modernizr-2.5.3.min.js"></script>
</head>
<body>
<!-- Prompt IE 6 users to install Chrome Frame. Remove this if you support IE 6.
chromium.org/developers/how-tos/chrome-frame-getting-started -->
<!--[if lt IE 7]><p class="chromeframe">Your browser is <em>ancient!</em> <a href="http://browsehappy.com/">Upgrade to a different browser</a> or <a href="http://www.google.com/chromeframe/?redirect=true">install Google Chrome Frame</a> to experience this site.</p><![endif]-->
<img alt="" src="img/ajax-loader.gif" id="preloader">
<div id="container">
<p class="month">
<?php
echo date('F Y');
?>
</p>
<div id="report_overview">
<p>So far This month</p>
<div id="report_overview_hours">
<figure id="progress"></figure>
<p class="logged_hours"></p>
<p class="logged_hours_desc">hours<br><span>logged</span></p>
</div>
<p class="label">Which means</p>
<p class="hours_togo">only <strong></strong> to go!</p>
<div id="hours_productive">
<h4></h4>
<p class="perc">percent</p>
<p class="desc">productivity</p>
</div>
</div>
<div id="user_ranking">
<ul>
<li class="hide">
<div class="user_avatar">
<span class="rank pink"></span>
<figure class="user_avatar_holder"></figure>
</div>
<div class="user_info">
<h2></h2>
<p class="desc"></p>
<p class="hours"></p>
</div>
</li>
</ul>
</div>
</div>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script>window.jQuery || document.write('<script src="js/vendor/jquery-1.7.2.min.js"><\/script>')</script>
<script src="js/plugins.js"></script>
<script src="js/main.js"></script>
<!-- end scripts -->
<?php if(!empty($config["ga_account_id"])): ?>
<script>
var _gaq=[['_setAccount','<?php echo $config["ga_account_id"]; ?>'],['_trackPageview']];
(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];
g.src=('https:'==location.protocol?'//ssl':'//www')+'.google-analytics.com/ga.js';
s.parentNode.insertBefore(g,s)}(document,'script'));
</script>
<?php endif; ?>
<script type="text/javascript">
window.onload = setupRefresh;
function setupRefresh() {
setTimeout("refreshPage();", 300000); // milliseconds - every 5 mins
}
function refreshPage() {
window.location = location.href;
}
</script>
</body>
</html>