打开:plus/feedback_ajax.php
找到第263 -292行:修改为
$i = '0';
while($fields = $dsql->GetArray('fb'))
{
$i++;
if($fields['userid']!='') $spaceurl = $GLOBALS['cfg_memberurl'].'/index.php?uid='.$fields['userid'];
else $spaceurl = '#';
if($fields['username']=='匿名') $spaceurl = '#';
$fields['bgimg'] = 'cmt-neu.gif';
$fields['ftypetitle'] = '该用户表示中立';
if($fields['ftype']=='bad')
{
$fields['bgimg'] = 'cmt-bad.gif';
$fields['ftypetitle'] = '该用户表示差评';
}
else if($fields['ftype']=='good')
{
$fields['bgimg'] = 'cmt-good.gif';
$fields['ftypetitle'] = '该用户表示好评';
}
if(empty($fields['mface']))
{
if($fields['sex']=="女") $fields['mface']=$cfg_cmspath."/member/templets/images/dfgirl.png";
else $fields['mface']=$cfg_cmspath."/member/templets/images/dfboy.png";
}
$fields['face'] = empty($fields['face']) ? 6 : $fields['face'];
$fields['msg'] = str_replace('<', '<', $fields['msg']);
$fields['msg'] = str_replace('>', '>', $fields['msg']);
$fields['msg'] = Quote_replace($fields['msg']);
extract($fields, EXTR_OVERWRITE);
?>
楼层位置处:
#<?php
$nowlouceng = '';
if($page==1){
$nowlouceng = $totalcount -$i +1;
}else{
$nowlouceng = $totalcount - $i -$pagesize*($page-1) +1;
}; echo $nowlouceng; ?> 楼