@if ($paginator->hasPages()) {{-- Previous Page Link --}} {{-- --}} {{-- --}} {{-- Previous--}} {{-- --}} {{-- --}} {{-- Pagination Elements --}} @foreach ($elements as $element) @if (is_array($element)) @foreach ($element as $page => $url) @if ($page == $paginator->currentPage()) {{ $page }} @else {{ $page }} @endif @endforeach @endif @endforeach {{-- Next Page Link --}} {{-- --}} {{-- --}} {{-- Next--}} {{-- --}} {{-- --}} {{-- Pagination Summary --}} {{-- --}} {{-- --}} {{-- Showing {{ $paginator->firstItem() }} – {{ $paginator->lastItem() }} of {{ $paginator->total() }} results--}} {{-- --}} {{-- --}} @endif