DEDECMS网站ajax评论盖楼添加楼层号,织梦技术
导读:织梦技术织梦技术打开:plus/feedback_ajax.php 找到第263 -292行:修改为 $i = '0'; while($fields = $dsql-GetArdede模板免费dede模板安装。
打开:plus/feedback_ajax.php
找到第263 -292行:修改为
$i = '0'; while($fields = $dsql->GetArray('fb')) { $i++; dede,模板 if($fields['userid']!='') $spaceurl = $GLOBALS['cfg_memberurl'].'/index.php?uid='.$fields['userid']; else $spaceurl = '#'; if($fields['username']=='匿名') $spaceurl = '#'; $fields['bgimg'] = 'cmt-neu.gif'; dede下瓻模板下载 $fields['ftypetitle'] = '该用户表示中立'; if($fields['ftype']=='bad') { $fields['bgimg'] = 'cmt-bad.gif'; $fields['ftypetitle'] = '该用户表示差评'; } &织梦模板修改nbsp; 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; ?> 楼
相关dede模板免费dede模板安装。
声明: 本文由我的SEOUC技术文章主页发布于:2023-07-22 ,文章DEDECMS网站ajax评论盖楼添加楼层号,织梦技术主要讲述楼层,标签,CMS网站建设源码以及服务器配置搭建相关技术文章。转载请保留链接: https://www.seouc.com/article/web_34696.html