diff options
| author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2008-09-07 14:55:06 +0000 |
|---|---|---|
| committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2008-09-07 14:55:06 +0000 |
| commit | 5e84520b571eda5f69ce907aa838820533fd0737 (patch) | |
| tree | 5cc2dca6dcbf4fe72c4d4a720ddd7f0c582006ea /series/core/trunk/admin.php | |
| parent | 866a1d8567457b451d61339064b52973419b2b0b (diff) | |
| download | instadisc-5e84520b571eda5f69ce907aa838820533fd0737.tar.gz instadisc-5e84520b571eda5f69ce907aa838820533fd0737.tar.bz2 instadisc-5e84520b571eda5f69ce907aa838820533fd0737.zip | |
Series: Started ACP
Refs #53
Diffstat (limited to 'series/core/trunk/admin.php')
| -rw-r--r-- | series/core/trunk/admin.php | 21 |
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 | |||
| 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 | ?> | ||
