@extends("admin/layout") @section("content") Admin List comment Premium Demo List comment 10 20 50 100 @if($comments->isEmpty()) There are no comments @else User name Email Comment text Comment date @foreach($comments as $comment) {{ $comment->user->username }} {{ $comment->user->email }} {{ $comment->comment_text }} {{ date('d-m-Y', strtotime($comment->comment_date)) }} @endforeach @foreach ($comments->getUrlRange(1, $comments->lastPage()) as $page => $url) {{ $page }} @endforeach Page {{ $comments->currentPage() }} of {{ $comments->lastPage() }} @endif @endsection
List comment