root/dev/common/admin/admin.php @ 207

Revision 207, 0.7 KB (checked in by ralle030583, 15 years ago)

- added system search
- added 12 new ship Signatures (thx to Arthur Ffrub)
- removed again some not needed includes

Line 
1<?php
2// admin menu now loads all admin pages with options
3require_once('common/admin/admin_menu.php');
4
5$killboard = new Killboard(KB_SITE);
6$page = new Page();
7$page->setAdmin();
8
9if (!$_REQUEST['field'] && !$_REQUEST['sub'])
10{
11    $_REQUEST['field'] = 'Appearance';
12    $_REQUEST['sub'] = 'Generic';
13}
14if ($_REQUEST['field'] && $_REQUEST['sub'])
15{
16    if ($_POST)
17    {
18        options::handlePost();
19    }
20    $page->setContent(options::genOptionsPage());
21    $page->addContext(options::genAdminMenu());
22    if ($_REQUEST['sub'] == 'Generic' && $_REQUEST['field'] == 'Appearance')
23    {
24        $page->setTitle('Administration - Generic (Current version: '.KB_VERSION.' Build '.SVN_REV.')');
25    }
26    $page->generate();
27}
28?>
Note: See TracBrowser for help on using the browser.