get_comments() as $comment_id => $comment) {
// Block post if this posts author userid is in the block list and if the user is not a staff member. (staff sees all posts)
if (isset($templateVar['blockedUserIds'][$comment->user_id]) && !validate_level($templateVar['user'], 'pr')) {
print display_post_blocked($comment, $templateVar['user']);
} else {
print display_post_v2($comment, $templateVar['parser']->parse($comment->text)->getAsHtml(), $templateVar['user'], $templateVar['page']);
print display_edit_post_v2($comment, $templateVar['user']);
}
}
?>