load('links'); $loader->load('count_values'); $links_obj = new Links(); $links = $links_obj->list_links(); $template->assign('LINKS', $links); $total = new Count_Values(); $template->assign("LINK_TOTAL", $total->get_total(LINKS_TABLE)); // Process template $template->assign('HEAD_TITLE', $site->site_title($lang['links_title'])); $template->pparse('layout/links.tmpl'); ?>