原帖由 daxiang800 于 2007-9-9 11:23 发表
在cache.func.php 找到 $conditions = "LEFT JOIN {$tablepre}forums f ON f.fid=t.fid WHERE t.replies>0 and t.displayorder!='-1' (共3个) 后面加上AND f.fid IN (4,6,48,49,51,11,13) 括号里面的数字就是要显示 ...
是两个, 还有一个是精华帖的
case 'topdigest':
$table = 'threads t';
$cols = 't.tid, t.fid, t.author, t.subject, t.digest, t.dateline, t.lastpost, t.lastposter, t.views, t.replies, t.highlight, f.name';
$conditions = "LEFT JOIN {$tablepre}forums f ON f.fid=t.fid WHERE digest>0 ORDER BY rand() LIMIT 0, 6";
break; |