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.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/central/trunk/userpanel.php b/central/trunk/userpanel.php index f28b8fb..d0570e1 100644 --- a/central/trunk/userpanel.php +++ b/central/trunk/userpanel.php
@@ -10,6 +10,12 @@ if (isset($_SESSION['username']))
10 $template = new FITemplate('userpanel'); 10 $template = new FITemplate('userpanel');
11 $template->add('SITENAME', instaDisc_getConfig('siteName')); 11 $template->add('SITENAME', instaDisc_getConfig('siteName'));
12 $template->add('USERNAME', $_SESSION['username']); 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
13 $template->display(); 19 $template->display();
14} else { 20} else {
15 header('Location: index.php'); 21 header('Location: index.php');