diff options
Diffstat (limited to 'central/trunk/userpanel.php')
-rw-r--r-- | central/trunk/userpanel.php | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/central/trunk/userpanel.php b/central/trunk/userpanel.php deleted file mode 100644 index d0570e1..0000000 --- a/central/trunk/userpanel.php +++ /dev/null | |||
@@ -1,24 +0,0 @@ | |||
1 | <?php | ||
2 | |||
3 | /* InstaDisc Server - A Four Island Project */ | ||
4 | |||
5 | include('includes/instadisc.php'); | ||
6 | include('includes/template.php'); | ||
7 | |||
8 | if (isset($_SESSION['username'])) | ||
9 | { | ||
10 | $template = new FITemplate('userpanel'); | ||
11 | $template->add('SITENAME', instaDisc_getConfig('siteName')); | ||
12 | $template->add('USERNAME', $_SESSION['username']); | ||
13 | |||
14 | if (instaDisc_getConfig('owner') == $_SESSION['username']) | ||
15 | { | ||
16 | $template->adds_block('ADMIN',array('ex'=>1)); | ||
17 | } | ||
18 | |||
19 | $template->display(); | ||
20 | } else { | ||
21 | header('Location: index.php'); | ||
22 | } | ||
23 | |||
24 | ?> | ||