@extends('website.layouts.master') @section('title', __('tv_show_details')) @section('content')
{{-- @include('website.player.tv_channel_player') --}} @if ($tv_channel->stream_from === 'youtube')
@else @endif
{{ __('live') }}
{{ __('channel_type') }}

{{ $tv_channel->tv_name }}

{!! $tv_channel->description !!}

{{ getLiveTvRating($tv_channel->id) }}
{{ __('hd_quality') }}
@if ($tv_channel->stream1?->url) @endif @if ($tv_channel->stream2?->url) @endif

{{ __('video_deatils') }}

@if (!auth()->user()?->hasReviewed($tv_channel))
@csrf
{{ count($tv_channel->reviews ?? []) }} {{ __('reviews') }}
{{ __('submit_rating') }} :
@for ($i = 1; $i <= 10; $i++) @endfor
@endif
@foreach ($tv_channel->reviews as $review)
avatar
{{ $review->user->first_name . ' ' . $review->user->last_name }}
{{ $review->created_at->format('d F, Y') }}
@php $filled = $review->rating; $empty = 10 - $filled; @endphp {{ __('ratings') }}: {!! str_repeat('★', $filled) !!}{!! str_repeat('☆', $empty) !!}

{{ $review->review }}

@if ($review->reply)
avatar
{{ __('admin') }}
{{ $review->updated_at->format('d F, Y') }}

{{ $review->reply }}

@endif
@endforeach
@include('website.component.ads_sidebar')
@endsection @include('website.component.like_review') @push('js') @endpush