@extends("app") @section('head_title', $user->username . ' | ' . get_buzzy_config('sitename')) @section('body_class', 'mode-add user-profile') @section('content')
{{ $user->username }}
{{ $user->username }}
{{ $user->username }} @if ($user->usertype == 'Admin')
{{ trans('updates.usertypeadmin') }}
@elseif($user->usertype == 'Staff')
{{ trans('updates.usertypestaff') }}
@elseif($user->usertype == 'banned')
{{ trans('updates.usertypebanned') }}
@endif
@include('._particles.user.follow_button', ['user' => $user]) @include('_particles.user.messages._usermessagebutton')
@if ($user->name)
{{ trans('index.usern') }} {{ $user->name }}
@endif @if ($user->genre)
{{ trans('index.gender') }} {{ $user->genre }}
@endif @if ($user->town)
{{ trans('index.location') }} {{ $user->town }}
@endif
@can('update', $user) {{ trans('index.settings') }} {{ trans('v4.messages') }} @endcan
@if (get_buzzy_config('p_buzzynews') == 'on') @php($newscount = $user->posts()->byType('news')->byLanguage()->byApproved()->count())
{{ trans('index.total', ['type' => trans('index.news')]) }}
{{ $newscount }}
@endif @if (get_buzzy_config('p_buzzylists') == 'on') @php($listscount = $user->posts()->byType('list')->byLanguage()->byApproved()->count())
{{ trans('index.total', ['type' => trans('index.lists')]) }}
{{ $listscount }}
@endif @if (get_buzzy_config('p_buzzyquizzes') == 'on') @php($quizzescount = $user->posts()->byType('quiz')->byLanguage()->byApproved()->count())
{{ trans('index.total', ['type' => trans('buzzyquiz.quizzes')]) }}
{{ $quizzescount }}
@endif @if (get_buzzy_config('p_buzzypolls') == 'on') @php($pollscount = $user->posts()->byType('poll')->byLanguage()->byApproved()->count())
{{ trans('index.total', ['type' => trans('index.polls')]) }}
{{ $pollscount }}
@endif @if (get_buzzy_config('p_buzzyvideos') == 'on') @php($videoscount = $user->posts()->byType('video')->byLanguage()->byApproved()->count())
{{ trans('index.total', ['type' => trans('index.videos')]) }}
{{ $videoscount }}
@endif
@if ($user->about)
{{ trans('index.about') }}

{{ $user->about }}

@endif @if ($user->following()->count() > 0) @endif @if ($user->followers()->count() > 0) @endif
@if ($user->social_profiles) @include('_particles.user.social_profiles', ['social_profiles' => $user->social_profiles])
@endif {!! trans('index.joinedat', ['time' => $user->created_at->diffForHumans()]) !!}
@yield("usercontent")
@endsection