|
发表于 2007 年 4 月 5 日 13:29:48
|
显示全部楼层
- $rows=$foruminfo['top1'] + $foruminfo['top2'];
- if($start_limit < $rows){
- $L = min($rows-$start_limit,$db_perpage);
- $limit = "LIMIT $start_limit,$L";
- $limit2 = $L == $db_perpage ? '' : "LIMIT 0,".($db_perpage-$L);
- include_once(D_P."data/bbscache/toppeddb.php");
- $toptids = $toppeddb['3'][1];
- if($toppeddb['2'][$cateid][1]){
- $toptids && $toptids .= ',';
- $toptids .= $toppeddb['2'][$cateid][1];
- }
- $query=$db->query("SELECT * FROM pw_threads WHERE tid IN($toptids) AND topped>1 ORDER BY topped DESC,lastpost DESC $limit");
复制代码
可以肯定是你的缓存问题了![](static/image/smiley/default/shy.gif)
看看 data/bbscache/toppeddb.php 文件是否存在,或者乱码了 |
|