@extends('frontend::layouts.master') @section('content')

{{__('frontend.all')}} {{__('frontend.reviews')}}

@php $current_user_plan =auth()->user() ? auth()->user()->subscriptionPackage : null; $current_plan_level= $current_user_plan->level ?? 0; $plan_level= $entertainment['plan_level']; @endphp movie card @if($plan_level > $current_plan_level) @endif

{{ $entertainment->name }}

{{ $entertainment->created_at->format('Y') }}

{{ $entertainment->IMDb_rating }}(IMDb)

{{ number_format($averageRating, 1) }}

{{__('frontend.individual_rating')}}

@foreach (range(5, 1) as $rating)
{{ $rating }}
@php $percentage = $ratingCounts[$rating] > 0 ? ($ratingCounts[$rating] / $reviewCount) * 100 : 0; @endphp
{{ $ratingCounts[$rating] }}
@endforeach
{{ $entertainment->name }}
    @for ($i = 0; $i < 3; $i++)
  • @include('components.card_shimmer_rating')
  • @endfor
@endsection