为什么我的不行???我改过的代码如下: //添加楼层显示 $shownum=$empire->gettotal("select count(*) as total from {$dbtbpre}enewspl where id='$id' and classid='$classid' and checked=0"); $no=$no+1; $list=$shownum-$no+1; $saytext=RepPltextFace($saytext);//替换表情 $t.="<tr bgcolor='$tdcolor'><td height='$tdheight' width='20%' align=center>$r[username]</td><td width='62%' style='cursor:crosshair'><div>".$saytext."</div></td><td>第 $list 楼</td><td width='18%' align=center>$saytime </td></tr>"; }
|