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

/* InstaDisc Series - A Four Island Project */

session_start();

include('includes/instadisc.php');

if (!isset($_GET['id']) || !isset($_SESSION['username']))
{
	if (!isset($_SESSION['username']))
	{
		include('admin/login.php');
	} else {
		include('admin/main.php');
	}
} else {
	include('admin/' . basename($_GET['id']) . '.php');
}

?>