@extends('backend.index') @section('content')
Edit your profile
@csrf
Min width, height 300x300, Image will be automatically cropped and resized to 300x300 pixel.
{{ $user->name }}

{{ $user->email }}

@if($user->artist) @endif
Username {{ $user->username }}
E-Mail {{ $user->email }}
Registered {{ $user->created_at }}
Recent Activity {{ $user->last_activity }}
IP {{ $user->logged_ip }}
Group {{ \App\Models\Role::getValue('group_name') }}
Badge {!! \App\Models\Role::getValue('group_badge') !!}
Artist/Band {{ $user->artist->name }}
Songs {{ DB::table('songs')->where('user_id', $user->id)->count() }}
Albums {{ DB::table('albums')->where('user_id', $user->id)->count() }}
Playlists {{ DB::table('playlists')->where('user_id', $user->id)->count() }}
Comments {{ DB::table('comments')->where('user_id', $user->id)->count() }}
@if($user->connect->firstWhere('service', 'facebook')) @endif @if($user->connect->firstWhere('service', 'twitter')) @endif
@endsection