phpcms手机内容页面添加上一篇和下一篇
在phpcms\modules\wap\index.php里面,搜索下面这句 复制代码 代码如下: if(!$r || $r[‘status’] != 99) showmessage(L(‘info_does_not_exists’),’blank’); 找到后,在它的下一行添加上 复制代码 代码如下: //上一页 $previous_page = $this->db->get_one(“`catid` = ‘$catid’ AND `id`<‘$id’ AND `status`=99”,’*’,’id DESC’); //下一页 $next_page = $this->db-
下载地址
用户评论