@if(isset($section_id)) @php if($ratings->count == 0 ){ $scr = 0; } else{ $scr= $ratings->score/$ratings->count; } $scr = round($scr * 2)/2; $tempscr = $scr; if(in_array($scr,[0.5,1.5,2.5,3.5,4.5 ])){ $tempscr = $tempscr +1; } @endphp
@for($i=1;$i<=$tempscr;$i++) @if($tempscr - $i != 0.5) @else @endif @endfor @for($i=1;$i<=5-$scr;$i++) @endfor {{$scr}}
Reytinq ver
{{__('rating')}}
{{$a_detail->a_title}} Ortalama {{$scr}} / 5 ({{$ratings->count}} səs)
@else
@endif
{{__('order')}}
@if(isset($ranking->count))
Təyin olunmayıb , {{$ranking->count}} {{__('view')}}
@else
Təyin olunmayıb , 0 {{__('view')}}
@endif
@isset( $a_detail->a_alternative )
{{__('alternatives')}}
{{ $a_detail->a_alternative }}
@endisset {{--
--}} {{--
Müəllif(lər)
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
Rəssam(lar)
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} @isset( $a_detail->a_category_id )
{{__('categories')}}
@foreach(explode(',', $a_detail->a_category_id) as $item) @php $temp = \App\AnimeCategory::where('id','=',$item)->first(); @endphp @if( isset($temp->$loc) ) @if( !$loop->last and isset($temp->$loc)), @endif @endif @endforeach
@endisset @isset($episode_detail) {{--
--}} {{--
Type
--}} {{--
Updating
--}} {{--
--}} @endisset