@extends(getTemplate('admin')) @section('content') @push('custom-css') @endpush @if ($user)

{{__('admin.members_management')}}

{{ ucwords($user->full_name) }}

{{ucwords($user->first_name.' '.$user->last_name)}}

@foreach($user->roles->pluck('name') as $group) @if ($group == 'Admin') {{$group}} @else {{$group}} @endif @endforeach
@php /* */ @endphp @if (module_exists('credit_wallet')) @php $user_credits = $user->credit->include_join_fields()->get(); @endphp @if ($user_credits->exists()) @foreach($user_credits as $credit) @endforeach @endif @endif
Username / Identity {{$user->username}}
Password
First Name {{$user->first_name}}
Last Name {{$user->last_name}}
Email {{$user->email}}
User Groups {{ implode(', ', $userRoles) }}

Phone {{$user->phone}}
Street {{$user->address?->street}}
City {{$user->address?->city}}
{{ __('core.zip') }} {{$user->address?->zip}}
County {{$user->address?->county}}
Country {{$user->address?->country}}
Website {{$user->website}}

Language {{$user->settings?->language}}
Two Factor Authentication @if ($user->id === auth()->id()) @endif
Newsletters
Show Avatar
Show Profile
{{__('core.show_location')}}
{{__('core.show_email')}}

Credit Wallet
{{$credit->name}} Credits
Add Credits
@if (module_exists('social') && $social_module->exists())
@if ($posts->exists())
    @foreach($posts as $post) @php $u = new User($post->user_id); @endphp
  • {{timeElapsedSince($post->created_at)}} {{date('H:i',$post->created_at)}}
     
    {{ucwords($u->first_name.' '.$u->last_name)}} {{ucwords($u->first_name.' '.$u->last_name)}} Status: {{ucwords($post->status)}}

    {{$post->text}}

    {{$post->get_shares()}} Share{{$plural = $post->get_shares() === 1 ? '':'s'}} {{$post->comment->count()}} Comment{{$plurals = $post->comment->count() === 1 ? '':'s'}}
    {{$post->get_likes()}}
  • @endforeach
@else
No Posts Yet.
@endif
@if ($photos->exists())

Photos ({{$numphotos}})

@foreach($photos as $photo) @endforeach
@else
No Photos
@endif
@if ($videos->exists())

Videos ({{$numvids}})

@foreach($videos as $video) @endforeach
@else
No Videos
@endif
@endif @php /* */ @endphp @if (module_exists('events') && setting('user_history', 'events'))
@php $events = \App\Models\Order::where('module', 'events')->where('user_id', $user->id)->get(); @endphp @if ($events->count())

Events ({{ $events->count() }})

@foreach($events as $order) @php $custom_data = $order->custom_data; @endphp @isset($custom_data->event_id) @php $e = new Event((int)$custom_data->event_id); @endphp @endisset @endforeach
@else
No events history details.
@endif
@endif
@else

{{$title}}

×

User Does Not Exists.

Unknown User

@endif @push('custom-js') @endpush @endsection