summary refs log tree commit diff stats
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rw-r--r--index.php56
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
104::::444444::::444
114::::::::::::::::4 index.php
124444444444:::::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
21require('headerproc.php');
22
23header('X-Pingback: http://www.fourisland.com/xmlrpc.php');
24
25include('../security/config.php');
26include('includes/db.php');
27include('includes/template.php');
28include('includes/session.php');
29include('includes/bbcode.php');
30include('includes/xmlrpc/xmlrpc.inc');
31include('includes/specialdates.php');
32include('includes/functions.php');
33include('includes/hits.php');
34include('includes/updatePending.php');
35
36ob_start();
37
38$pageName = isset($_GET['area']) ? $_GET['area'] : 'welcome';
39
40if (file_exists('pages/' . $pageName . '.php'))
41{
42 include('pages/' . $pageName . '.php');
43} else {
44 generateError('404');
45}
46
47$doc = ob_get_contents();
48ob_end_clean();
49
50$doc = stripslashes($doc);
51
52include('includes/header.php');
53echo($doc);
54include('includes/footer.php');
55
56?>