@extends('layouts.frontlayout') @section('content') {{ $home->banner_title }} {{ $home->banner_description }} Location @foreach($locations as $locationsKey => $locationsVlaue) {{ $locationsVlaue['countries_name'] }} @endforeach Select Breed @foreach($breed as $breedKey => $breedVlaue) {{ $breedVlaue['breed_name'] }} @endforeach Search @if(isset($highlightsListing) && $highlightsListing->toArray()) Highlights @foreach($highlightsListing as $p) @php $image = isset($p['image']) && $p['image'] ? json_decode($p['image']) : []; @endphp {{ $p['title'] }} @php $microchips = []; if(count($p['dog_microchip']) > 0) { foreach($p['dog_microchip'] as $k => $d) { $microchips[] = $d['gender']; } } @endphp @if(isset($microchips) && $microchips && in_array('male', $microchips) && isset($microchips) && $microchips && in_array('female', $microchips)) @elseif(isset($microchips) && $microchips && in_array('male', $microchips) && !in_array('female', $microchips)) @elseif(isset($microchips) && $microchips && in_array('female', $microchips) && !in_array('male', $microchips)) @endif @if(isset($p['state_name']) && $p['state_name'] || isset($p['country_name']) && $p['country_name'] || isset($p['price']) && $p['price'] > 0) @if(isset($p['state_name']) && $p['state_name'] || isset($p['country_name']) && $p['country_name']) @if(isset($p['state_name']) && $p['state_name'] && isset($p['country_name']) && $p['country_name']) {{ $p['state_name'].', '.$p['country_name'] }} @elseif(!isset($p['state_name']) && isset($p['country_name']) && $p['country_name']) {{ $p['country_name'] }} @endif @endif @if(isset($p['price']) && $p['price'] > 0.00 && $p->price_status == 1 && $p->ad_type == 'available_dogs') {{ priceformat($p['price']) }} @endif @endif @if(isset($loginUserId) && $loginUserId) @if(isset($p['favourite']) && $p['favourite']) @else @endif @else @endif @endforeach @endif @if(isset($products) && $products->toArray()) Latest Listings @foreach($products as $key => $p) @php $images = isset($p['image']) && $p['image'] ? json_decode($p['image']) : []; @endphp @if(isset($p['favourite']) && $p['favourite']) @else @endif {{ $p['title'] }} @php $microchips = []; if(count($p['dog_microchip']) > 0) { foreach($p['dog_microchip'] as $k => $d) { $microchips[] = $d['gender']; } } @endphp @if(isset($microchips) && $microchips && in_array('male', $microchips) && isset($microchips) && $microchips && in_array('female', $microchips)) @elseif(isset($microchips) && $microchips && in_array('male', $microchips) && !in_array('female', $microchips)) @elseif(isset($microchips) && $microchips && in_array('female', $microchips) && !in_array('male', $microchips)) @endif {{-- @if(isset($p['gender']) && $p['gender'] == 'male' ) @elseif(isset($p['gender']) && $p['gender'] == 'female' ) @endif --}} @if(isset($p['state_name']) && $p['state_name'] || isset($p['country_name']) && $p['country_name'] || isset($p['price']) && $p['price'] > 0) @if(isset($p['state_name']) && $p['state_name'] || isset($p['country_name']) && $p['country_name']) @if(isset($p['state_name']) && $p['state_name'] && isset($p['country_name']) && $p['country_name']) {{ $p['state_name'].', '.$p['country_name'] }} @elseif(!isset($p['state_name']) && isset($p['country_name']) && $p['country_name']) {{ $p['country_name'] }} @endif @endif @if(isset($p['price']) && $p['price'] > 0.00 && $p->price_status == 1 && $p->ad_type == 'available_dogs') {{ price_format($p['price']) }} @endif @endif @endforeach @endif {{ $home->pet_title }} @if(isset($home->pet_link_title) && $home->pet_link_title) {{ $home->pet_link_title }} @endif @if(isset($breeders) && $breeders->toArray()) Breeders @foreach($breeders as $b) @php $images = isset($b['image']) && $b['image'] ? json_decode($b['image']) : []; @endphp @if(isset($b['favourite']) && $b['favourite']) @else @endif {{ $b['title'] }} @if(isset($b['state_name']) && $b['state_name'] || isset($b['country_name']) && $b['country_name']) @if(isset($b['state_name']) && $b['state_name'] || isset($b['country_name']) && $b['country_name']) @if(isset($b['state_name']) && $b['state_name'] && isset($b['country_name']) && $b['country_name']) {{ $b['state_name'].', '.$b['country_name'] }} @elseif(!isset($b['state_name']) && isset($b['country_name']) && $b['country_name']) {{ $b['country_name'] }} @endif @endif @endif @endforeach @endif @if(isset($testimonials) && $testimonials->toArray()) SAFE4dogs @foreach($testimonials as $p) {{ $p['description'] }} {{ $p['name'] }} {{ $p['designation'] }} @endforeach @endif @endsection
{{ $home->banner_description }}
{{ $p['title'] }}
{{ $b['title'] }}
{{ $p['description'] }}
{{ $p['name'] }}