if (ismoderator($thread[forumid],"candeleteposts")) {
if (in_array($bbuserinfo['usergroupid'], array(5, 6))) {