function do_admin_body() { runTweak('do-admin-body'); if ($_GET['action'] == 'addpage') { addpage(); } elseif ($_GET['action'] == 'delete') { doDelete(); } elseif ($_GET['action'] == 'edit') { performEdit(); } elseif ($_GET['action'] == 'showpages') { showpageslist(); } elseif ($_GET['action'] == 'editarea') { doAreaEdit(); } elseif ($_GET['action'] == 'showareas') { nanoadmin_showareas(); } elseif ($_GET['action'] == 'settings') { nanoadmin_showsettings(); } elseif ($_GET['action'] == 'tweakers') { showTweakers(); } elseif (isset($_GET[tweak])) { showTweaksInterface(); } elseif (!isset($_GET['action'])) { $introPage = NANO_ADMIND_DESIGN_BASE . "intro.php"; runTweak('intro-page', array(&$introPage)); require_once $introPage; } }
if ($_GET[action] == 'addpage') { addpage(); } elseif ($_GET[action] == 'delete') { doDelete(); } elseif ($_GET[action] == 'edit') { performEdit(); } elseif ($_GET[action] == 'showpages') { showpageslist(); } elseif ($_GET[action] == 'editarea') { doAreaEdit(); } elseif ($_GET[action] == 'showareas') { showareas(); } elseif ($_GET[action] == 'tweakers') { showTweakers(); } elseif (isset($_GET[tweak])) { showTweaksInterface(); } elseif (!isset($_GET[action])) { $introPage = "intro.php"; runTweak('intro-page', array(&$introPage)); require_once $introPage; } runTweak('admin-body'); ?> </div> </div><!-- END OF MAIN DIV TAG --> <div id="footer"> © <a href="http://www.kalyanchakravarthy.net">Kalyan Chakravarthy</a> </div>