@foreach($topics as $post)
{{$post->member->name}}
@if($post->updated_at > $post->created_at )
Last updated on {{ \App\Helpers\Helper::formatDateTime($post->updated_at);}}
@endif @if(Auth::user()->id == $post->member_id)
@endif
{{--
--}} @if($post->is_reply == 0) {!! html_entity_decode($post['post']) !!} @else {!! html_entity_decode($post['post']) !!} @endif
@include('admin/fourthleveltopic/attachments',['attachments'=>$post['postAttachments']])
{{$post->post_likes_count}}
{{$post->post_loves_count}}
{{--
{{ $post->member_post_count }}
--}}
{{ $post->post_views_count }}
{{ ($post->is_reply == 1) ? 'Commented on:' : 'Posted on:' }} {{ \App\Helpers\Helper::formatDateTime($post->created_at);}} by {{$post->member->name}}
{{-- Like --}}
@include('discussion_forum/include/imoji')
{{-- End Like --}}
@if(count($post->postReplies) > 0)
@include('admin/fourthleveltopic/post_reply_list',['topics'=>$post->postReplies])
{{--
View More Replies.....
--}}
@endif
@endforeach