-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.php
192 lines (170 loc) · 6.68 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
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
<?php
setlocale(LC_ALL, 'de_DE');
header("Content-Type: text/html; charset=utf-8");
require_once('inc/config.inc.php');
require_once('inc/main.inc.php');
$page=validateStartParams();
?>
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="utf-8">
<title>Immopoly :: Erobere deinen Kiez</title>
<meta name="description" content="Ein mobiles Makler-Spiel mit Echtdaten von ImmobilienScout24">
<meta name="author" content="Krautsourcing UG :: Team Immopoly">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<!-- Le styles -->
<link href="bootstrap/css/bootstrap.min.css" rel="stylesheet">
<style type="text/css">
body {
padding-top: 60px;
padding-bottom: 40px;
}
</style>
<link href="bootstrap/css/bootstrap-responsive.min.css" rel="stylesheet">
<link href="css/overrides.css" rel="stylesheet">
<!-- Le fav and touch icons -->
<link rel="shortcut icon" href="img/immopoly.png">
<link rel="apple-touch-icon" href="img/immopoly.png">
<link rel="apple-touch-icon" sizes="72x72" href="img/immopoly.png">
<link rel="apple-touch-icon" sizes="114x114" href="img/immopoly.png">
<!-- G+-Page-Badge -->
<link href="https://plus.google.com/115948347977579800149" rel="publisher" />
<script type="text/javascript">
window.___gcfg = {lang: 'de'};
(function()
{var po = document.createElement("script");
po.type = "text/javascript"; po.async = true;po.src = "https://apis.google.com/js/plusone.js";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(po, s);
})();</script>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-25033820-1']);
_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>
</head>
<body>
<?php
if( isFrameless($page)){
the_page($page);
exit;
}
?>
<div class="navbar navbar-fixed-top">
<div class="navbar-inner">
<div class="container">
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</a>
<a class="brand" href="/">
Immopoly
</a>
<div class="nav-collapse">
<ul class="nav">
<li class="home">
<a href="/">
<i class="icon-home icon-white"></i> Home
</a>
</li>
<li class="description">
<a href="description.html">
<i class="icon-info-sign icon-white"></i> Beschreibung
</a>
</li>
<li class="screenshots">
<a href="screenshots.html">
<i class="icon-picture icon-white"></i> Screenshots
</a>
</li>
<li class="download">
<a href="download.html">
<i class="icon-download icon-white"></i> Download
</a>
</li>
<li class="livestats">
<a href="livestats.html">
<i class="icon-list-alt icon-white"></i> Live-Statistiken
</a>
</li>
</ul>
</div><!--/.nav-collapse -->
<div style="display: none;">
<form class="form-inline pull-right">
<input type="text" class="input-small disabled" disabled placeholder="Benutzername">
<input type="password" class="input-small disabled" disabled placeholder="Passwort">
<button type="submit" class="btn-small disabled" disabled>Login</button>
</form>
</div>
</div>
</div>
</div>
<div class="container">
<!-- CONTENT HERE -->
<?php the_page($page); ?>
<hr>
<footer>
<p>
© Krautsourcing UG 2011-2012 • Immopoly Team
<span style="display:block;" class="pull-right">
<a href="contact.html">Kontakt</a>
|
<a href="imprint.html">Impressum</a>
</span>
</p>
</footer>
</div> <!-- /container -->
<!-- Le javascript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script type="text/javascript" src="js/jquery-1.7.min.js"></script>
<script type="text/javascript" src="bootstrap/js/bootstrap.min.js"></script>
<?php if ($page == "screenshots"): ?>
<script type="text/javascript" src="bootstrap/js/bootstrap-transition.js"></script>
<script type="text/javascript" src="bootstrap/js/bootstrap-carousel.js"></script>
<script type="text/javascript">
$('.carousel').carousel();
</script>
<?php elseif ($page == "livestats"): ?>
<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script>
<script type="text/javascript" src="js/heatmap.js"></script>
<script type="text/javascript" src="js/interactive.js"></script>
<script type="text/javascript">
//do on start
$(document).ready(function() {
updateTable("#top_makler","top", 0, 20);
updateTable("#history_list","history");
initHeatmap();
});
</script>
<?php endif; ?>
<!--
<script src="bootstrap/js/bootstrap-alert.js"></script>
<script src="bootstrap/js/bootstrap-modal.js"></script>
<script src="bootstrap/js/bootstrap-dropdown.js"></script>
<script src="bootstrap/js/bootstrap-scrollspy.js"></script>
<script src="bootstrap/js/bootstrap-tab.js"></script>
<script src="bootstrap/js/bootstrap-tooltip.js"></script>
<script src="bootstrap/js/bootstrap-popover.js"></script>
<script src="bootstrap/js/bootstrap-button.js"></script>
<script src="bootstrap/js/bootstrap-collapse.js"></script>
<script src="bootstrap/js/bootstrap-typeahead.js"></script>
-->
<script>
$(document).ready(function(){
$(".navbar .nav li.<?php echo $page;?>").addClass("active");
});
</script>
</body>
</html>