diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2008-08-15 14:48:35 +0000 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2008-08-15 14:48:35 +0000 |
commit | 857ecf0581857ccf8d05209c5f77983f47ef3117 (patch) | |
tree | c0a2c4987e48d0ff7f8d73536ed70075846d126c /central/trunk/userpanel.php | |
parent | 4d4f2acfe707a83dec8789f8159cb60eab38e290 (diff) | |
download | instadisc-857ecf0581857ccf8d05209c5f77983f47ef3117.tar.gz instadisc-857ecf0581857ccf8d05209c5f77983f47ef3117.tar.bz2 instadisc-857ecf0581857ccf8d05209c5f77983f47ef3117.zip |
Central: Created user panel index
Refs #25 and #35
Diffstat (limited to 'central/trunk/userpanel.php')
-rw-r--r-- | central/trunk/userpanel.php | 18 |
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 | |||
5 | include('instadisc.php'); | ||
6 | include('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 | $template->display(); | ||
14 | } else { | ||
15 | header('Location: index.php'); | ||
16 | } | ||
17 | |||
18 | ?> | ||