diff options
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/index.php b/index.php new file mode 100644 index 0000000..12ba2ab --- /dev/null +++ b/index.php | |||
@@ -0,0 +1,56 @@ | |||
1 | <?php | ||
2 | /* | ||
3 | 444444444 | ||
4 | 4::::::::4 | ||
5 | 4:::::::::4 | ||
6 | 4::::44::::4 | ||
7 | 4::::4 4::::4 Four Island | ||
8 | 4::::4 4::::4 | ||
9 | 4::::4 4::::4 Written and maintained by Starla Insigna | ||
10 | 4::::444444::::444 | ||
11 | 4::::::::::::::::4 index.php | ||
12 | 4444444444:::::444 | ||
13 | 4::::4 Please do not use, reproduce or steal the | ||
14 | 4::::4 contents of this file without explicit | ||
15 | 4::::4 permission from Hatkirby. | ||
16 | 44::::::44 | ||
17 | 4::::::::4 | ||
18 | 4444444444 | ||
19 | */ | ||
20 | |||
21 | require('headerproc.php'); | ||
22 | |||
23 | header('X-Pingback: http://www.fourisland.com/xmlrpc.php'); | ||
24 | |||
25 | include('../security/config.php'); | ||
26 | include('includes/db.php'); | ||
27 | include('includes/template.php'); | ||
28 | include('includes/session.php'); | ||
29 | include('includes/bbcode.php'); | ||
30 | include('includes/xmlrpc/xmlrpc.inc'); | ||
31 | include('includes/specialdates.php'); | ||
32 | include('includes/functions.php'); | ||
33 | include('includes/hits.php'); | ||
34 | include('includes/updatePending.php'); | ||
35 | |||
36 | ob_start(); | ||
37 | |||
38 | $pageName = isset($_GET['area']) ? $_GET['area'] : 'welcome'; | ||
39 | |||
40 | if (file_exists('pages/' . $pageName . '.php')) | ||
41 | { | ||
42 | include('pages/' . $pageName . '.php'); | ||
43 | } else { | ||
44 | generateError('404'); | ||
45 | } | ||
46 | |||
47 | $doc = ob_get_contents(); | ||
48 | ob_end_clean(); | ||
49 | |||
50 | $doc = stripslashes($doc); | ||
51 | |||
52 | include('includes/header.php'); | ||
53 | echo($doc); | ||
54 | include('includes/footer.php'); | ||
55 | |||
56 | ?> | ||