-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex_sprekerslijst_voorlopig.php
86 lines (78 loc) · 3.24 KB
/
index_sprekerslijst_voorlopig.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
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
<?php
// Sprekers:
// 1) csv vanuit google docs
// 2) http://www.convertcsv.com/csv-to-json.htm
// 3) http://www.jsoneditoronline.org/
$sprekersJson = file_get_contents('../private/sprekers.json');
$sprekers = json_decode($sprekersJson);
$toezeggingen = [];
foreach ($sprekers as $spreker) {
if ($spreker->Status === "toegezegd") {
$toezeggingen[] = (object) [
"Naam" => $spreker->Naam,
"Achtergrond" => $spreker->Achtergrond,
"Titel" => $spreker->Titel
];
}
}
shuffle($toezeggingen);
?>
<!DOCTYPE html>
<html>
<head>
<!--[if lt IE 9]>
<script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.min.js"></script>
<![endif]-->
<!--<meta name='viewport' content='width=320,initial-scale=1,user-scalable=0'>-->
<meta charset="UTF-16">
<meta name="mobile-web-app-capable" content="yes">
<meta name='viewport' content='minimal-ui,width=320,initial-scale=1,user-scalable=0'>
<meta name="google" content="notranslate">
<meta name="robots" content="noindex">
<link rel='image_src' href='pb.png'/>
<link rel='shortcut icon' type='image/png' href='pb.png'>
<link href="reset.css" rel="stylesheet">
<script src="jquery-2.1.4.min.js"></script>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-69263567-1', 'auto');
ga('send', 'pageview');
</script>
<link rel="stylesheet" href="style.css">
</head>
<body>
<header>
<h2>Permanent Beta</h2>
<h3>Meer inspiratie dan je aankan!</h3>
<h1>Voorlopige sprekerslijst <em>PB dag #7</em> Rotterdam</h1>
<h3>13 november 2015, 9:30 tot 21:00 uur</h3>
<a class="button" href="http://www.meetup.com/PermanentBeta/events/222345799/">Aanmelden</a>
</header>
<main>
<p>
Het exacte programma met alle tijden wordt binnenkort vastgesteld.
</p>
<p>
PB dag #7 zal plaatsvinden op:<br>
<a href="http://www.hetlyceumrotterdam.nl/">Het Lyceum Rotterdam</a><br>
Beukelsdijk 91, 3021 AE Rotterdam
</p>
<p>
<a href="http://www.permanentbeta.nl">Meer informatie over Permanent Beta</a>.
</p>
</main>
<section class="sprekers">
<?php foreach ($toezeggingen as $toezegging) { ?>
<section class="spreker">
<h2><?=$toezegging->Naam?></h2>
<h3><?=$toezegging->Achtergrond?></h3>
<h1><?=$toezegging->Titel?></h1>
</section>
<?php } ?>
</section>
<a class="button" href="http://www.meetup.com/PermanentBeta/events/222345799/">Aanmelden</a>
</body>
</html>