@php $client = new JoyPixels\Client(new JoyPixels\Ruleset()); $client->ascii = true; $userId = (Auth::check()) ? auth()->user()->id : $user->id; $coverpic = (Auth::check()) ? auth()->user()->coverpic : $user->coverpic; $avatar = (Auth::check()) ? auth()->user()->avatar : $user->avatar; $createdAt = (Auth::check()) ? auth()->user()->created_at->format('F d, Y') : $user->created_at->format('F d, Y'); $profileViews = (Auth::check()) ? number_format(auth()->user()->profile_views) : number_format($user->profile_views); $gameListViews = (Auth::check()) ? number_format(auth()->user()->list_views) : number_format($user->list_views); $blogViews = (Auth::check()) ? number_format(auth()->user()->blog_views) : number_format($user->blog_views); $bio = (Auth::check()) ? auth()->user()->bio : $user->bio; $gamesOnListCount = (Auth::check()) ? auth()->user()->gameList->count() : $user->gameList->count(); $averageGameRating = (Auth::check()) ? round(auth()->user()->gameList->average('rating'), 2) : round($user->gameList->average('rating'), 2); @endphp
image {{--
--}}

{{ auth()->user()->username ?? $user->username }}

{{--
--}}
Join Date:
{{ $createdAt }}
Profile Views:
{{ $profileViews }}
Games on List:
{{ $gamesOnListCount ?? '0'}}
List Views:
{{ $gameListViews}}
Average Game Rating:
{{ $averageGameRating ?? 'No games rated yet.'}}
Game Reviews Written:
Coming soon...
Favorited Games:
Coming soon...
Wishlisted Games:
Coming soon...
Blog Entries:
Coming soon...
Blog Views:
{{ $blogViews }}
Profile Comments Left:
Coming soon...
Friends:
Coming soon...
Friends Of:
Coming soon...

Social Media Links

Coming soon...

Gamertags

Coming soon...

My Consoles

Coming soon...

@if ($userId == 1 || $userId == 2) {!! Markdown::parse($client->shortnameToImage($bio), ['purifier' => false]) !!} @else @if (isset($bio)) {!! Markdown::parse($client->shortnameToImage($bio)) !!} @else

No bio yet. Check back later.

@endif @endif

Comments

Coming soon...