@extends('front.layouts.front')
@section('css')
{{--
--}}
@endsection
@section('content')
{{ $Title->description }}
{{ $Title->title }}
{{-- Images slider --}}
Created By
@if ($Title->type == '1')
{{ $Title->directors }}
@endif
@if ($Title->type == '2')
{{ $Title->creaters }}
@endif
Starring
{{-- @foreach ($Title->casts as $key => $casts)
@if ($casts->cast_type == 1)
{{ $casts->casts->name }}
@if ($key == 3) @break @endif,
@endif
@endforeach --}}
{{ $Title->actors }}
Genre
{{-- @php $Genre= ''; @endphp
@foreach ($Title->genres as $key => $genres)
@php $Genre .= $genres->genres->title.', '; @endphp
@endforeach
{{ rtrim($Genre,', ') }} --}}
{{ $Title->genre }}
MPAA Rating
{{ __(App\Models\Title::$mpaa[$Title->mpaa_rating]) }}
Reviews
@foreach ($Review as $rating)-
user->profile_photo_path == null) src="{{ url('assets/img/user.svg') }}" @else src="{{ $rating->user->profile_photo_path }}" @endif alt="">
{{ $rating->user->first_name . ' ' . $rating->user->last_name }}
{{ date('d.m.Y, H:i', strtotime($rating->created_at)) }}
({{ $rating->ratinglike->count() }})
@endforeach
{{ $rating->comment }}