phần mềm hỗ trợ | đổi tone online | cảm âm sáo | bẩn bựa hội |
<!--parser:xtscript-->
get nick
if not $nick
assign $nick = call cookie::get $name=nick;$default=<xt:browser detail="1" />;force_current=1
else
call cookie::set $name=nick; $val=$nick; $expire=31556926;force_current=1
endif
print {{<div class="list1"><form action="" method="post">
<input type="hidden" name="input" value="1"/>Ten ban:<br/><input type="text" name="nick" value="$nick"/><br/>Noi dung:<br/><input type="text" name="msg" value=""><br/>
<input type="submit" value="Gui"/></form></div>}}
print <div name="MrHoang"><xt:widget id="chatt" type="default" custom_key="default" count="10" /></div>
print <script language="javascript">
print_raw var msg=document.getElementsByName("MrHoang"); ;
print_raw for(var i=0;i<msg.length;i++){
print_raw var oldtext=document.getElementsByName("MrHoang")[i].innerHTML; ;
print_raw var newtext=oldtext.replace(/(^|[ ])([\w]+?:\/\/[^ ,\" \r<]*)/ig, "$1$2"); ;
print_raw dai=newtext.length; ;
print_raw vt=dai-368; ;
print_raw msg=newtext.substring(0,vt); ;
print_raw msg=msg.replace(/<div><b>(.+?): <\/b>(.+?)<\/div>/ig, "<div class=\"hdr\"><img src=\"http://vonglinh.mobie.in/anh-forum/gach.gif\" width=\"16\" height=\"16\" align=\"middle\" alt=\"Đœ\"/><b> $1</b></div></div><div name=\"bbcode\"><div class=\"list2\"><p>$2<\/p></div>"); ;
print_raw document.getElementsByName("MrHoang")[i].innerHTML=msg; ;
print_raw } ;
print </script>
print <script language="javascript">
print_raw var msg=document.getElementsByName("bbcode"); ;
print_raw for(var i=0;i<msg.length;i++){
print_raw var oldtext=document.getElementsByName("bbcode")[i].innerHTML; ;
print_raw var newtext=oldtext.replace(/(^|[ ])([\w]+?:\/\/[^ ,\" \r<]*)/ig, "$1$2"); ;
print_raw newtext=newtext.replace(/\[b\](.+?)\[\/b\]/ig, "<b>$1</b>").replace(/\[i\](.+?)\[\/i\]/ig, "<i>$1</i>").replace(/\[u\](.+?)\[\/u\]/ig, "<u>$1</u>").replace(/\[s\](.+?)\[\/s\]/ig, "<strike>$1</strike>").replace(/\[m=(.+?)\](.+?)\]/ig, "<span style=\"color:$1\">$2</span>").replace(/\[c\](.+?)\[\/c\]/ig, "<div class=\"quote\">$1</div>").replace(/\[red\](.+?)\[\/red\]/ig, "<span style=\"color:red\">$1</span>").replace(/\[blue\](.+?)\[\/blue\]/ig, "<span style=\"color:blue\">$1</span>").replace(/\[green\](.+?)\[\/green\]/ig, "<span style=\"color:green\">$1</span>").replace(/\[color=(.+?)\](.+?)\[\/color\]/ig, "<span style=\"color:$1\">$2</span>").replace(/\[bg=(.+?)\](.+?)\[\/bg\]/ig, "<span style=\"background-color:$1\">$2</span>").replace(/\[quote=(.+?)\](.+?)\[\/quote\]/ig, "<div class=\"quote\">GÆ°̀‰i bÆ¡̀‰i <b>$1<\/b>: <br\/><p>$2<\/p><\/div> ").replace(/\[color=#(.+?)\](.+?)\[\/color\]/ig, "<span style=\"color:#$1\">$2<\/span>").replace(/\[code\](.+?)\[\/code\]/ig, "<div class=\"quote\">$1<\/div>").replace(/\[t\](.+?)\[\/t\]/ig, "<sup>$1<\/sup>").replace(/\[d\](.+?)\[\/d\]/ig, "<sub>$1<\/sub>").replace(/\[text\](.+?)\[\/text\]/ig, "<textarea>$1</textarea>").replace(/<p>http:\/\/(.+?)<\/p>/ig,"<b>VUI LÒ€NG Ă‚̀‰N LINK<\/b>").replace(/\http:\/\/(.+?)\[\/img\]/ig, "<img onerror=\"this.src='http:\/\/http://vonglinh.mobie.in\/anh-forum\/B76.png'\;\" src=\"http:\/\/$1\" alt=\"M\" \/>").replace(/\[url=http:\/\/www.banbuaboy.mobie.in\](.+?)\[\/url\]/ig,"<a href=\"http:\/\/www.banbuaboy.mobie.in\">$1<\/a>").replace(/\[url=http:\/\/banbuaboy.mobie.in\](.+?)\[\/url\]/ig,"<a href=\"http:\/\/banbuaboy.mobie.in\">$1<\/a>").replace(/\[url=(.+?)banbuaboy.mobie.in(.+?)\](.+?)\[\/url\]/ig,"<a href=\"$1banbuaboy.mobie.in$2\">$3<\/a>").replace(/\[url=http:\/\/(.+?)\](.+?)\[\/url\]/ig,"<a href=\"http:\/\/banbuaboy.mobie.in?url=http:\/\/$1\">$2<\/a>").replace(/\[br\]/ig, "<br\/>").replace(/<p>(.+?) http:\/\/(.+?)<\/p>/ig," <b>VUI LÒ€NG Ă‚̀‰N LINK<\/b>").replace(/<p>:(.+?):<\/p>/ig, " :$1: ").replace(/ :(.+?): /ig, " <img onerror=\"this.src='http:\/\/http://vonglinh.mobie.in/anh-forum/dkm.gif'\;\" src=\"http:\/\/www.gameongame.wap.sh/smile/hot/$1.gif\" alt=\"\" \/> ").replace(/ :(.+?):/ig, " <img onerror=\"this.src='http:\/\/http://vonglinh.mobie.in/anh-forum/dkm.gif'\;\" src=\"http:\/\/www.gameongame.wap.sh/smile/hot/$1.gif\" alt=\"\" \/> ").replace(/:(.+?): /ig, "<img onerror=\"this.src='http:\/\/www.vonglinh.mobie.in/anh-forum/dkm.gif'\;\" src=\"http:\/\/www.vonglinh.mobie.in/anh-forum/alo.gif\" alt=\"\" \/> "); ;
print_raw document.getElementsByName("bbcode")[i].innerHTML=newtext; ;
print_raw } ;
print </script>
<!--/parser:xtscript-->