@extends('adminlte::page') @section('title', config('app.name') . ' | ' . __('messages.profile.title', ['name' => $profile->user->name])) @section('content_header')

{{__('messages.profile.users')}} / {{__('messages.profile.profile')}} / {{ $profile->user->name }}

@stop @section('js') @stop @section('content') @if ($profile->user->isBanned())
{{__('messages.profile.account_banned')}}

{{__('messages.profile.account_banned_exp')}}

{{$profile->user->bans->reason}}

@endif @if (Auth::user()->hasRole('admin'))

{{__('messages.profile.ban_confirm')}}

@csrf

{{__('messages.profile.leave_empty')}}

@if (!Auth::user()->is($profile->user) && $profile->user->isStaffMember())

{{__('messages.profile.terminate_notice')}}

{{__('messages.profile.terminate_notice_warning')}}

{{__('messages.profile.terminate_notice_consequence')}}

@csrf @method('PATCH')
@endif

{{__('messages.profile.delete_acc_warn')}}

{{__('messages.profile.delete_acc_consequence')}}

$profile->user->id])}}> @csrf @method('DELETE')

{{__('messages.profile.search_result')}}

@if (!isset($ipInfo->message))
{{__('messages.profile.origin_cc')}} {{$ipInfo->country_name ?? 'N/A'}}
{{__('messages.profile.state_prov')}} {{$ipInfo->state_prov ?? 'None'}}
{{__('messages.profile.district')}} {{$ipInfo->district ?? 'N/A'}}
{{__('messages.profile.city')}} {{$ipInfo->city ?? 'N/A'}}
{{__('messages.profile.zipcode')}} {{$ipInfo->zipcode ?? 'N/A'}}
{{__('messages.profile.coords')}} {{$ipInfo->latitude ?? 0}}, {{$ipInfo->longitude ?? 0}}
{{__('messages.profile.european')}} {{($ipInfo->is_eu) ? __('messages.reusable.yes') : __('messages.reusable.no')}}
{{__('messages.profile.isp')}} {{$ipInfo->isp ?? 'N/A'}}
{{__('messages.profile.org')}} {{$ipInfo->organization ?? 'N/A'}}
{{__('messages.profile.ctype')}} {{$ipInfo->connection_type ?? 'N/A'}}
{{__('messages.profile.timezone')}} {{$ipInfo->time_zone->name ?? 'N/A'}}
@else
{{__('messages.profile.noresults')}}

{{$ipInfo->message}}

@endif
@csrf @method('PATCH')

{{__('messages.profile.edituser_consequence')}}

@foreach($roles as $roleName => $status) @endforeach
{{ ucfirst($roleName) }}
@endif
@if($profile->avatarPreference == 'gravatar') User profile picture @else User profile picture @endif
@if ($profile->user->isBanned())

{{$profile->user->name}}

@else

{{$profile->user->name}}

@endif

{{$profile->profileShortBio}}

{{__('messages.reusable.member_since', ['date' => $since])}}

@if (Auth::user()->hasRole('admin')) @endif @if ($profile->user->is(Auth::user())) @elseif (Auth::user()->hasRole('admin') && $profile->user->isStaffMember()) @endif
@if (Auth::user()->hasRole('admin'))
@if (!$profile->user->isBanned())
@else
@method('DELETE') @csrf
@endif

@endif

{{__('messages.reusable.abt')}}

{{$profile->profileAboutMe}}
@stop @section('footer') @include('breadcrumbs.dashboard.footer') @stop