@extends('index') @section('content') @include('profile.nav')
@if (! $profile->activity_privacy || (auth()->check() && auth()->user()->username == $profile->username))

{{ __('web.NOW_PLAYING_SONG') }}

  • -Fans
@if(count($profile->recent))

{{ __('web.USER_RECENT_LISTENS') }}

@if ((auth()->check() && auth()->user()->username == $profile->username))
@endif
@include('commons.song', ['songs' => $profile->recent, 'element' => 'genre'])
@else
@if (auth()->check() && auth()->user()->username == $profile->username)

{{ __('web.EMPTY_LISTENS_OWNER') }}

{{ __('web.EMPTY_LISTENS_DESC_OWNER') }}

@else

{{ __('web.EMPTY_LISTENS', ['name' => $profile->name]) }}

{{ __('web.EMPTY_LISTENS_DESC') }}

@endif
@endif @endif @if(count($profile->playlists))
@include('commons.playlist', ['playlists' => $profile->playlists, 'element' => 'profile'])
@endif
{!! Advert::get('sidebar') !!} @if (! $profile->activity_privacy || (auth()->check() && auth()->user()->username == $profile->username))
{!! Advert::get('sidebar') !!}
@include('commons.activity', ['activities' => $profile->activities, 'type' => 'small'])
@if(config('settings.user_comments') && $profile->allow_comments) @include('comments.index', ['comments' => $profile->comments, 'object' => (Object) ['id' => $profile->id, 'type' => 'App\Models\User', 'title' => $profile->name], 'mod' => (auth()->check() && auth()->user()->username == $profile->username)]) @else

Comments are turned off.

@endif
@else
@if(config('settings.user_comments') && $profile->allow_comments)

Comments

@include('comments.index', ['comments' => $profile->comments, 'object' => (Object) ['id' => $profile->id, 'type' => 'App\Models\User', 'title' => $profile->name], 'mod' => (auth()->check() && auth()->user()->username == $profile->username)])
@else

Comments are turned off.

@endif
@endif
@endsection