about summary refs log tree commit diff stats
path: root/central/trunk/userpanel.php
blob: f28b8fb0386ef36f09aa5e3bec75b77903be71cb (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('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']);
	$template->display();
} else {
	header('Location: index.php');
}

?>