initial commit

This commit is contained in:
Ben Ramey
2017-03-02 21:36:05 -06:00
commit e85327b977
1953 changed files with 176586 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
<?php
include '../php/classes/page.php';
$page = new Page();
$page->init_user();
# make sure the user is logged in before he has access to the
# admin section
if(!$page->user()->check_role('admin'))
{
$page->addMessage('You must login to use the administrator pages.');
$page->display('menu',false);
$page->content('admin/login.php');
}
else
$page->content('admin/index.php');
$page->attr('title','Discipling the Nations: Administrator Area');
$page->menu('admin/menu.php');
$page->addCSSFile('admin.css');
$page->process();
?>