$bericht = $show->text;
$bericht = htmlspecialchars($bericht);
$bericht = str_replace("\n","<br>",$bericht);
$bericht = eregi_replace("\[color=([^\[]*)\]([^\[]*)\[/color\]","<font color=\"\1\">\2</font>",$bericht);
$bericht = eregi_replace("\[size=([^\[]*)\]([^\[]*)\[/size\]","<font size=\"\1\">\2</font>",$bericht);
$bericht = eregi_replace("\[font=([^\[]*)\]([^\[]*)\[/font\]","<font face=\"\1\">\2</font>",$bericht);
$bericht = eregi_replace("\[img height=([^\[]*)\ width=([^\[]*)\]([^\[]*)\[/img\]","<img src=\"\3\" height=\"\1\" width=\"\2\">",$bericht);
$bericht = eregi_replace("\[img]([^\[]*)\[/img\]","<img src=\"\1\">",$bericht);
$bericht = eregi_replace("\[flash=([^\[]*)\,([^\[]*)\]([^\[]*)\[/flash\]","<object classid=\"clsid: D27CDB6E-AE6D-11cf-96B8-444553540000\" width=\1 height=\2><param name=movie value=\3><param name=play value=true><param name=loop value=true><param name=quality value=high><embed src=\3 width=\1 height=\2 play=true loop=true quality=high></embed></object>",$bericht);
$bericht = eregi_replace("\[align=([^\[]*)\]([^\[]*)\[/align\]","<p align=\"\1\">\2</p>",$bericht);
$bericht = eregi_replace("\[shadow=([^\[]*)\,([^\[]*)\,([^\[]*)\]([^\[]*)\[/shadow\]","<font style=\"Filter: Shadow(color=\1, Direction=\2); Width=\3px;\">\4</font>",$bericht);
$bericht = eregi_replace("\[glow=([^\[]*)\,([^\[]*)\,([^\[]*)\]([^\[]*)\[/glow\]","<font style=\"Filter: Glow(color=\1, Strength=\2); Width=\3px;\">\4</font>",$bericht);
$bericht = str_replace("[scroll]","<marquee>",$bericht);
$bericht = str_replace("[/scroll]","</marquee>",$bericht);
$bericht = str_replace("[hr]","<hr>",$bericht);
$bericht = str_replace("[sub]", "<sub>", $bericht);
$bericht = str_replace("[/sub]", "</sub>", $bericht);
$bericht = str_replace("[tt]", "<tt>", $bericht);
$bericht = str_replace("[/tt]", "</tt>", $bericht);
$bericht = str_replace("[sup]", "<sup>", $bericht);
$bericht = str_replace("[/sup]", "</sup>", $bericht);
$bericht = str_replace("[s]","<s>",$bericht);
$bericht = str_replace("[/s]","</s>",$bericht);
$bericht = str_replace("[b]", "<b>",$bericht);
$bericht = str_replace("[/b]","</b>",$bericht);
$bericht = str_replace("[i]","<i>",$bericht);
$bericht = str_replace("[/i]","</i>",$bericht);
$bericht = str_replace("[u]","<u>",$bericht);
$bericht = str_replace("[/u]","</u>",$bericht);
$bericht = str_replace("[li]","<li>",$bericht);
$bericht = str_replace("[/li]","</li>",$bericht);
$bericht = str_replace("[ulist]","<ul>",$bericht);
$bericht = str_replace("[/ulist]","</ul>",$bericht);
$bericht = eregi_replace("\[email\]([^\[]*)\[/email\]", "<a href=\"mailto:\1\">\1</a>",$bericht);
$bericht = eregi_replace("\[email=([^\[]*)\]([^\[]*)\[/email\]", "<a href=\"mailto:\1\">\2</a>",$bericht);
$bericht = str_replace("[quote]","<blockquote><span class=\"12px\">quote:</span><hr>",$bericht);
$bericht = str_replace("[/quote]","<hr></blockquote>",$bericht);
$bericht = str_replace("[code]","<blockquote><hr>",$bericht);
$bericht = str_replace("[/code]","<hr></blockquote>",$bericht);
$bericht = eregi_replace("\[url\]www.([^\[]*)\[/url\]", "<a href=\"http://www.\1\" target=_blank>\1</a>",$bericht);
$bericht = eregi_replace("\[url\]([^\[]*)\[/url\]","<a href=\"\1\" target=_blank>\1</a>",$bericht);
$bericht = eregi_replace("\[url=([^\[]*)\]([^\[]*)\[/url\]","<a href=\"\1\" target=_blank>\2</a>",$bericht);
$bericht = eregi_replace("(^|[>[:space:]\n])([[:alnum:]]+)://([^[:space:]]*)([[:alnum:]#?/&=])([<[:space:]\n]|$)","\1<a href=\"\2://\3\4\" target=\"_blank\">\2://\3\4</a>\5",$bericht);
$bericht = ereg_replace(' ', ' ', $bericht);
$bericht = ereg_replace('>', '>', $bericht);
$bericht = ereg_replace('"', '"', $bericht);
echo "$bericht";