后台文章排序怎么才可以按自己输入的数字排列?如按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']);
大型站长资讯类网站! https://www.0482zz.com