@extends('layouts.frontendMainLayout') @section('css') @endsection @section('content')
{{$data->title}}
date_range{{ date('j F, Y', strtotime($data->published_at)) }}
@foreach($wg as $value) @if(in_array($value->id, $arr)) {{$value->name}} @endif @endforeach

{{$data->description}}

@include('panels.frontend.data_likes')
share Facebook Twitter Linkedin WhatsApp
@if ($message = Session::get('error')) @endif
comment
Comments
{{$comments['total_comments']}}
@if (Auth::check())
@csrf
User
@else
User
Please Login / Register
@endif
@foreach($comments['comments'] as $item)
{{$item->user->name}}
{{$item->user->name}} {{$item->time}}

{{$item->comment}}

@if(Auth::check())
@csrf
User
@else
User
Please Login / Register
@endif @foreach($item->childs as $childComment)
{{$childComment->user->name}}
{{$childComment->user->name}} {{$childComment->time}}

{{$childComment->comment}}

@endforeach
@endforeach
@if($data->file_type == 1) downloadDownload @elseif($data->file_type == 2) downloadDownload @endif
@endsection @section('js') @endsection