\\1", $res->info); $bericht = preg_replace('!\[b\](.*?)\[/b\]!', "\\1", $bericht); $bericht = preg_replace('!\[i\](.*?)\[/i\]!', "\\1", $bericht); $bericht = preg_replace('!\[titel1\](.*?)\[/titel1\]!', "

\\1

", $bericht); $bericht = preg_replace('!\[titel2\](.*?)\[/titel2\]!', "
\\1
", $bericht); $bericht = preg_replace("#\[img=(right|left)\](http(s)?://)([a-z0-9\-\.,\?\-[:space:]!%\*_\#:;~\\&$@\/=\+]+)\[/img\]#si", "\"\"", $bericht); $bericht = preg_replace("#\[img\](http(s)?://)([a-z0-9\-\.,\?\-[:space:]!%\*_\#:;~\\&$@\/=\+]+)\[/img\]#si", "\"\"", $bericht); $bericht = eregi_replace("\[url\][[:space:]]*(http://)?([^\\[]*)[[:space:]]*\[/url\]", "\\2", $bericht); $bericht = eregi_replace("\[url=([^\[]*)\]([^\[]*)\[/url\]","\\2",$bericht); $bericht = eregi_replace("\[site\][[:space:]]*(http://)?([^\\[]*)[[:space:]]*\[/site\]", "\\2", $bericht); $bericht = eregi_replace("\[site=([^\[]*)\]([^\[]*)\[/site\]","\\2",$bericht); $bericht = nl2br($bericht); echo $bericht."

"; $query = mysql_query("SELECT * FROM settings ORDER BY volgorde ASC"); if(mysql_num_rows($query) != 0){ ?>


tekst; $bericht = preg_replace('!\[u\](.*?)\[/u\]!', "\\1", $bericht); $bericht = preg_replace('!\[b\](.*?)\[/b\]!', "\\1", $bericht); $bericht = preg_replace('!\[i\](.*?)\[/i\]!', "\\1", $bericht); $bericht = preg_replace("#\[img=(right|left)\](http(s)?://)([a-z0-9\-\.,\?\-[:space:]!%\*_\#:;~\\&$@\/=\+]+)\[/img\]#si", "", $bericht); $bericht = preg_replace("#\[img\](http(s)?://)([a-z0-9\-\.,\?\-[:space:]!%\*_\#:;~\\&$@\/=\+]+)\[/img\]#si", "", $bericht); $bericht = eregi_replace("\[url\][[:space:]]*(http://)?([^\\[]*)[[:space:]]*\[/url\]", "\\2", $bericht); $bericht = eregi_replace("\[url=([^\[]*)\]([^\[]*)\[/url\]","\\2",$bericht); $bericht = eregi_replace("\[site\][[:space:]]*(http://)?([^\\[]*)[[:space:]]*\[/site\]", "\\2", $bericht); $bericht = eregi_replace("\[site=([^\[]*)\]([^\[]*)\[/site\]","\\2",$bericht); $bericht = nl2br($bericht); $afbeelding = $res->afbeelding; $x++; if($x==1){echo "
";}else{echo "
";} echo ""; echo ""; echo ""; echo "
".$res->titel."
"; if(!empty($afbeelding)){echo "\"\"";} echo "

".$bericht."

"; if($x==2){echo "

"; $x=0;} } } } ?>