1、修改admin_postings.asp 1.1查找 Dim CanRewardMoney,GiveMoney Dim ReAct,UpIsagree,UpGetMoney,TempString GiveMoney = Request.FORM(\"GiveMoney\") 替换为 Dim CanRewardMoney,GiveMoney,DoWealth,DoUserEP,DoUserCP,title Dim ReAct,UpIsagree,UpGetMoney,TempString GiveMoney = Request.FORM(\"GiveMoney\") DoWealth = Request.FORM(\"DoWealth\") DoUserEP = Request.FORM(\"DoUserEP\") DoUserCP = Request.FORM(\"DoUserCP\") title = Request.FORM(\"title\") If title = \"\" Then title=Request.FORM(\"content\")
1.2查找 GiveMoney = Abs(GiveMoney) 屏蔽掉
1.3查找 If TempString=\"\" or Instr(TempString&\"\",\"|\")=0 Then If ReAct = 1 Then UpIsagree = GiveMoney&\"|0\" Else UpIsagree = \"0|\"&GiveMoney End If Else TempString = Split(TempString,\"|\") If ReAct = 1 Then TempString(0) = TempString(0) + GiveMoney Else TempString(1) = TempString(1) + GiveMoney End If UpIsagree = TempString(0) &\"|\"& TempString(1) End If 替换为 If TempString=\"\" or Instr(TempString&\"\",\"|\")=0 Then UpIsagree = DoWealth&\"|\"&DoUserEP&\"|\"&DoUserCP&\"|\"&GiveMoney&\"|\"&title&\"|\"&dvbbs.membername Else TempString = Split(TempString,\"|\") TempString(0) = TempString(0) + DoWealth TempString(1) = TempString(1) + DoUserEP If Ubound(TempString)>1 Then TempString(2) = TempString(2) + DoUserCP TempString(3) = TempString(3) + GiveMoney UpIsagree = TempString(0) &\"|\"& TempString(1) &\"|\"& TempString(2) &\"|\"& TempString(3) &\"|\"& title &\"|\"& dvbbs.membername Else UpIsagree = TempString(0) &\"|\"& TempString(1) &\"|\"& DoUserCP &\"|\"& GiveMoney &\"|\"& title &\"|\"& dvbbs.membername End If End If
2、修改dispbbs.asp 2.1查找 Dim namestyle,nameglow(7),postbuyinfo,SQL,Rs,i,XMLDom,PageCount,postarray,Node,postuseridlist,postuserlist,UserGroupID,postbody,Topic,cmd,postbuyusers,UserIM 替换为(加上一个参数) Dim namestyle,nameglow(7),postbuyinfo,SQL,Rs,i,XMLDom,PageCount,postarray,Node,postuseridlist,postuserlist,UserGroupID,postbody,Topic,cmd,postbuyusers,UserIM,Isagree
2.2查找 Ubblists=Node.selectSingleNode(\"@ubblist\").text 前面添加 Isagree=Node.selectSingleNode(\"@isagree\").text If Isagree <> \"\" Then Isagree=Split(Isagree,\"|\") If UBound(Isagree) > 4 Then Node.attributes.setNamedItem(XMLDom.createNode(2,\"addwealth\",\"\")).text=Isagree(0) Node.attributes.setNamedItem(XMLDom.createNode(2,\"addep\",\"\")).text=Isagree(1) Node.attributes.setNamedItem(XMLDom.createNode(2,\"addcp\",\"\")).text=Isagree(2) Node.attributes.setNamedItem(XMLDom.createNode(2,\"addmoney\",\"\")).text=Isagree(3) Node.attributes.setNamedItem(XMLDom.createNode(2,\"addtitle\",\"\")).text=Isagree(4) Node.attributes.setNamedItem(XMLDom.createNode(2,\"adduser\",\"\")).text=Isagree(5) End If End If
3、修改模板page_dipbbs_html(0) 3.1查找
<img src=\"/post/setting/@picurl\" />agree.gif\" border=\"0\" alt=\"好评,获得个金币奖励\" / > <img src=\"/post/setting/@picurl\" />DisAgree.gif\" border=\"0\" alt=\"差评,扣除个金币\"/>
替换为
金钱<font color=\"#FF0000\"></font> 经验<font color=\"#FF0000\"></font> 魅力<font color=\"#FF0000\"></font> 金币<font color=\"#FF0000\"></font> by:<font color=\"#00FF00\"></font> 操作理由:<font color=\"#00FF00\"></font>
|