From 4565a86946464f124110db11e3ba7331018d8664 Mon Sep 17 00:00:00 2001 From: jhunkeler Date: Mon, 21 Dec 2009 05:40:20 +0000 Subject: added working login script and announcment block git-svn-id: http://svn.3rd-infantry-division.org/testing/branches/Bayonet CMS v2@386 c5b2fb0a-d05d-0410-98c8-828840a80ff6 --- admin/modules/index.php | 59 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) (limited to 'admin/modules/index.php') diff --git a/admin/modules/index.php b/admin/modules/index.php index e69de29..94e2814 100644 --- a/admin/modules/index.php +++ b/admin/modules/index.php @@ -0,0 +1,59 @@ +. + */ + +/** + * This file administers the site modules. + * + * -weight + * -directory name + */ + +if(!defined("ADMIN_FILE")) +{ + die("Access denied."); +} + +echo "Do a database for the index modules, thats all this really is anyway.
"; +include $basedir.'modules/functions.php'; + +if(isset($_GET['edit'])) +{ + $module_id = $_GET['edit']; + EditModule($module_id); + return; +} + +if(isset($_GET['delete'])) +{ + $module_id = $_GET['delete']; + DeleteModule($module_id); + return; +} + +if(isset($_GET['create'])) +{ + NewModule(); + return; +} + +//echo "
".LinkInternal('Create a Module','?load=admin&op=modules&create=true')."
"; + +//ListModules(); + +?> \ No newline at end of file -- cgit