about summary refs log tree commit diff stats
path: root/central/trunk/userpanel.php
blob: 879a75c627120e71445239c6566b0bfe2c1a70e7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?php

/* InstaDisc Server - A Four Island Project */

include('instadisc.php');
include('template.php');

if (isset($_SESSION['username']))
{
	$template = new FITemplate('userpanel');
	$template->add('SITENAME', instaDisc_getConfig('siteName'));
	$template->add('USERNAME', $_SESSION['username']);
	$template->display();
} else {
	header('Location: index.php');
}

?>