about summary refs log tree commit diff stats
path: root/series/core/trunk/admin.php
diff options
context:
space:
mode:
Diffstat (limited to 'series/core/trunk/admin.php')
-rw-r--r--series/core/trunk/admin.php21
1 files changed, 21 insertions, 0 deletions
diff --git a/series/core/trunk/admin.php b/series/core/trunk/admin.php new file mode 100644 index 0000000..db637bd --- /dev/null +++ b/series/core/trunk/admin.php
@@ -0,0 +1,21 @@
1<?php
2
3/* InstaDisc Series - A Four Island Project */
4
5session_start();
6
7include('includes/instadisc.php');
8
9if (!isset($_GET['id']) || !isset($_SESSION['username']))
10{
11 if (!isset($_SESSION['username']))
12 {
13 include('admin/login.php');
14 } else {
15 include('admin/main.php');
16 }
17} else {
18 include('admin/' . basename($_GET['id']) . '.php');
19}
20
21?>