@extends('frontend.layouts.UserMain') {{ translate('Humsafar - Who Visited Me') }} @section('content')
@include('frontend.user.layouts.header')
@foreach($pages as $page)

{{ translate('Visited Profiles') }}

{!! $page->content !!}

@endforeach
{{--
Featured
--}}
{{ translate('Online') }}
{{--
Video
--}}
@if (session('GridStyle') == 'grid') @endif @if (session('GridStyle') == 'list')
@if ($matches->isEmpty())

{{ translate('No profiles found') }}

@else @foreach($matches as $match) @php $isLiked = $likedProfiles->contains('id', $match->id); $profileImageData = getProfileImage($match); @endphp @if ($userpackage)
image @if($profileImageData['is_blurred']) @endif

{{ $match->first_name }} {{ $match->last_name }} {{ $match->age }} {{ translate('Years Old') }}, {{$match->userDetails->country->name ?? '' }}, {{ $match->userDetails->city->name ?? '' }}

@else
image @if($profileImageData['is_blurred']) @endif

{{ $match->first_name }} {{ $match->last_name }} {{ $match->age }} {{ translate('Years Old') }}, {{$match->userDetails->country->name ?? '' }}, {{ $match->userDetails->city->name ?? '' }}

@php if($match->relation_status_id != null){ $relationStatus=App\Models\ProfileAttributeMeta::where('id', $match->relation_status_id)->first(); } else{ $relationStatus=null; } if($user->religion_id != null){ $religion=App\Models\ProfileAttributeMeta::where('id', $match->religion_id)->first(); } else{ $religion=null; } @endphp

{{ translate('Relation') }}

:

@if ($relationStatus)

{{$relationStatus->name}}

@else

-

@endif

{{ translate('Religious') }}

:

@if ($religion)

{{$religion->name}}

@else

-

@endif

{{$match->short_description}}

{{--

{{ translate('Relation') }}

:

@if ($relationStatus)

{{$relationStatus->name}}

@else

-

@endif

{{ translate('Religious') }}

:

@if ($religion)

{{$religion->name}}

@else

-

@endif
--}}
@endif @endforeach @endif
@endif @if (session('GridStyle') == 'list' || session('GridStyle') == 'grid')
@if ($matches->onFirstPage()) {{ translate('Previous') }} @else {{ translate('Previous') }} @endif {{ $matches->currentPage() }} @if ($matches->hasMorePages()) {{ translate('Next') }} @else {{ translate('Next') }} @endif
@endif @if (session('GridStyle') == 'map_view')
@if ($matches->isEmpty())

{{ translate('No profiles found') }}

@else @foreach($matches as $match) @php $isLiked = $likedProfiles->contains('id', $match->id); $profileImageData = getProfileImage($match); @endphp @if ($userpackage) image @if($profileImageData['is_blurred']) @endif @else image @if($profileImageData['is_blurred']) @endif @endif @endforeach @endif
@if ($matches->onFirstPage()) {{ translate('Previous') }} @else {{ translate('Previous') }} @endif {{ $matches->currentPage() }} @if ($matches->hasMorePages()) {{ translate('Next') }} @else {{ translate('Next') }} @endif
@endif
@endsection @push('scripts') @php $usersWithLocation = $matches->filter(function ($match) { return $match->latitude && $match->longitude; }); @endphp @endpush