commentator-photo
{{ $comment->commentator_name }}

{{ date('d M, Y', strtotime($comment->created_at)) }} {{ get_phrase('at') }} {{ date('h:i A', strtotime($comment->created_at)) }}

@isset(auth()->user()->id)

{{ get_phrase('Reply') }}

@if ($comment->user_id == auth()->user()->id) {{ get_phrase('Edit') }} {{ get_phrase('Delete') }} @endif @endisset

{{ $comment->comment }}

@php $replies = App\Models\BlogComment::join('users', 'blog_comments.user_id', '=', 'users.id') ->select('blog_comments.*', 'users.name as replier_name', 'users.photo as replier_photo') ->where('blog_comments.parent_id', $comment->id) ->get(); @endphp @foreach ($replies as $replay) @include('frontend.default.blog.comment_replay') @endforeach
@csrf