@extends('frontend.layouts.UserMain') {{ translate('Humsafar - Messenger') }} @section('content')
@include('frontend.user.layouts.header')

{{ translate('Chats') }}

@foreach ($chatusers as $chatuser) @php $profileImageData = getProfileImage($chatuser); @endphp
@endforeach

{{ translate('Contacts') }}

@foreach ($mutualUsers as $chatuser) @php $profileImageData = getProfileImage($chatuser); @endphp
@if ($userpackage)
@else @endif
@endforeach
@php $profileImageData = getProfileImage($receiverUser); @endphp profile image {{$receiverUser->first_name}} {{$receiverUser->last_name}}
@foreach ($messages as $msg)

{{ $msg->message }}

{{ $msg->created_at->diffForHumans() }}
@endforeach

{{ translate('Contact Information')}}

profile image

{{$receiverUser->name}}

Hi there! I’m using FuseChat.

Age
:

{{$receiverUser->age}}

Country
: @if ($receiverUser->userDetails)

{{$receiverUser->userDetails->country->name ?? '' }}

@else

-

@endif
{{--
Sexuality
:

Straight

--}}
Gender
:

{{$receiverUser->gender}}

@php if($receiverUser->userDetails){ if($receiverUser->userDetails->eye_color_id != null){ $eye_color=App\Models\ProfileAttributeMeta::where('id', $receiverUser->userDetails->eye_color_id)->first(); } else{ $eye_color=null; } }else{ $eye_color=null; } if($receiverUser->userDetails){ if($receiverUser->userDetails->hair_color_id != null){ $hair_color=App\Models\ProfileAttributeMeta::where('id', $receiverUser->userDetails->hair_color_id)->first(); } else{ $hair_color=null; } } else{ $hair_color=null; } if($receiverUser->userDetails){ if($receiverUser->userDetails->body_type_id != null){ $body_type=App\Models\ProfileAttributeMeta::where('id', $receiverUser->userDetails->body_type_id)->first(); } else{ $body_type=null; } } else{ $body_type=null; } if($user->userDetails){ if($receiverUser->userDetails->length_id != null){ $length=App\Models\ProfileAttributeMeta::where('id', $receiverUser->userDetails->length_id)->first(); }else{ $length=null; } }else{ $length=null; } @endphp

What do i look like?

My Eyes
:

@if(isset($hair_color)) {{ $hair_color->name}} @else N/A @endif

My Hair
:

@if(isset($eye_color)) {{ $eye_color->name}} @else N/A @endif

Body Type
:

@if(isset($body_type)) {{ $body_type->name}} @else N/A @endif

Length
:

@if(isset($length)) {{ $length->name}} @else N/A @endif

@endsection