From b5736e3ad3830fa732dcbd1a518ec3dd6ea7b98a Mon Sep 17 00:00:00 2001 From: Starla Insigna Date: Thu, 13 Aug 2009 17:46:09 -0400 Subject: Rewrote Admin panel The following database changes must be made: * A TEXT column called "text" must be added to the end of "polloftheweek" * The transferPollRss.php script must be run * The "pollrss" table must be dropped Closes #113 --- admin.php | 77 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 77 insertions(+) create mode 100644 admin.php (limited to 'admin.php') diff --git a/admin.php b/admin.php new file mode 100644 index 0000000..5e002a6 --- /dev/null +++ b/admin.php @@ -0,0 +1,77 @@ +add(strtoupper($category) . 'ACTIVECAT', ' class="active"'); +$template->adds_block(strtoupper($category) . 'ISACTIVECAT', array('exi'=>1)); +if (isset($pageaid)) $template->add(strtoupper($pageaid) . 'ACTIVE', ' class="active"'); +if (!isset($flashmsg)) $template->add('HIDEFLASH', ' style="display: none"'); +if (isset($flashmsg)) $template->add('FLASH', $flashmsg); +$template->display(); + +echo($doc); + +$template = new FITemplate('admin/footer'); +$template->display(); + +?> -- cgit 1.4.1