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.php18
1 files changed, 18 insertions, 0 deletions
diff --git a/central/trunk/userpanel.php b/central/trunk/userpanel.php new file mode 100644 index 0000000..879a75c --- /dev/null +++ b/central/trunk/userpanel.php
@@ -0,0 +1,18 @@
1<?php
2
3/* InstaDisc Server - A Four Island Project */
4
5include('instadisc.php');
6include('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 $template->display();
14} else {
15 header('Location: index.php');
16}
17
18?>