谁能把动网的ubb代码提取出来并利用到自己的主页里阿?
ubb我以提取出来但是不会调用谁会阿?说一下好吗?还有以前面包的ubb代码我可以用先在不只怎么不能用了,说什么类型不匹配。
<%
function UBBCode(strContent)
if strAllowHTML <> 1 then
strContent = HTMLEncode(strContent)
else
strContent = HTMLcode(strContent)
end if
dim re
Set re=new RegExp
re.IgnoreCase =true
re.Global=True
re.Pattern="(script)"
strContent=re.Replace(strContent,"s cript")
if strIMGInPosts = "1" then
re.Pattern="(\[IMG\])(.[^\[]*)(\[\/IMG\])"
strContent=re.Replace(strContent,"
![按此在新窗口浏览图片]()
screen.width-333)this.width=screen.width-333"">")
end if
re.Pattern="\[DIR=*([0-9]*),*([0-9]*)\](.[^\[]*)\[\/DIR]"
strContent=re.Replace(strContent,"
")
re.Pattern="\[QT=*([0-9]*),*([0-9]*)\](.[^\[]*)\[\/QT]"
strContent=re.Replace(strContent,"