vào Board Wrappers---- chèn đoạn code vào phần footer
Code:
<script>
<!--
/* Music, Video & Flash Tags By [
http://z13.invisionfree.com/tuoitredng/]
Based on BBC Tags v1.3 Beta by Mr.HaKhiem
*/
var Tags = new Array();
Tags[0] = new Array(
/\[flash\](.*)\[\/flash\]/,
/\[video\](.*)\[\/video\]/,
/\[music\](.*)\[\/music\]/);
Tags[1] = new Array('<table border="2" width="424" cellspacing="10" cellpadding="0"><tr><td><embed height=370 src="$1" width=424 quality="high" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></embed></td></tr></table>','<center><embed height=380 src="$1" width=424 autostart="true"></center>','<table align="center" background="http://www.winamp.com/support/help/50/main_skin_screenshot1.gif"><tr><td><br><br><br><br><br><br><br><br><br><br><br><embed height=25 src="$1" width=350 autostart="true" showstatusbar="true" loop="true" hidden="false"></td></tr></table>');
if (location.href.match('showtopic=') || location.href.match('act=Msg')|| location.href.match('act=Post')|| location.href.match('act=ST')|| location.href.match('index.php?')) {
TDS = document.getElementsByTagName('TD');
for(i=0;i<TDS.length;i++){
if (TDS
.className == "post1" || TDS.className == "post2" || TDS.className == "row1") {
for (p = 0; p < Tags[1].length; p++) {
TDS.innerHTML = TDS.innerHTML.replace(Tags[0][p], Tags[1][p]);
}
}
}
}
//-->
</script>