WebmengWeb 新闻分类框架代码
$sql = "select *,thumb as img,inputtime as addtime from ".WEBMENG_CONMENG."news where status>'0' "; // $all_inews = $this->db->fetch($sql); //查询所有不带分页 $all_news = page_for_db_extend($sql); //查询带分页的 $data = array( // 'all_inews' => $all_inews, 'info_reslut' => $all_news['data'], 'showpage' => $all_news['page'], 'category' => $this->_category_news() );