@if($post->contents) @foreach ($post->contents as $content) @if ($content->type == "tiktok") @php $tiktok = true; @endphp @endif @endforeach @endif @isset ($tiktok) @endisset @if ($setting->amp_ad_server == "1") @endif
@if (!empty($post->post_video)) @elseif(!empty($post->post_media)) @php list($width, $height) = getimagesize(asset('/uploads/' . $post->post_media)); @endphp @endif

{{ $post->post_title }}

@if (!empty($post->post_desc))

{{ $post->post_desc }}

@endif

{{ $post->created_at }} - {{ $post->user->name }}

@if ($setting->amp_ad_server == "1") {!! $setting->amp_adscode !!} @endif @if($post->contents) @foreach ($post->contents as $content) @if ($content->type == "header")

{{ $content->body }}

@endif @if ($content->type == "text")

{{ $content->body }}

@endif @if ($content->type == "txteditor")
{!! clean( $content->body ) !!}
@endif @if ($content->type == "image") @php list($width, $height) = getimagesize(asset('/uploads/' . $content->body)); @endphp @if (!empty($content->link)) @else @endif @endif @if ($content->type == "youtube") @endif @if ($content->type == "tweet") @endif @if ($content->type == "facebook") @endif @if ($content->type == "instagram") @endif @if ($content->type == "pinterest") @endif @if ($content->type == "tiktok") @endif @endforeach @endif @if ($setting->amp_ad_server == "1") {!! $setting->amp_adscode !!} @endif
@if (!empty($related))

@lang('messages.morepost')

@foreach($related as $relatedpost) @endforeach @endif