validate_id($list_id); $list_info = $list_obj->get_list_info($list_id); $title = $lang['updates_title'].' >> '.$list_info['name']; } else { $title = $lang['updates_title']; } $ficlist = new Fic_list(); $updates = $ficlist->updates($list_id); $template->assign("CONTENT", $updates); $format_list_s = $list_obj->list_lists('', 'form'); $template->assign("SEARCH_LISTS", $format_list_s); // Process template $template->assign("PAGE_TITLE", $title); $template->assign("HEAD_TITLE", $site->site_title($title, 1)); $template->pparse("layout/updates.tmpl"); ?>