|
|
原版的只是ID 而且弄反了,现有的增加排序号,改为正常顺序了。
//上一页
$previous_page = $this->db->get_one("`catid`= '$catid' AND `id`>'$id' AND `status`=99",'*','listorder ASC,id ASC');
//下一页
$next_page = $this->db->get_one("`catid` = '$catid' AND `id`<'$id' AND `status`=99",'*','listorder DESC, id DESC');
包括了modules /content / index.php 和 modules /content /classess/html.php
|
|