if(($bbuserinfo[usergroupid] == 5) OR ($bbuserinfo[usergroupid] == 6) OR ($bbuserinfo[usergroupid] == 7)) { $post[lastvisit]=vbdate($dateformat." ".$timeformat,$post[lastvisit]); } else { $post[lastvisit] = ""; }