-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.php
More file actions
30 lines (26 loc) · 808 Bytes
/
index.php
File metadata and controls
30 lines (26 loc) · 808 Bytes
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,maximum-scale=1.0,initial-scale=1.0,minimum-scale=1.0">
<title>Austria</title>
<link rel="stylesheet" href="stylesheets/stylesheet.css">
<link rel="stylesheet" href="stylesheets/map.css">
<script src="javascripts/modernizr.js"></script>
</head>
<?php
include_once('mapfunctions.php');
$mapData = json_decode(file_get_contents('mapdata.json'));
$highestPartyIds = getHighestPercentagePartyId($mapData);
?>
<body>
<div class="wrapper">
<?php printMap($highestPartyIds); ?>
<div class="text">
<p class="wahlwetter-header">Wahlwetter</p>
<?php printList($mapData, 10, 7); ?>
</div>
<div class="clear"></div>
</div>
</body>
</html>