Rows($sql1); #BANNER $sqlBanner = "SELECT * FROM tbl_banner WHERE ba_id = 1"; $rB = $db->Rows($sqlBanner); $smarty->assign('rB',$rB); #-------------------------------------------------------------------------- $smarty->assign('r1',$r1); #-------------------------------------------------------------------------- $smarty->display($template_root.'faqs.tpl'); ?>