后台文章排序怎么才可以按自己输入的数字排列?如按4,3,2,1,从大到小排列?
实现方法如下:
修改文件: phpcms\modules\content 中的 content.php
$datas = $this->db->listinfo($where,'id desc',$_GET['page']);
改成
$datas = $this->db->listinfo($where,'listorder ASC,id desc',$_GET['page']);
后台文章排序怎么才可以按自己输入的数字排列?如按4,3,2,1,从大到小排列?
实现方法如下:
修改文件: phpcms\modules\content 中的 content.php
$datas = $this->db->listinfo($where,'id desc',$_GET['page']);
改成
$datas = $this->db->listinfo($where,'listorder ASC,id desc',$_GET['page']);
【声明】:连云港站长网内容转载自互联网,其相关言论仅代表作者个人观点绝非权威,不代表本站立场。如您发现内容存在版权问题,请提交相关链接至邮箱:bqsm@foxmail.com,我们将及时予以处理。