assign('categories', $cats['list']); $smarty->display('categories.tpl'); ?>