@extends('front.layouts.master') @section('main_content') {{ $global_page_item->photo_gallery_page_title }} {{ __('Home') }} / {{ $global_page_item->photo_gallery_page_title }} @forelse($photos as $photo) @if($photo->caption != '') {{ $photo->caption }} @endif @empty {{ __('No Photo Found') }} @endforelse @if($photos->hasPages()) @php $current = $photos->currentPage(); $last = $photos->lastPage(); @endphp @if(!$photos->onFirstPage()) @endif @for($page=1;$page<=$last;$page++) @if($page === $current) {{ sprintf('%02d', $page) }} @else {{ sprintf('%02d', $page) }} @endif @endfor @if($photos->hasMorePages()) @endif @endif @endsection
{{ __('No Photo Found') }}