@foreach($episodes as $episode)
    @foreach(json_decode($episode->media,true) as $media)
  • @if($media['type'] == 'image') @else @endif
  • @endforeach
@php $euser = Helper::getUserInfo($episode->uid); @endphp
{{ $euser->name }}
{{ Helper::rdate('d M H:i',$episode->created_at, 1) }}
@if(!empty($episode->text))
{{ $euser->name }} {!! $episode->text !!}
@endif @foreach(Helper::getComments('episode', $episode->id) as $comment) @php $user = Helper::getUserInfo($comment->uid); @endphp
{{ $user->name }} {!! $comment->text !!}
@endforeach
{{ Helper::giveStats('likes', $episode->id, 'episode') ?? 0 }}
@endforeach