@include('web.groups.left-card')
@include('web.groups.group-header') @include('auth.partials.messages')
@csrf
@if(isset($user->getUserDetail->profileImageUrl)) @else @endif
@foreach($results as $feeds) @php $user=MstUser::where('userId',$feeds->userId)->first(); $userName=$user->userName; $userPic=env('APPLICATION_URL').$user->profileImageUrl; @endphp

{{$userName}}

{{date('d-M-Y h:i A',strtotime($feeds->posted_date))}}

{{$feeds->caption}}

@if(!empty($feeds-> text_back_ground))
{{ $feeds-> caption}}
@endif @foreach ($feeds->postImage as $image) @php $fileName = $image->postFileUrl; $fileNameParts = explode('.', $fileName); $ext = end($fileNameParts); @endphp @if ($ext == "jpg" || $ext == "png" || $ext == "webp" || $ext == "jpeg")
{{-- --}}
@else
@endif @endforeach
@endforeach
We have not any more data yet

Videos

@foreach($postVideo as $vid)
@php $extention=pathinfo($vid->postFileUrl, PATHINFO_EXTENSION); $url=env('APPLICATION_URL').$vid->postFileUrl ?? ''; @endphp @if($extention=="mp4" || $extention=="mov")
@endif
@endforeach
    @foreach($group->groupPost as $img) @foreach($img->postImage as $i) @php $extention=pathinfo($i->postFileUrl, PATHINFO_EXTENSION); @endphp @if($extention=="jpg" || $extention=="png")
  • @endif @endforeach @endforeach
@foreach($group->groupPost as $img) @foreach($img->postImage as $i) @php $extention=pathinfo($i->postFileUrl, PATHINFO_EXTENSION); @endphp @if($extention=="mp4" || $extention=="mov")
@endif @endforeach @endforeach
@include('web.groups.right-card')