控制器:


$data['job_num'] = $this->db->fetch("select count(*) job_num from ".WEBMENG_CONMENG."job where status>'0' ",true);



模板调用:

({webmeng:$job_num.job_num/})