@if (!empty($post->post_media)) @elseif (!empty($post->post_video)) @else @endif @if (!empty($post->post_media)) @elseif (!empty($post->post_video)) @else @endif