Don't works...any idea?
PHP Code:
$youtubetag = ($noshoutbox ? '<object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/' . ('' . '$1') . '"></param><embed src="http://www.youtube.com/v/' . ('' . '$1') . '" type="application/x-shockwave-flash" width="425" height="350"></embed></object>' : '' . 'http://www.youtube.com/v/$1');
$swf = ($noshoutbox ? '<object type="application/x-shockwave-flash" data="' . ('' . '$1') . '" width="400" height="300"> <param name="showfullscreen" value="1&autostart=false&advertise=1" /><param name="movie" value="' . ('' . '$1') . '" /><param name="showfullscreen" value="1" /><param name="allowscriptaccess" value="always" /></object>' : '' . 'http://$1');
$simple_replace = array ('<b>\\1</b>', '<marquee style="font-family:Book Antiqua; color: #FFFFFF" bgcolor="#000080" scrollamount="5" loop="infinite">\\1</marquee>', '<blink>\\1</blink>', '<i>\\1</i>', '<h3>\\1</h3>', '<u>\\1</u>', $imgtag, $imgtag, '<font color="\\1">\\2</font>', '<font color="\\1">\\2</font>', '' . '<a href="\\1" target="' . $target . '">\\2</a>', '' . '<a href="\\1" target="' . $target . '">\\1</a>', '<font face="\\1">\\2</font>', '<pre>' . '\\1' . '</pre>', '<tt><span style="white-space: nowrap;"><font face="MS Linedraw" size="2" style="font-size: 10pt; line-height: 10pt">\\1</font></span></tt>', '' . '<span style="font-size: $1;">$2</span>', '' . '<p style="text-align: $1;">$2</p>', '' . 'parse_email(\'$1\')', '' . 'parse_email(\'$1\', \'$2\')', $youtubetag, $swf, $imgtag2);
$s = preg_replace ($simple_search, $simple_replace, $s);
if (!defined ('TS_CUSTOM_BBCODE'))
{
define ('TS_CUSTOM_BBCODE', true);
}