about summary refs log tree commit diff stats
path: root/central/trunk/userpanel.php
diff options
context:
space:
mode:
Diffstat (limited to 'central/trunk/userpanel.php')
-rw-r--r--central/trunk/userpanel.php24
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
5include('includes/instadisc.php');
6include('includes/template.php');
7
8if (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?>