.
*/
/**
* 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')." |
---|