obj->DB_select_all("company_job",$where." and `r_status`='1' and `status`='0' order by $order limit $limit"); $template->tpl_vars['job'] = new Smarty_Variable; $template->tpl_vars['job']->value=$rows; return; } ?>