function bbcodeparse2($bbcode,$dohtml,$dobbimagecode,$dosmilies,$dobbcode) { // parses text for vB code, smilies and censoring global $DB_site,$wordwrap,$allowdynimg, $bbuserinfo; static $smilies,$bbcodes; global $regexcreated,$searcharray,$replacearray,$phpversionnum;