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

互联网   发布时间:2009-06-06 15:54:21   作者: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
关键字描述:内容 问题 回收 搜索 解决 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");

相关文章

最新评论