diff options
Diffstat (limited to 'series/trunk/admin.php')
-rw-r--r-- | series/trunk/admin.php | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/series/trunk/admin.php b/series/trunk/admin.php new file mode 100644 index 0000000..db637bd --- /dev/null +++ b/series/trunk/admin.php | |||
@@ -0,0 +1,21 @@ | |||
1 | <?php | ||
2 | |||
3 | /* InstaDisc Series - A Four Island Project */ | ||
4 | |||
5 | session_start(); | ||
6 | |||
7 | include('includes/instadisc.php'); | ||
8 | |||
9 | if (!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 | ?> | ||