forked from edrabbit/biologger
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
44 lines (37 loc) · 1.48 KB
/
index.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
<?php
include_once('fxns.php');
$one_touches = load_activities(ONE_TOUCHES_FILE);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="yes" name="apple-mobile-web-app-capable" />
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<meta content="minimum-scale=1.0, width=device-width, maximum-scale=0.6667, user-scalable=no" name="viewport" />
<link rel="apple-touch-startup-image" href="img/splashscreen.png">
<link href="iwebkit/css/style.css" rel="stylesheet" media="screen" type="text/css" />
<script src="iwebkit/javascript/functions.js" type="text/javascript"></script>
<title>Biologger</title>
</head>
<body>
<div id="topbar" class="black"><div id="title">Biologger</div></div>
<div id="content">
<span class="center"><span class="greytitle">Record a measurement</span></span>
<ul class="pageitem">
<li class="menu">
<a href="activity.php"><div><span class="name">Activity</span><span class="arrow"></span></div></a>
</li>
</ul>
<span class="graytitle">One Touch Activities</span>
<ul class="pageitem">
<?php
foreach ($one_touches as $act) {
print '<li class="menu">';
print '<a href="count.php?activity='.$act.'"><div><span class="name">'.$act.'</span></div></a>';
print '</li>';
}
?>
</ul>
</div>
</body>
</html>