首页 > 网站 > 建站经验 > 正文

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

2024-04-25 20:33:25
字体:
来源:转载
供稿:网友

打开: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");

发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表