phpwind解决搜索到回收站中内容的问题
发布时间:2016-12-23 来源:查字典编辑
摘要:关键字描述:内容问题回收搜索解决querylockedreplieshits打开:search.php查找:Copycode$query=$...
关键字描述:内容 问题 回收 搜索 解决 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");