* @subpackage list_new */ //include and require several classes require_once "../../class2.php"; if (!getperms("1") || !e107::isInstalled('list_new')) { header("location:" . e_BASE . "index.php"); exit; } require_once e_ADMIN . "auth.php"; require_once e_HANDLER . "form_handler.php"; $rs = new form(); $fl = e107::getFile(); require_once e_PLUGIN . "list_new/list_class.php"; $rc = new listclass('admin'); //get all sections to use (and reload if new e_list.php files are added) $rc->getSections(); $mes = e107::getMessage(); //update preferences in database if (isset($_POST['update_menu'])) { $message = $rc->admin->db_update_menu(); } //check preferences from database $rc->list_pref = $rc->getListPrefs(); //render message if set if (isset($message)) { $MESSAGE = $message; $t = preg_replace("/\\{(.*?)\\}/e", '$\\1', $rc->template['ADMIN_MESSAGE']); $mes->addInfo($message); //$rc->e107->ns->tablerender('', $t); } //display admin page