phpwind

关注公众号 jb51net

关闭
CMS教程 > phpwind >

phpwind解决搜索到回收站中内容的问题

jb51

关键字描述:内容 问题 回收 搜索 解决 query locked replies hits

打开:search.php

查找:
Copy code
$query = $db->query("SELECT tid,fid,titlefont,author,authorid,subject,postdate,lastpost,lastposter,hits,replies,locked,special,anonymous FROM pw_threads WHERE $sqlwhere $orderby $limit");


修改为:
Copy code
$query = $db->query("SELECT tid,fid,titlefont,author,authorid,subject,postdate,lastpost,lastposter,hits,replies,locked,special,anonymous FROM pw_threads WHERE fid<>'0' AND $sqlwhere $orderby $limit");