mudct


disconnected
主题工具

sai请进~请教PP首页的最新讨论和NOWHERE的显示条数怎么控制

... 发表于 2008-11-24 18:39  ... 10968 次点击

请教PP首页的最新讨论和NOWHERE的显示条数怎么控制,默认的是20条。。。。。如何修改啊?

本主题共有 2 条回复 | 回到顶部
#1 - 2008-11-25 23:34
Sai 桂林
include/cache.func.php
                case 'nowhere':
                        $table = 'plugin_now n';
                        $cols = 'n.*,mf.avatar';
                        $conditions = "LEFT JOIN {$tablepre}memberfields mf ON mf.uid=n.authorid ORDER BY dateline DESC LIMIT 30";
                        break;


case 'newthread':
                        $table = 'threads t';
                        $cols = 't.tid, t.fid, t.author,t.subject, t.dateline, t.lastpost, t.lastposter, t.views, t.replies,f.name,f.board_name, mf.avatar,mf.uid';
                        $conditions = "LEFT JOIN {$tablepre}forums f ON f.fid=t.fid LEFT JOIN {$tablepre}memberfields mf ON mf.uid=t.authorid WHERE t.displayorder!='-1' ORDER BY t.lastpost DESC LIMIT 0, 20";
                        break;

#2 - 2008-11-26 10:46
mudct 地球
非常感谢!!! (ll01)
看完之后有话想说?那就帮楼主加盖一层吧!

在回复之前你需要先进行登录
用户名 / UID
密码
Project Parasynthesis | Based on Discuz! 5.5.0 | Thanks to Livid
About | Help | Developer | N2Design
清除 Cookies - 联系我们 - 无名杂志 - Archiver - Mobile
Processed in 0.047907 second(s), 7 queries, Gzip enabled