blob: d0570e1a84de3fda5590a3b488fac3792b30bf8f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
<?php
/* InstaDisc Server - A Four Island Project */
include('includes/instadisc.php');
include('includes/template.php');
if (isset($_SESSION['username']))
{
$template = new FITemplate('userpanel');
$template->add('SITENAME', instaDisc_getConfig('siteName'));
$template->add('USERNAME', $_SESSION['username']);
if (instaDisc_getConfig('owner') == $_SESSION['username'])
{
$template->adds_block('ADMIN',array('ex'=>1));
}
$template->display();
} else {
header('Location: index.php');
}
?>
|