diff --git a/app/views/post/show.php b/app/views/post/show.php index e965db0..4a0eb4b 100755 --- a/app/views/post/show.php +++ b/app/views/post/show.php @@ -17,8 +17,10 @@ post->can_be_seen_by(current_user())) : ?> partial('tags') ?> partial('post/show_partials/statistics_panel') ?> + is_member_or_higher()) : ?> partial('post/show_partials/options_panel') ?> +
can_show_ad('post#show-sidebar', current_user())) : ?> partial('vertical') ?> @@ -34,8 +36,10 @@ post->can_be_seen_by(current_user())) : ?> partial('post/show_partials/image') ?> partial('post/show_partials/image_footer', ['post_id' => $this->post->id]) ?> - partial('post/show_partials/edit') ?> - partial('post/show_partials/comments') ?> + is_member_or_higher()) : ?> + partial('post/show_partials/edit') ?> + + partial('post/show_partials/comments') ?> can_show_ad('post#show-bottom', current_user())) : ?> partial('horizontal', ['position' => 'bottom']) ?>