本页主题: 关于“最新回复”首页插件的问题!无法正常显示最新回复! 打印 | 加为IE收藏 | 复制链接 | 收藏主题 | 上一主题 | 下一主题

cmbaby
级别: 新手上路

 关于“最新回复”首页插件的问题!无法正常显示最新回复!

0
如题一样,比如最新主题之类的,都可以,但是最新回复不可以,我随便回复了一个帖子,可是在最新回复里面没有反映,,怎么回复,都不会显示最新回复的帖子!求救一下

以下是我的代码,,高手帮忙看看那里的问题!




//最新回复主题开始
$query = $db->query("SELECT pt.tid,pt.author,pt.subject,pt.postdate,pt.lastpost,pt.lastposter,pt.hits,pt.replies,pf.name,pf.fid FROM pw_threads pt LEFT JOIN pw_forums pf USING(fid) where pt.ifcheck = '1' and pt.replies > 0 and ".$showforum." and pf.password = '' order by lastpost desc limit 0,$listnum");
$c_i=1;//初始化图片序号
while($threads=$db->fetch_array($query)){
$threads[postdate]=get_date($threads[postdate]);
$threads[lastpost]=get_date($threads[lastpost]);
$subject=substrs($threads[subject],$listlength);
$replythreads.="<img src='$imgpath/top/c_".$c_i.".gif' align='absmiddle' width='11' height='11'> <a href='thread.php?fid=$threads[fid]'>[$threads[name]]</a> <a href='read.php?tid=$threads[tid]' title='主题标题:$threads[subject]\n主题作者:$threads[author]\n发表时间:$threads[postdate]\n浏览次数:$threads[hits] 次\n最新回复:$threads[lastposter]\n回复时间:$threads[lastpost]\n回复次数:$threads[replies] 次'>$subject</a><br />";
$c_i++;
}
unset($threads);
unset($c_i);
//最新回复主题结束
搜索更多相关文章:插件 首页 代码 主题 标题
顶端 Posted: 2007-09-23 21:15 | [楼 主]
haiyong120
级别: 一星会员

 

不知道
BBS(一起破解)地址:www.17pj.com
顶端 Posted: 2007-12-31 09:24 | 1 楼
haiyong120
级别: 一星会员

 

进来看看
BBS(一起破解)地址:www.17pj.com
顶端 Posted: 2007-12-31 09:25 | 2 楼
herowasd
级别: 初来乍到

 

[    post]  如何隐藏帖子  [/post]
不知道!
顶端 Posted: 2008-03-07 11:11 | 3 楼
herowasd
级别: 初来乍到

 

[    post]  怎么可以回复可见 [/post]
?????
顶端 Posted: 2008-03-07 11:12 | 4 楼
帖子浏览记录 版块浏览记录
PHPWind Board » PW Forums[论坛系统] 插件开发

Total 0.050070(s) query 5, Time now is:07-09 22:03, Gzip enabled 浙ICP备06001596号
Powered by PHPWind v6.3 Certificate Code © 2003-07 PHPWind.com Corporation