-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
156 lines (138 loc) · 6.71 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
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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
<?php
$page = $_GET['page'];
if($page == "")
$page = "home";
?>
<!DOCTYPE html>
<!-- paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ -->
<!--[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 lang="en"> <!--<![endif]-->
<head>
<meta charset="utf-8" />
<!-- Set the viewport width to device width for mobile -->
<meta name="viewport" content="width=device-width" />
<title>CoderDojo Rotterdam | Leer kinderen gratis programmeren!</title>
<meta name="description" content="Bij CoderDojo Rotterdam bieden wij kinderen van 7-18 jaar gratis les aan om te leren programmeren. Dit gaat van websites tot games tot software!"/>
<link rel="icon" type="image/ico" href="/favicon.ico">
<link rel="image_src" href="http://www.coderdojo-rotterdam.nl/preview.jpg" />
<meta property="og:title" content="Vrijwilligers leren kinderen programmmeren voor noppes!" />
<meta property="og:description" content="Ben jij jonger dan 18 jaar en wil je leren programmeren? Dat kan! Schrijf je nu gratis in voor de CoderDojo van Rotterdam!" />
<meta property="og:type" content="website" />
<meta property="og:image" content="http://www.coderdojo-rotterdam.nl/preview.jpg" />
<!-- Included CSS Files -->
<link rel="stylesheet" href="stylesheets/foundation.css">
<link rel="stylesheet" href="stylesheets/app.css">
<!--[if lt IE 9]>
<link rel="stylesheet" href="stylesheets/ie.css">
<![endif]-->
<!-- IE Fix for HTML5 Tags -->
<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
</head>
<body>
<div id="fb-root"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/nl_NL/all.js#xfbml=1&appId=183242571742526";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<!-- container -->
<div class="container">
<div class="row">
<div class="five columns logo">
<img src="images/coderdojo-rotterdam.png" alt="CoderDojo Rotterdam"/>
</div>
<div class="seven columns socialmedia">
<a href="http://twitter.com/CoderDojoRdam" target="_blank">
<img src="images/twitter.png" alt="Volg ons op Twitter!" width="48"/>
</a>
<a href="https://www.facebook.com/CoderDojoRotterdam" target="_blank">
<img src="images/facebook.png" alt="CoderDojo Rotterdam Facebook" width="48"/>
</a>
<a href="http://coderdojorotterdam.hyves.nl" target="_blank">
<img src="images/hyves.png" alt="CoderDojo Rotterdam Hyves" width="48"/>
</a>
</div>
</div>
<div class="row">
<div class="twelve columns navigation">
<ul>
<li <?php if($page == "home"){echo "class='active'";}?>><a href="/">Home</a></li>
<li <?php if($page == "vrijwilligers-gezocht"){echo "class='active'";}?>><a href="/vrijwilligers-gezocht">Vrijwilligers Gezocht</a></li>
<li <?php if($page == "volgende-dojo"){echo "class='active'";}?>><a href="/volgende-dojo">Volgende Dojo</a></li>
<li <?php if($page == "contact"){echo "class='active'";}?>><a href="/contact">Contact</a></li>
</ul>
</div>
</div>
<div class="row">
<div class="eight columns content">
<?php
if(file_exists("pages/".$page.".php"))
include "pages/".$page.".php";
else
include "pages/404.php";
?>
</div>
<div class="four columns sidebar">
<h2>Like ons op Facebook</h2>
<div class="fb-like-box" data-href="https://www.facebook.com/coderdojorotterdam" data-width="298" data-show-faces="true" data-header="true" data-stream="false" data-show-border="false"></div>
<br/>
<!-- Begin MailChimp Signup Form -->
<h2>Nieuwsbrief</h2>
<p>Als je wilt weten wanneer de volgende Dojo in Rotterdam gehouden wordt, kun je je voor onze nieuwsbrief inschrijven. Wij houden je dan op de hoogte!</p>
<link href="http://cdn-images.mailchimp.com/embedcode/slim-081711.css" rel="stylesheet" type="text/css">
<style type="text/css">
#mc_embed_signup{background:#fff; clear:left; font:14px Helvetica,Arial,sans-serif;}
#mc_embed_signup form.validate {padding:0px !important;}
#mc_embed_signup input.email {width:100%;}
#mc_embed_signup .button {float:right;background-color:#588C3E;}
#mc_embed_signup .clear {clear:both;}
/* Add your own MailChimp form style overrides in your site stylesheet or in this style block.
We recommend moving this block and the preceding CSS link to the HEAD of your HTML file. */
</style>
<div id="mc_embed_signup">
<form action="http://coderdojo-rotterdam.us4.list-manage1.com/subscribe/post?u=40ac92f1b076c51cb7468993a&id=aaa7e3ea48" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank">
<input type="email" value="" name="EMAIL" class="email" id="mce-EMAIL" placeholder="emailadres" required>
<div class="clear"><input type="submit" value="Inschrijven" name="subscribe" id="mc-embedded-subscribe" class="button"></div>
</form>
</div>
</div>
</div>
<div class="row footer">
<div class="twelve columns">
<p class="left">Copyright © Coderdojo Rotterdam 2012</p>
<p class="right">
<a href="http://eepurl.com/j30pT">Nieuwsbrief</a> |
<a href="http://www.coderdojo.com" target="_blank">CoderDojo</a> |
Made by <a href="http://www.christianvermeulen.net" target="_blank">Christian Vermeulen</a>
</p>
</div>
</div>
</div>
<!-- container -->
<!-- Included JS Files -->
<script src="/javascripts/jquery.min.js"></script>
<script src="/javascripts/jquery.livetwitter.min.js"></script>
<script src="/javascripts/modernizr.foundation.js"></script>
<script src="/javascripts/foundation.js"></script>
<script src="/javascripts/app.js"></script>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-7869825-23']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
<script src="//static.getclicky.com/js" type="text/javascript"></script>
<script type="text/javascript">try{ clicky.init(66556120); }catch(e){}</script>
<noscript><p><img alt="Clicky" width="1" height="1" src="//in.getclicky.com/66556120ns.gif" /></p></noscript>
</body>
</html>