@php if( !isset($entry) && isset($news) ){ $entry = $news; $newsMode = true; } else { $newsMode = false; } @endphp
@if( !$newsMode )
@if($entry->reviews_count_cached > 0)
{{ $entry->average_rating }} ({{ $entry->reviews_count_cached }})
@endif @auth @endauth
@forelse( $reviews as $review ) @empty Be the first to post a review @endforelse See all {{ $entry->reviews_count_cached }} reviews @include('reviews.submit')
@endif
@forelse( $comments as $comment ) @if(( $comment['user_id'] === config('xenforo.bot_user_id') || $comment['username'] === 'Romhack Plaza' ) && $comment['position'] == 0) @continue @else
{{ $comment['User']['username'] ?? $comment['username'] ?? 'Guest' }} {{ date('Y-m-d', $comment['post_date']) }}
{!! \App\Helpers\EntryHelpers::stripBbCode($comment['message']) !!}
@endif @empty Be the first to post a comment @endforelse comments_thread_id}/latest") }}" class="btn primary" style="margin-top: 1%;"> Post a comment