婷婷综合国产,91蜜桃婷婷狠狠久久综合9色 ,九九九九九精品,国产综合av

主頁 > 網(wǎng)站建設 > 建站知識 > DEDECMS網(wǎng)站ajax評論蓋樓添加樓層號

DEDECMS網(wǎng)站ajax評論蓋樓添加樓層號

POST TIME:2017-12-13 22:52

打開: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('<', '&lt;', $fields['msg']);
$fields['msg'] = str_replace('>', '&gt;', $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; ?> 樓



收縮
  • 微信客服
  • 微信二維碼
  • 電話咨詢

  • 400-1100-266
主站蜘蛛池模板: 津南区| 遂宁市| 白银市| 孙吴县| 任丘市| 济宁市| 江孜县| 德化县| 西贡区| 司法| 鲁甸县| 武山县| 六盘水市| 卢龙县| 大洼县| 喜德县| 东丽区| 图们市| 塔河县| 电白县| 塘沽区| 麦盖提县| 叶城县| 乌兰察布市| 阿克陶县| 平江县| 宁陵县| 宝坻区| 东兰县| 灵宝市| 小金县| 栾川县| 延寿县| 安徽省| 东乡族自治县| 渝中区| 贵德县| 治县。| 抚松县| 泾阳县| 湖口县|