Rows($sql1); #-------------------------------------------------------------------------- $smarty->assign('r1',$r1); #-------------------------------------------------------------------------- $smarty->display($template_root.'news_print.tpl'); ?>