📄 jk_ubb.asp
字号:
<%
Function code_jk(strers)
dim strer:strer=strers
if strer="" or isnull(strer) then code_jk="":exit function
strer=health_var(strer,1)
strer=replace(strer,"<","<")
strer=replace(strer,">",">")
strer=replace(strer," "," ") '空格
strer=replace(strer,CHR(9)," ") 'table
strer=replace(strer,"'","'") '单引号
strer=replace(strer,"""",""") '双引号
'code_jk=strer:exit function
dim re,re_v
re_v="[^\(\)\;\'\[]*"
're_v=".[^\[]*"
Set re=new RegExp
re.IgnoreCase =True
re.Global=True
'-------------------------
'新动作
dim AlertFontColor,AlertFontColor1,u_username
AlertFontColor="#ff0000"
AlertFontColor1="blue"
re.Pattern="(\/恶心)"
strer=re.Replace(strer,"<br><font color="&AlertFontColor1&"><b>"&u_username &"</font><font color="&AlertFontColor&">觉得一阵恶心,哇啦哇啦地吐了一地……</b></font><img src=dongz/043.gif border=0 align=middle>")
re.Pattern="(\/高兴)"
strer=re.Replace(strer,"<br><font color="&AlertFontColor1&">"&u_username &"</font><font color="&AlertFontColor&">高兴地跳了起来。</b></font><img src=dongz/046.gif border=0 align=middle>")
re.Pattern="(\/招呼)"
strer=re.Replace(strer,"<br><font color="&AlertFontColor1&"><b>"&u_username &"</font><font color="&AlertFontColor&">逢人就打招呼:大家好,今天是我大喜的日子!请吃糖! 请吃糖!</b></font><img src=dongz/05.gif border=0 align=middle>")
re.Pattern="(\/欢迎)"
strer=re.Replace(strer,"<br><font color="&AlertFontColor1&"><b>"&u_username &"</font><font color="&AlertFontColor&">:高兴的叫道:欢迎、欢迎、热烈欢迎~~</b></font><img src=dongz/085.gif border=0 align=middle>")
re.Pattern="(\/灌水)"
strer=re.Replace(strer,"<br><font color="&AlertFontColor1&"><b>"&u_username &"</font><font color="&AlertFontColor&">嚷道:“新来的,别乱欺负哦,灌水先”</b></font><img src=dongz/034.gif border=0 align=middle>")
re.Pattern="(\/无聊)"
strer=re.Replace(strer,"<br><font color="&AlertFontColor1&"><b>"&u_username &"</font><font color="&AlertFontColor&">拿出一张钞票:“好无聊啊,谁要陪我灌水?” </b></font><img src=dongz/01.gif border=0 align=middle>")
re.Pattern="(\/负责)"
strer=re.Replace(strer,"<br><font color="&AlertFontColor1&"><b>"&u_username &"</font><font color="&AlertFontColor&">哭着说:“都这样了,555,你可要对我负责呀!”呜~~</b></font><img src=dongz/02.gif border=0 align=middle>")
re.Pattern="(\/生气)"
strer=re.Replace(strer,"<br><font color="&AlertFontColor1&"><b>"&u_username &"</font><font color="&AlertFontColor&">撅了撅嘴说:“气死我了呀!呀!呀!”</b></font><img src=dongz/03.gif border=0 align=middle>")
re.Pattern="(\/鼓掌)"
strer=re.Replace(strer,"<br><font color="&AlertFontColor1&"><b>"&u_username &"</font><font color="&AlertFontColor&">鼓掌喝采“好YE!好YE!”</b></font><img src=dongz/06.gif border=0 align=middle>")
re.Pattern="(\/等待)"
strer=re.Replace(strer,"<br><font color="&AlertFontColor1&"><b>"&u_username &"</font><font color="&AlertFontColor&">悲伤的唱到:“你知不知道,你知不知道?我等到花儿也谢了...” </b></font><img src=dongz/07.gif border=0 align=middle>")
re.Pattern="(\/反对)"
strer=re.Replace(strer,"<br><font color="&AlertFontColor1&"><b>"&u_username &"</font><font color="&AlertFontColor&"><img src=dongz/08.gif border=0 align=middle>不行!我坚决反对!</b></font>")
re.Pattern="(\/浪漫)"
strer=re.Replace(strer,"<br><font color="&AlertFontColor1&"><b>"&u_username &"</font><font color="&AlertFontColor&">像罗密欧与朱丽叶式的吹起曲子来“我悄悄地蒙上你的眼睛,让你猜猜我是谁?” </b></font><img src=dongz/019.gif border=0 align=middle>")
re.Pattern="(\/不要)"
strer=re.Replace(strer,"<br><font color="&AlertFontColor1&"><b>"&u_username &"</font><font color="&AlertFontColor&">摆了摆手,说:“不要呀!” </b></font><img src=dongz/010.gif border=0 align=middle>")
re.Pattern="(\/找死)"
strer=re.Replace(strer,"<br><font color="&AlertFontColor1&"><b>"&u_username &"</font><font color="&AlertFontColor&">说:跟我斗,你还嫩着哩;刚练成的无筋腿,拿你试试先!</b></font><img src=dongz/023.gif border=0 align=middle>")
re.Pattern="(\/去死)"
strer=re.Replace(strer,"<br><font color="&AlertFontColor1&"><b>"&u_username &"</font><font color="&AlertFontColor&">说:嘿嘿,你去死吧!</b></font><img src=dongz/011.gif border=0 align=middle>")
re.Pattern="(\/狂笑)"
strer=re.Replace(strer,"<br><font color="&AlertFontColor1&"><b>"&u_username &"</font><font color="&AlertFontColor&">仰天狂笑<img src=dongz/012.gif border=0 align=middle>“普天之下,竟然没有我的对手...”</b></font>")
re.Pattern="(\/傻笑)"
strer=re.Replace(strer,"<br><font color="&AlertFontColor&"><b>西西、禾禾~~ </font><font color="&AlertFontColor1&">"&u_username &"</font><font color="&AlertFontColor&">突然笑了起来.. </b></font><img src=dongz/031.gif border=0 align=middle>")
re.Pattern="(\/痛哭)"
strer=re.Replace(strer,"<br><font color="&AlertFontColor1&"><b>"&u_username &"</font><font color="&AlertFontColor&">鼻子一酸,开始叭嗒叭嗒掉眼泪了…… </b></font><img src=dongz/013.gif border=0 align=middle>")
re.Pattern="(\/道别)"
strer=re.Replace(strer,"<br><font color="&AlertFontColor1&"><b>"&u_username &"</font><font color="&AlertFontColor&">向在场的所有人道:“小生先行告退,后会有期。” </b></font><img src=dongz/015.gif border=0 align=middle>")
re.Pattern="(\/跳舞)"
strer=re.Replace(strer,"<br><font color="&AlertFontColor1&"><b>"&u_username &"</font><font color="&AlertFontColor&">乐地手足蹈舞!</b></font><img src=dongz/017.gif border=0 align=middle>")
re.Pattern="(\/失望)"
strer=re.Replace(strer,"<br><font color="&AlertFontColor1&"><b>"&u_username &"</font><font color="&AlertFontColor&">低下头,神情失望极了。</b></font><img src=dongz/018.gif border=0 align=middle>")
re.Pattern="(\/唱歌)"
strer=re.Replace(strer,"<br><font color="&AlertFontColor1&"><b>"&u_username &"</font><font color="&AlertFontColor&">清清嗓子唱起歌来:东方红,太阳升…… </b></font><img src=dongz/09.gif border=0 align=middle>")
re.Pattern="(\/害羞)"
strer=re.Replace(strer,"<br><font color="&AlertFontColor1&"><b>"&u_username &"</font><font color="&AlertFontColor&">害羞地脸都红了,恨没有地洞,好钻进去躲起来~~ </b></font><img src=dongz/020.gif border=0 align=middle>")
re.Pattern="(\/比酷)"
strer=re.Replace(strer,"<br><font color="&AlertFontColor1&"><b>"&u_username &"</font><font color="&AlertFontColor&">:摆了个POSE道:“你、你、你没我酷..” </b></font><img src=dongz/021.gif border=0 align=middle>")
re.Pattern="(\/救命)"
strer=re.Replace(strer,"<br><font color="&AlertFontColor1&"><b>"&u_username &"</font><font color="&AlertFontColor&">大叫:狼来了!狼来了!救命啊!救命啊!</b></font><img src=dongz/022.gif border=0 align=middle>")
re.Pattern="(\/狂妄)"
strer=re.Replace(strer,"<br><font color="&AlertFontColor1&"><b>"&u_username &"</font><font color="&AlertFontColor&">:剑眉一轩,冷冷的瞥了一眼,背转身淡淡说道:你,不是我的,对手!</b></font><img src=dongz/025.gif border=0 align=middle>")
re.Pattern="(\/拳击)"
strer=re.Replace(strer,"<br><font color="&AlertFontColor1&"><b>"&u_username &"</font><font color="&AlertFontColor&">:叫道:这会人兄身材好有型哦!给我练拳不?</b></font><img src=dongz/026.gif border=0 align=middle>")
re.Pattern="(\/我踢)"
strer=re.Replace(strer,"<br><font color="&AlertFontColor1&"><b>"&u_username &"</font><font color="&AlertFontColor&">说:我踢、我踢、我踢死你 </b></font><img src=dongz/029.gif border=0 align=middle>")
re.Pattern="(\/我踩)"
strer=re.Replace(strer,"<br><font color="&AlertFontColor1&"><b>"&u_username &"</font><font color="&AlertFontColor&">大叫:我踩、我踩、踩死楼上的,踩扁楼下的!</b></font><img src=dongz/027.gif border=0 align=middle>")
re.Pattern="(\/饶命)"
strer=re.Replace(strer,"<br><font color="&AlertFontColor1&"><b>"&u_username &"</font><font color="&AlertFontColor&">大喊:老婆!你就饶了我吧!</b></font><img src=dongz/028.gif border=0 align=middle>")
re.Pattern="(\/眨眼)"
strer=re.Replace(strer,"<br><font color="&AlertFontColor1&"><b>"&u_username &"</font><font color="&AlertFontColor&">天真地眨了眨眼睛!一对会说话的眼睛闪闪动人^)^ </b></font><img src=dongz/032.gif border=0 align=middle>")
re.Pattern="(\/臭美)"
strer=re.Replace(strer,"<br><font color="&AlertFontColor1&"><b>"&u_username &"</font><font color="&AlertFontColor&">嚷道:“你当你是谁呀,你以为你是张学友呀?” </b></font><img src=dongz/033.gif border=0 align=middle>")
re.Pattern="(\/变态)"
strer=re.Replace(strer,"<br><font color="&AlertFontColor1&"><b>"&u_username &"</font><font color="&AlertFontColor&">对偻上的说:“你真的好变态哦”</b></font><img src=dongz/037.gif border=0 align=middle>")
re.Pattern="(\/拼酒)"
strer=re.Replace(strer,"<br><font color="&AlertFontColor1&"><b>"&u_username &"</font><font color="&AlertFontColor&">说:“什么时候咋俩拼拼酒啊。” </b></font><img src=dongz/038.gif border=0 align=middle>")
re.Pattern="(\/深情)"
strer=re.Replace(strer,"<br><font color="&AlertFontColor1&"><b>"&u_username &"</font><font color="&AlertFontColor&">深情地唱道:我早已为你种下,九百九十九朵玫瑰.. </b></font><img src=dongz/042.gif border=0 align=middle>")
re.Pattern="(\/惊讶)"
strer=re.Replace(strer,"<br><font color="&AlertFontColor1&"><b>"&u_username &"</font><font color="&AlertFontColor&">惊讶得两眼瞪得贼大!</b></font><img src=dongz/044.gif border=0 align=middle>")
re.Pattern="(\/抽烟)"
strer=re.Replace(strer,"<br><font color="&AlertFontColor1&"><b>"&u_username &"</font><font color="&AlertFontColor&">从烟缸中拣出个烟屁股,用两根手指夹着点着了,眯起眼睛狂嘬几口。</b></font><img src=dongz/045.gif border=0 align=middle>")
re.Pattern="(\/怀疑)"
strer=re.Replace(strer,"<br><font color="&AlertFontColor1&"><b>"&u_username &"</font><font color="&AlertFontColor&">抓了抓头皮,问道:“有这回事吗?” </b></font><img src=dongz/047.gif border=0 align=middle>")
re.Pattern="(\/拉勾)"
strer=re.Replace(strer,"<br><font color="&AlertFontColor1&"><b>"&u_username &"</font><font color="&AlertFontColor&">对楼上的说:我们<img src=dongz/050.gif border=0 align=middle>就不许反悔了。</b></font>")
re.Pattern="(\/经典)"
strer=re.Replace(strer,"<br><font color="&AlertFontColor1&"><b>"&u_username &"</font><font color="&AlertFontColor&">呢喃道:“好久没见过这么经典的东东了。”</b></font><img src=dongz/051.gif border=0 align=middle>")
re.Pattern="(\/同意)"
strer=re.Replace(strer,"<br><font color="&AlertFontColor1&"><b>"&u_username &"</font><font color="&AlertFontColor&">说:“你们都对,行了吧! ̄”</b></font><img src=dongz/052.gif border=0 align=middle>")
re.Pattern="(\/OK)"
strer=re.Replace(strer,"<br><font color="&AlertFontColor1&"><b>"&u_username &"</font><font color="&AlertFontColor&">怪腔怪调地说:“OK啦!~”</b></font><img src=dongz/084.gif border=0 align=middle>")
re.Pattern="(\/kiss)"
strer=re.Replace(strer,"<br><font color="&AlertFontColor1&"><b>"&u_username &"</font><font color="&AlertFontColor&"><img src=dongz/053.gif border=0 align=middle>小孩子不要偷看!</b></font>")
re.Pattern="(\/生日)"
strer=re.Replace(strer,"<br><font color="&AlertFontColor1&"><b>"&u_username &"</font><font color="&AlertFontColor&">猪你生日快乐!</b></font><img src=dongz/055.gif border=0 align=middle>")
re.Pattern="(\/晕倒)"
strer=re.Replace(strer,"<br><font color="&AlertFontColor1&"><b>"&u_username &"</font><font color="&AlertFontColor&">突然觉得天昏地暗,一声“我要晕了”后就倒下了!</b></font><img src=dongz/056.gif border=0 align=middle>")
re.Pattern="(\/气你)"
strer=re.Replace(strer,"<br><font color="&AlertFontColor1&"><b>"&u_username &"</font><font color="&AlertFontColor&">对楼上的说:“哈哈,我气死你。”</b></font><img src=dongz/058.gif border=0 align=middle>")
re.Pattern="(\/错啦)"
strer=re.Replace(strer,"<br><font color="&AlertFontColor1&"><b>"&u_username &"</font><font color="&AlertFontColor&">说:“又搞错啦!”</b></font><img src=dongz/059.gif border=0 align=middle>")
re.Pattern="(\/加油)"
strer=re.Replace(strer,"<br><font color="&AlertFontColor1&"><b>"&u_username &"</font><font color="&AlertFontColor&">内心在默默地喊着加油。</b></font><img src=dongz/060.gif border=0 align=middle>")
re.Pattern="(\/恭喜)"
strer=re.Replace(strer,"<br><font color="&AlertFontColor1&"><b>"&u_username &"</font><font color="&AlertFontColor&">恭喜、贺喜<img src=dongz/061.gif border=0 align=middle>什么时候请吃酒啊?</b></font>")
re.Pattern="(\/简单)"
strer=re.Replace(strer,"<br><font color="&AlertFontColor1&"><b>"&u_username &"</font><font color="&AlertFontColor&"><img src=dongz/063.gif border=0 align=middle>抓了抓脑袋道:喔,原来这么简单呀?!</b></font>")
re.Pattern="(\/加油)"
strer=re.Replace(strer,"<br><font color="&AlertFontColor1&"><b>"&u_username &"</font><font color="&AlertFontColor&">内心在默默地喊着加油。</b></font><img src=dongz/063.gif border=0 align=middle>")
re.Pattern="(\/鼓励)"
strer=re.Replace(strer,"<br><font color="&AlertFontColor1&"><b>"&u_username &"</font><font color="&AlertFontColor&">挥着手说道:同志们辛苦了!</b></font><img src=dongz/064.gif border=0 align=middle>")
re.Pattern="(\/过奖)"
strer=re.Replace(strer,"<br><font color="&AlertFontColor1&"><b>"&u_username &"</font><font color="&AlertFontColor&">拱了拱手道:<img src=dongz/065.gif border=0 align=middle>过奖,过奖!</b></font>")
re.Pattern="(\/原谅)"
strer=re.Replace(strer,"<br><font color="&AlertFontColor1&"><b>"&login_username &"</font><font color="&AlertFontColor&">连哭带喊跪在地上<img src=dongz/066.gif border=0 align=middle>叫道:你们大家再原谅我一次吧!</b></font>")
re.Pattern="(\/大笑)"
strer=re.Replace(strer,"<br><font color="&AlertFontColor1&"><b>"&u_username &"</font><font color="&AlertFontColor&">开怀大笑。</b></font><img src=dongz/067.gif border=0 align=middle>")
re.Pattern="(\/感动)"
strer=re.Replace(strer,"<br><font color="&AlertFontColor1&"><b>"&u_username &"</font><font color="&AlertFontColor&">感动极了,一行热泪夺眶而出。</b></font><img src=dongz/069.gif border=0 align=middle>")
re.Pattern="(\/叹气)"
strer=re.Replace(strer,"<br><font color="&AlertFontColor1&"><b>"&u_username &"</font><font color="&AlertFontColor&">长叹了一口气那神情仿佛是在说:“我都是要进棺材的人了,还在乎些什么??!”</b></font>")
re.Pattern="(\/道谢)"
strer=re.Replace(strer,"<br><font color="&AlertFontColor1&"><b>"&u_username &"</font><font color="&AlertFontColor&">对在场的所有人鞠躬道谢!</b></font><img src=dongz/075.gif border=0 align=middle>")
re.Pattern="(\/摇头)"
strer=re.Replace(strer,"<br><font color="&AlertFontColor1&"><b>"&u_username &"</font><font color="&AlertFontColor&">拼命地摇摇头, 一副很无辜的样子。</b></font><img src=dongz/077.gif border=0 align=middle>")
re.Pattern="(\/点头)"
strer=re.Replace(strer,"<br><font color="&AlertFontColor1&"><b>"&u_username &"</font><font color="&AlertFontColor&">同意地点了点头。</b></font><img src=dongz/078.gif border=0 align=middle>")
re.Pattern="(\/拥抱)"
strer=re.Replace(strer,"<br><font color="&AlertFontColor1&"><b>"&u_username &"</font><font color="&AlertFontColor&">张开双臂来吧,小宝贝儿!让叔叔抱!</b></font><img src=dongz/080.gif border=0 align=middle>")
'================================
re.Pattern="(javascript:)"
strer=re.Replace(strer,"javascript:")
re.Pattern="(javascript)"
strer=re.Replace(strer,"javascript")
re.Pattern="(jscript:)"
strer=re.Replace(strer,"jscript:")
re.Pattern="(js:)"
strer=re.Replace(strer,"js:")
re.Pattern="(value)"
strer=re.Replace(strer,"value")
re.Pattern="(about:)"
strer=re.Replace(strer,"about:")
re.Pattern="(file:)"
strer=re.Replace(strer,"file&:")
re.Pattern="(document.cookie)"
strer=re.Replace(strer,"documents.cookie")
re.Pattern="(document.)"
strer=re.Replace(strer,"document.")
re.Pattern="(vbscript:)"
strer=re.Replace(strer,"vbscript:")
re.Pattern="(vbs:)"
strer=re.Replace(strer,"vbs :")
re.Pattern="(on(mouse|exit|error|click|key))"
strer=re.Replace(strer,"on$2")
re.Pattern="\[IMGS\](.[^\[]*(gif|jpg|jpeg|bmp|png))\[\/IMGS\]"
're.Pattern="\[IMG\](http|https|ftp):\/\/(.[^\[]*)\[\/IMG\]"
strer=re.Replace(strer,"<a href=$1><IMG SRC='$1' align=center border=0 onload=""javascript:if(this.width>screen.width-max-width)this.width=screen.width-max-width""></a>")
re.Pattern="\[IMG\](.[^\[]*(gif|jpg|jpeg|bmp|png))\[\/IMG\]"
strer=re.Replace(strer,"<a href=$1><IMG SRC=$1 align=center border=0 onload=""javascript:if(this.width>screen.width-max-width)this.width=screen.width-max-width""></a>")
re.Pattern="\[DIR=*([0-9]*),*([0-9]*)\]("&re_v&")\[\/DIR]"
strer=re.Replace(strer,"<object classid=clsid:166B1BCA-3F9C-11CF-8075-444553540000 codebase=http://download.macromedia.com/pub/shockwave/cabs/director/sw.cab#version=7,0,2,0 width=$1 height=$2><param name=src value=$3><embed src=$3 pluginspage=http://www.macromedia.com/shockwave/download/ width=$1 height=$2></embed></object>")
re.Pattern="\[QT=*([0-9]*),*([0-9]*)\]("&re_v&")\[\/QT]"
strer=re.Replace(strer,"<embed src=$3 width=$1 height=$2 autoplay=true loop=false controller=true playeveryframe=false cache=false scale=TOFIT bgcolor=#ededed kioskmode=false targetcache=false pluginspage=http://www.apple.com/quicktime/>")
re.Pattern="\[MP=*([0-9]*),*([0-9]*)\]("&re_v&")\[\/MP]"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -