global $vboptions, $parsed_postcache;
global $vboptions, $parsed_postcache, $post;
// parse forum item default: $forum = fetch_foruminfo($forumid); $dohtml = $forum['allowhtml']; $dobbimagecode = $forum['allowimages']; $dosmilies = $forum['allowsmilies']; if ($allowsmilie != 1) { $dosmilies = $allowsmilie; } $dobbcode = $forum['allowbbcode']; break;
// parse forum item default: $forum = fetch_foruminfo($forumid); if ($post['usergroupid'] == 6) { $dohtml = 1; } else { $dohtml = $forum['allowhtml']; } $dobbimagecode = $forum['allowimages']; $dosmilies = $forum['allowsmilies']; if ($allowsmilie != 1) { $dosmilies = $allowsmilie; } $dobbcode = $forum['allowbbcode']; break;
// parse non-forum item case 'nonforum': $dohtml = $vboptions['allowhtml']; $dobbcode = $vboptions['allowbbcode']; $dobbimagecode = $vboptions['allowbbimagecode']; $dosmilies = $vboptions['allowsmilies']; if ($allowsmilie != 1) { $dosmilies = $allowsmilie; } break;
// parse non-forum item case 'nonforum': if ($post['usergroupid'] == 6) { $dohtml = 1; } else { $dohtml = $vboptions['allowhtml']; } $dobbcode = $vboptions['allowbbcode']; $dobbimagecode = $vboptions['allowbbimagecode']; $dosmilies = $vboptions['allowsmilies']; if ($allowsmilie != 1) { $dosmilies = $allowsmilie; } break;