@if($blogdetail->poster != NULL)
 }})
@else
 }})
@endif
{!! $blogdetail->detail !!}
@if(Auth::check() && Auth::user() != NULL)
@php
$like=App\Like::orderBy('created_at','desc')->where('added','1')->where('blog_id',$blogdetail->id)->count();
$unlike=App\Like::orderBy('created_at','desc')->where('added','-1')->where('blog_id',$blogdetail->id)->count();
@endphp
{{$like}}
{{$unlike}}
@endif
@if(isset($exceptblog) && $exceptblog != NULL && count($exceptblog) > 0)
{{$blogdetail->comments->count()}} {{__('staticwords.comment')}}
@foreach ($blogdetail->comments as $comment)
{{ucfirst($comment->name)}}
{{date('F jS, Y - g:i a',strtotime($comment->created_at))}}
{{__('staticwords.areyousure')}}
{{__('staticwords.modelmessage')}}
{{__('staticwords.replyfor')}} {{$comment->name}}
{{ucfirst($name->name)}}
{{date('F jS, Y - g:i a',strtotime($subcomment->created_at))}}
{{__('staticwords.areyousure')}}
{{__('staticwords.modelmessage')}}
{{__('staticwords.postcomment')}}:
{{Form::open( ['route' => ['comment.store', $blogdetail->id], 'method' => 'POST'])}} {{Form::label('name', __('staticwords.name'))}} {{Form::text('name', null, ['class' => 'form-control',])}}
{{Form::label('email', __('staticwords.email'))}} {{Form::email('email', null, ['class' => 'form-control'])}}
{{Form::label('comment',__('staticwords.comment'))}} {{Form::textarea('comment', null, ['class' => 'form-control', 'rows'=> '5','cols' => '10'])}}
{{Form::submit(__('staticwords.addcomment'), ['class' => 'btn btn-md btn-primary'])}}