-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
39 lines (38 loc) · 913 Bytes
/
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
<?php
$page = rtrim($_GET["c"], '/');
require('./inc/header.inc');
switch ($page) {
case "about":
default:
require('./inc/content/about.inc');
break;
case "what-is-bullying":
require('./inc/content/what-is.inc');
break;
case "fighting-bullying":
require('./inc/content/fighting.inc');
break;
case "live-chat":
require('./inc/content/chat.inc');
break;
case "stop":
require('./inc/content/stop.inc');
break;
case "contact":
require('./inc/content/contact.inc');
break;
case "fighting-bullying/helpful-tips":
case "helpful-tips":
require('./inc/content/tips.inc');
break;
case "fighting-bullying/anti-bully-alias":
case "anti-bully-alias":
require('./inc/content/alias.inc');
break;
case "fighting-bullying/best-practice":
case "best-practice":
require('./inc/content/best-prac.inc');
break;
}
require('./inc/footer.inc');
?>