@if(Auth::check() == true)
{{ Form::open(array('files'=> TRUE,'role'=>'form')) }}
{{ Form::textarea('comment','',array('class'=>"form-control",'rows'=>2,'placeholder'=>t('Comment'))) }}
{{ Form::submit(t('Comment'),array('class'=>'btn btn-info')) }} {{ Form::close() }}
@endif @foreach($comments as $comment)
{{ $comment->user->fullname }} @if(Auth::check()) @if(checkFollow($comment->user->id)) @else @endif @endif

{{ $comment->user->fullname }} @if(Auth::check() == TRUE) @if($comment->user_id == Auth::user()->id || $image->id == Auth::user()->id) @endif @endif {{ date(DATE_ISO8601,strtotime($comment->created_at)) }} 

{{ Smilies::parse(e($comment->comment)) }}

@if(Auth::check() == TRUE) {{ t('Reply') }}
{{ Form::textarea('comment','',array('id'=>'textboxcontent'.$comment->id,'class'=>"form-control",'rows'=>2,'placeholder'=>t('Comment'))) }}
{{ t('Cancel') }}
@endif @foreach($comment->reply as $reply)

{{ $reply->user->fullname }}

{{ $reply->user->fullname }} @if(Auth::check() == TRUE) @if($reply->user_id == Auth::user()->id || $image->id == Auth::user()->id || $reply->comment->user->id == Auth::user()->id) @endif @endif {{ date(DATE_ISO8601,strtotime($reply->created_at)) }} 

{{ Smilies::parse(e($reply->reply)) }}
@endforeach

@endforeach {{ $comments->links(array('class'=>'pagination')) }}