-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdisplay_bp.php
54 lines (37 loc) · 1.22 KB
/
display_bp.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
48
49
50
51
52
53
54
<?php
require_once 'assets/config/config.php';
require_once "vendor/autoload.php";
use PhotoTech\Measure;
$user_id = 2;
?>
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=yes, initial-scale=1.0">
<title>Blood Pressure Readings</title>
<link rel="stylesheet" media="all" href="assets/css/bpStyle.css">
</head>
<body class="site" data-pages="<?= Measure::countByUser($user_id) ?>">
<header class="header">
</header>
<?php include_once "assets/includes/inc.nav.php"; ?>
<div class="sidebar">
<p class="totals">Total distance walked so far is <?= $total_distance = Measure::totalMiles(2) ?> miles</p>
<p class="totals">Average systolic is <?= Measure::systolic() ?></p>
<p class="totals">Average diastolic is <?= Measure::diastolic() ?></p>
<p class="totals">Average pulse is <?= Measure::pulse() ?></p>
</div>
<main class="content">
<ul class="cards">
</ul>
<div class="flex_container" data-role="controlgroup">
</div>
</main>
<footer class="colophon">
<p>© <?php echo date("Y") ?> The Photo Tech Guru</p>
</footer>
<script src="assets/js/bp.js" async defer></script>
</body>
</html>