@if(Auth::user()->userTypeId==1) @include('user-web.layouts.sidebar') @else @include('business.layouts.sidebar') @endif
@include('user-web.layouts.story')
@if(\Illuminate\Support\Facades\File::exists(public_path($profileImage))) @else @endif
@if(Auth::User()->userTypeId==2) @foreach($results as $data => $feeds) @php $user=MstUser::where('userId',$feeds->userId)->first(); $business = Business::where('businessId',$feeds->userId)->first(); if ($user->profileImageUrl) { $url_image = $user->profileImageUrl; } elseif ($business->logoImageUrl) { $url_image = $business->logoImageUrl; } else { $url_image = ""; } $userName=$user->userName??$business->businessName??""; $userPic=env('APPLICATION_URL').$url_image ; @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
@endif
@if(Auth::User()->userTypeId==1)

Match Alert

  • {{$covid->covidStatus ?? ""}}

  • {{$covid->date ?? ""}}

@else

About

  • {{$businessDetail->city}}, {{$businessDetail->country}}

  • @foreach($workingHours as $hour)

    {{$hour->day}}

    Open: {{$hour->openTime}}

    Close :{{$hour->closeTime}}

    @endforeach
  • {{$businessDetail->businessType}}

@endif