-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
140 lines (121 loc) · 5.22 KB
/
index.php
File metadata and controls
140 lines (121 loc) · 5.22 KB
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
<!DOCTYPE html>
<?php
require_once("mysqlconn.php");
?>
<html lang="de">
<head>
<meta charset="utf-8">
<title>kamerascheu.at - Gemeinderatssitzungen live ins Internet - JETZT!</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description"
content="Wir fordern die rasche Umsetzung der Übertragung der Gemeinderatssitzungen ins Internet!">
<meta name="author" content="Piratenpartei Steiermark">
<!-- Le styles -->
<link href="css/bootstrap.css" rel="stylesheet">
<link href="css/bootstrap-responsive.css" rel="stylesheet">
<link href="css/kamerascheu.css" rel="stylesheet">
<!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
<script src="../assets/js/html5shiv.js"></script>
<![endif]-->
<!-- Fav and touch icons -->
<link rel="shortcut icon" href="favicon.ico">
<?php
if (isset($piwikUrl) && $piwikUrl !== '' && isset($piwikSiteId)) {
?>
<!-- Piwik -->
<script type="text/javascript">
var _paq = _paq || [];
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="<?php echo $piwikUrl; ?>";
_paq.push(['setTrackerUrl', u+'piwik.php']);
_paq.push(['setSiteId', '<?php echo $piwikSiteId; ?>']);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
})();
</script>
<noscript><p><img src="<?php echo $piwikUrl; ?>piwik.php?idsite=<?php echo $piwikSiteId; ?>" style="border:0;" alt="" /></p></noscript>
<!-- End Piwik Code -->
<?php
}
?>
</head>
<body>
<?php
$t = '';
if (isset($_GET['t'])) {
$t = $_GET['t'];
}
?>
<div class="container">
<div class="masthead">
<div class="navbar">
<div class="navbar-inner">
<div class="container">
<ul class="nav">
<li <?php echo ($t === '') ? 'class="active"' : ''; ?>><a href="/">Startseite</a></li>
<li <?php echo ($t === 'unterstuetzen') ? 'class="active"' : ''; ?>><a href="?t=unterstuetzen">Helfen
Sie mit!</a></li>
<li <?php echo ($t === 'impressum') ? 'class="active"' : ''; ?>><a
href="?t=impressum">Kontakt</a></li>
</ul>
</div>
</div>
</div><!-- /.navbar -->
</div>
<?php
switch ($t) {
case 'impressum':
include("impressum.php");
break;
case 'kosten':
include("kosten.php");
break;
case 'unterstuetzen':
include("unterstuetzen.php");
break;
case 'vielendank':
include("vielendank.php");
break;
case 'dieandern':
include("wirsindnichtdieandern.php");
break;
case 'petition':
include("petition_form.php");
break;
case 'sign':
include("petition_sign.php");
break;
default:
include("default.php");
}
?>
<hr>
<div class="footer">
<p>
<a href="//creativecommons.org/publicdomain/zero/1.0/">CC0 1.0</a>
©
<a href='?t=impressum'>Piratenpartei Steiermark</a> <?php echo date('Y'); ?> -
<a href="//www.facebook.com/kamerascheuer">kamerascheu auf Facebook</a> -
<a href="//twitter.com/PiratenGraz">Folge uns auf Twitter</a>
</p>
</div>
</div> <!-- /container -->
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script src="js/bootstrap-transition.js"></script>
<script src="js/bootstrap-alert.js"></script>
<script src="js/bootstrap-modal.js"></script>
<script src="js/bootstrap-dropdown.js"></script>
<script src="js/bootstrap-scrollspy.js"></script>
<script src="js/bootstrap-tab.js"></script>
<script src="js/bootstrap-tooltip.js"></script>
<script src="js/bootstrap-popover.js"></script>
<script src="js/bootstrap-button.js"></script>
<script src="js/bootstrap-collapse.js"></script>
<script src="js/bootstrap-carousel.js"></script>
<script src="js/bootstrap-typeahead.js"></script>
<script src="js/jqBootstrapValidation.js"></script>
</body>
</html>