load('count_values'); $total = new Count_Values(); $template->assign("NUM_STORIES", $total->get_total(FICS_TABLE)); $template->assign("TAG_COUNT", $total->get_total(TAGS_TABLE)); $loader->load('date'); $date = new Date(); $last = $date->last_update(); $template->assign("LAST_UPDATE", $last); // $list = new List_lists(); $format_list = $list->list_lists(); $template->assign("LIST", $format_list); $format_list_s = $list->list_lists('', 'form'); $template->assign("SEARCH_LISTS", $format_list_s); $loader->load('taglist'); $tags = new Taglist(); $taglist_s = $tags->list_tags('all', 'form'); $template->assign("SEARCH_TAGS", $taglist_s[0]); // Process template $template->assign("HEAD_TITLE", $site->site_title($lang['index_title'])); $template->pparse("layout/index.tmpl"); ?>