原帖由 流传动 于 2006-1-3 16:12 发表
请问一下怎么把10个设置成5个啊?
最新主题是把$hack_subject_num=10的10改成5
其他
// 首页热门帖 CACHE 版 For D4 //
case 'topview':
$table = 'threads';
$cols='dateline,tid,subject,author,views,replies';
$conditions = "ORDER BY views DESC LIMIT 0,5";
break;
case 'topreply':
$table = 'threads';
$cols='dateline,tid,subject,author,views,replies';
$conditions = "ORDER BY replies DESC LIMIT 0,5";
break;
case 'toppostnum':
$table = 'members';
$cols='username, uid, posts';
$conditions = "ORDER BY posts DESC LIMIT 0, 5";
break;
// 首页热门帖 CACHE 版 For D4 // |