$bericht = str_replace ("[br]","n",$bericht);
$bericht = str_replace ("n","<br>",$bericht);
$bericht = str_replace ("","</font></td></tr></table></td></tr></table>", $bericht);
$bericht = str_replace ("[b]", "<b>", $bericht); // [b ] zonder spatie
$bericht = str_replace ("[i]", "<i>", $bericht); // [i ] zonder spatie
$bericht = str_replace ("[u]", "<u>", $bericht); // [u ] zonder spatie
$bericht = str_replace ("[s]", "<s>", $bericht);
$bericht = str_replace ("[/b]", "</b>", $bericht); // [/b ] zonder spatie
$bericht = str_replace ("[/i]", "</i>", $bericht); // [/i ] zonder spatie
$bericht = str_replace ("[/u]", "</u>", $bericht); // [/u ] zonder spatie
$bericht = str_replace ("[/s]", "</s>", $bericht);
$bericht = str_replace ("[move]", "<div align='center'><marquee width='90%'>", $bericht);
$bericht = str_replace ("[/move]", "</marquee></div>", $bericht);
$bericht = preg_replace ('#[color=(#[0-9A-F]{6}|[a-z-]+)](.*?)[/color]#si', '<font color="1">2</font>', $bericht)
$bericht = preg_replace ('/[font=(.*)](.*)[/font]'/, '/<font face="$1">$2</font>/', $bericht);
$bericht = preg_replace ('[size=(.*)](.*)[/size]', '<font size="$1">$2</font>', $bericht);
$bericht = preg_replace('[img](.*?)[/img]/si', '<img src="1" border="0">',$bericht);
$bericht = str_replace ("[tt]", "<tt>", $bericht);
$bericht = str_replace ("[/tt]", "</tt>", $bericht);
$bericht = str_replace ("[left]", "<div align=left>", $bericht);
$bericht = str_replace ("[/left]", "</div>", $bericht);
$bericht = str_replace ("[center]", "<div align="center">", $bericht);
$bericht = str_replace ("[/center]", "</div>", $bericht);
$bericht = str_replace ("[right]", "<div align="right">", $bericht);
$bericht = str_replace ("[/right]", "</div>", $bericht);
$bericht = str_replace ("[sub]", "<sub>", $bericht);
$bericht = str_replace ("[/sub]", "</sub>", $bericht);
$bericht = str_replace ("[sup]", "<sup>", $bericht);
$bericht = str_replace ("[/sup]", "</sup>", $bericht);
$bericht = str_replace ("[fixed]", "<font face="Courier New">", $bericht);
$bericht = str_replace ("[/fixed]", "</font>", $bericht);
$bericht = str_replace ("[[","{{",$bericht);
$bericht = str_replace ("]]","}}",$bericht);
$bericht = str_replace ("|","|",$bericht);
$bericht = str_replace ("[pre]","<pre>",$bericht);
$bericht = str_replace ("[/pre]","</pre>",$bericht);
$bericht = str_replace ("{{","[",$bericht);
$bericht = str_replace ("}}","]",$bericht);
$bericht = str_replace ("[hr]","<hr color="#FFFFFF" noshade />",$bericht);
$bericht = eregi_replace("[email=([^[]*)]([^[]*)[/email]", "<a href="mailto:1">2</a>",$bericht);
$bericht = eregi_replace("[url=([^[]*)]([^[]*)[/url]","<a href="1" target=_blank>2</a>",$bericht);
$bericht = preg_replace("/[url](.*?)[/url]/si", "<a href="1" target=_blank>1</a>",$bericht);
$bericht = preg_replace("/[email](.*?)[/email]/si", "<a href="mailto:1">1</a>",$bericht);
$bericht = preg_replace ("#[ftp]([a-z]+?://){1}([a-z0-9-.,?!%*_#:;~&$@/=+()]+)[/ftp]#", "<a href="ftp://12" target="_blank">2</a>", $bericht);
$bericht = preg_replace ("#[ftp]([a-z0-9-.,?!%*_#:;~&$@/=+()]+)[/ftp]#", "<a href="ftp://1" target="_blank">1</a>", $bericht);
$bericht = preg_replace ("#[ftp=([a-z]+?://){1}([a-z0-9-.,?!%*_#:;~&$@/=+()]+)](.*?)[/ftp]#", "<a href="ftp://12" target="_blank">2</a>", $bericht);
$bericht = preg_replace ("#[ftp=([a-z0-9-.,?!%*_#:;~&$@/=+()]+)](.*?)[/ftp]#", "<a href="ftp://1" target="_blank">2</a>", $bericht);
$bericht = str_replace(":)"," <img src="images/smilies/smile.gif" alt="Smilie" />",$bericht);
$bericht = str_replace("8["," <img src="images/smilies/huh.gif" alt="Smilie" />",$bericht);
$bericht = str_replace(":o"," <img src="images/smilies/ohmy.gif" alt="Smilie" />",$bericht);
$bericht = str_replace(";)"," <img src="images/smilies/wink.gif" alt="Smilie" />",$bericht);
$bericht = str_replace(":P"," <img src="images/smilies/tongue.gif" alt="Smilie" />",$bericht);
$bericht = str_replace(":p"," <img src="images/smilies/tongue.gif" alt="Smilie" />",$bericht);
$bericht = str_replace(":D"," <img src="images/smilies/biggrin.gif" alt="Smilie" />",$bericht);
$bericht = str_replace("8)"," <img src="images/smilies/cool.gif" alt="Smilie" />",$bericht);
$bericht = str_replace("*-)"," <img src="images/smilies/rolleyes.gif" alt="Smilie" />",$bericht);
$bericht = str_replace(":?"," <img src="images/smilies/dry.gif" alt="Smilie" />",$bericht);
$bericht = str_replace(":@"," <img src="images/smilies/mad.gif" alt="Smilie" />",$bericht);
$bericht = str_replace(":("," <img src="images/smilies/sad.gif" alt="Smilie" />",$bericht);
$bericht = str_replace("8-)"," <img src="images/smilies/unsure.gif" alt="Smilie" />",$bericht);
$bericht = str_replace(":["," <img src="images/smilies/blink.gif" alt="Smilie" />",$bericht);
$bericht = str_replace("[:-]"," <img src="images/smilies/ph34r.gif" alt="Smilie" />",$bericht);
$bericht = str_replace(";/"," <img src="images/smilies/happy.gif" alt="Smilie" />",$bericht);
$bericht = str_replace("[-)"," <img src="images/smilies/sleep.gif" alt="Smilie" />",$bericht);
$bericht = str_replace("(l)"," <img src="images/smilies/wub.gif" alt="Smilie" />",$bericht);
$bericht = str_replace(":s"," <img src="images/smilies/wacko.gif" alt="Smilie" />",$bericht);
$bericht = str_replace(":S"," <img src="images/smilies/wacko.gif" alt="Smilie" />",$bericht);
$bericht = str_replace ("kut","****",$bericht);
$bericht = str_replace ("fuck","****",$bericht);
$bericht = str_replace ("fucking","****",$bericht);
$bericht = str_replace ("facking","****",$bericht);
$bericht = str_replace ("focking","****",$bericht);
$bericht = str_replace ("fack","****",$bericht);
$bericht = str_replace ("fock","****",$bericht);
$bericht = str_replace ("hoer","****",$bericht);
$bericht = str_replace ("porno","****",$bericht);
$bericht = str_replace ("lul","****",$bericht);
$bericht = str_replace ("neuken","****",$bericht);
$bericht = str_replace ("verneuk","****",$bericht);
$bericht = str_replace ("slet","****",$bericht);
$bericht = str_replace ("teef","****",$bericht);
$bericht = str_replace ("kanker","****",$bericht);
$bericht = str_replace ("tering","****",$bericht);
Toon Meer