|
落伍引用回复风格修改方法:
char.asp第232行改为:strContent=objRegExp.Replace(strContent,"<BLOCKQUOTE><table border='0' width='90%' cellspacing='0' cellpadding='0'><tr><td style='font: 12px Tahoma;'> <b>QUOTE:</b></td></tr></table><table border='0' width='90%' cellspacing='1' cellpadding='10' style='border: 1px solid #eeeeee'><tr><td width='100%' style='background: #F1F1F1;word-break:break-all'>$2</td></tr></table></BLOCKQUOTE>")
RePost.asp第44行改为:sql="select Top 1 ID,text,PostUser,PostTime from LxTel_ReTopic where ID="&ID&" "
RePost.asp第51行改为: retext=replace(replace(rs("text"),"<","<"),">",">") if instr(retext,"QUOTE")>0 then retext=mid(retext,instr(retext,"[/QUOTE]")+8,len(retext)-instr(retext,"[/QUOTE]")) end if text="[MMMQUOTE]原帖由 <em>"&rs("PostUser")&"</em> 于 "&rs("PostTime")&" 发表<br>"&retext&"[/QUOTE]"
OK了,论坛不能发代码,应该加个发表代码模块,把RePost.asp51行里的MMM去掉,再引用回复试试看
|