@extends('layouts.master') @section('title','User profile') @section('content')
Name: {{ $user->name }}
Email
: {{ $user->email }} @if($user->is_email_verified) {{-- Green tick --}}
@endif
Mobile: {{ !empty($user->mobile) ? $user->mobile : 'Not added' }}
Bio Description: {{ !empty($user->Profile->bio_description) ? $user->Profile->bio_description : 'Not added' }}
Gender: {{ !empty($user->Profile->gender) ? $user->Profile->gender : 'Not added' }}
DOB{{ !empty($user->Profile->dob) ? $user->Profile->dob : 'Not added' }}
Tagline
@livewire('UserTaglineManage',['user_id'=>\Crypt::encrypt($user->id)])
Alma Mate: {{ !empty($user->Profile->alma_mate) ? $user->Profile->alma_mate : 'Not added' }}
Current Organization: {{ !empty($user->Profile->current_organization) ? $user->Profile->current_organization : 'Not added' }}
Education: {{ !empty($user->Profile->educational) ? $user->Profile->educational : 'Not added' }}
Profession: {{ !empty($user->Profile->occupation) ? $user->Profile->occupation : 'Not added' }}
{{ !empty($user->profile->nick_name) ? $user->profile->nick_name : 'Not added'}}
@php $avatarPath = optional(optional($user->profile)->avatar)->image_url; @endphp Avatar
Pool 1
    @foreach($interestsByPool[1] ?? [] as $item)
  • {{ $item->interest->name }} (Rank: {{ $item->rank }})
  • @endforeach
Pool 2
    @foreach($interestsByPool[2] ?? [] as $item)
  • {{ $item->interest->name }} (Rank: {{ $item->rank }})
  • @endforeach
Preference
    @foreach($interestsByPool[3] ?? [] as $item)
  • {{ $item->interest->name }} (Rank: {{ $item->rank }})
  • @endforeach
Photos
@foreach($user->ProfilePhotos as $photo)
Media Image

@livewire('RemoveUserProfilePhoto',['photo_id'=>$photo->id])
@endforeach
Videos
@foreach($user->ProfileVideos as $photo)
@livewire('RemoveUserProfilePhoto',['photo_id'=>$photo->id])
@endforeach
Venue Checkins
@if($user->checkins->count()==0)
No checkins
@else @foreach($user->checkins as $key=>$checkin) @if($checkin->checkout_time) @else @endif @endforeach
SL No Location Checkin Time Checkout Time
{{ ($key+1) }} {{ $checkin->Venue->location }} {{ date('d M Y',strtotime($checkin->checkin_date)) }} {{ date('h:i:s a',strtotime($checkin->checkin_time))}} {{ date('d M Y',strtotime($checkin->checkin_date)) }} {{ date('h:i:s a',strtotime($checkin->checkout_time))}}No Checkout
@endif
Connected Users
@foreach($connected_users as $connected_user) @if(!$connected_user) @continue @endif
@if($connected_user->ProfilePicture && $connected_user->ProfilePicture->thumbnail_path) Media Image @else
Profile photo is not available
@endif {{ $connected_user->name }}
@endforeach
Rejected Profiles
@foreach($rejected_profiles as $rejected_profile)
@if($rejected_profile->ProfilePicture) Media Image @else
Profile photo is not available
@endif
{{ $rejected_profile->name }} @endforeach
Blocked Users
@foreach($user->BlockedUsersBlocked as $blocked_user)
@if($blocked_user->ProfilePicture) Media Image @else
Profile photo is not available
@endif
{{ $blocked_user->name }} @endforeach
Reports against {{ $user->name }}
@if($user->Reports->count()==0)
No reports
@else @foreach($user->Reports as $key=>$report) @if($report->Warning) @else @endif @endforeach
SL No Reported By Issue reported Warning
{{ ($key+1) }}
Name{{ $report->ReportedBy->name }}
Email{{ $report->ReportedBy->email }}
{{ $report->description }} {{ $report->Warning->message }}No Warning
@endif
Pending received connection requests
@foreach($user->PendingReceivedConnectionRequests as $connection_request) @php $sentUser = $connection_request->SentUser; @endphp @if(!$sentUser) @continue @endif
@if($sentUser->ProfilePicture && $sentUser->ProfilePicture->thumbnail_path) Media Image @else
Profile photo is not available
@endif {{ $sentUser->name }} initiated on {{ date('d/m/Y', strtotime($connection_request->created_at)) }}
@endforeach
Pending sent connection requests
@foreach($user->PendingSentConnectionRequests as $connection_request) @php $receivedUser = $connection_request->ReceivedUser; @endphp @if(!$receivedUser) @continue @endif
@if($receivedUser->ProfilePicture && $receivedUser->ProfilePicture->thumbnail_path) Media Image @else
Profile photo is not available
@endif Sent to {{ $receivedUser->name }} on {{ date('d/m/Y', strtotime($connection_request->created_date)) }}
@endforeach
@endsection @push('script') @endpush