@extends('layouts.app') @section('content') {{-- TOP SECTION --}}

Photo Gallery

{{-- MAIN CONTENT --}}
{{-- MAIN AREA --}}
{{-- Title --}}

{{ preg_replace('/[^A-Za-z0-9_]/', ' ', $ArrViewPhotos->title) }}

{{-- MAIN IMAGE BLOCK --}}
{{-- MAIN PHOTO --}} @foreach ($ArrViewPhotos->photos as $key => $photo) @if ($key == 0)
{{ $photo->phototitle }}
@endif @endforeach {{-- THUMBNAILS --}}
@foreach ($ArrViewPhotos->photos as $key => $photo) @if ($key != 0) {{ $photo->phototitle }} @endif @endforeach
{{-- AUTHOR + DATE + SHARE --}}
{{-- LEFT - AUTHOR & DATE --}}
Author

e4m Staff

@php $date = \Carbon\Carbon::parse($ArrViewPhotos->created_at); @endphp

{{ $date->diffInWeeks() > 1 ? $date->format('M d, Y h:i A') : $date->diffForHumans() }}

{{-- RIGHT - SOCIAL SHARE --}}

{{-- LATEST GALLERY TITLE --}}

LATEST Gallery

{{-- LATEST GALLERY LOOP --}} @foreach ($ArrlistingPhotos as $Photos) @php $listingDate = \Carbon\Carbon::parse($Photos->created_at); @endphp
{{ $Photos->title }}

{{ $Photos->title }}

e4m Staff {{ $listingDate->diffInWeeks() > 1 ? $listingDate->format('M d, Y h:i A') : $listingDate->diffForHumans() }}

View Gallery
{{-- SOCIAL SHARE --}}

@endforeach
{{-- RIGHT SIDEBAR --}} @include('article.rightsidebar')
@endsection