Viewing file: 7d80418eafd4053a1f405396aff30e66.php (20.77 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php $__env->startSection('title'); ?> <?php echo e($ad->title); ?>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('meta'); ?> <meta name="title" content="<?php echo e($ad->title); ?>"> <meta name="description" content="<?php echo e($ad->description); ?>">
<meta property="og:image" content="<?php echo e($ad->image_url); ?>" /> <meta property="og:site_name" content="<?php echo e(config('app.name')); ?>"> <meta property="og:title" content="<?php echo e($ad->title); ?>"> <meta property="og:url" content="<?php echo e(route('frontend.addetails', $ad->slug)); ?>"> <meta property="og:type" content="article"> <meta property="og:description" content="<?php echo e($ad->description); ?>">
<meta name=twitter:card content=summary_large_image /> <meta name=twitter:site content="<?php echo e(config('app.name')); ?>" /> <meta name=twitter:creator content="<?php echo e($ad->customer->name); ?>" /> <meta name=twitter:url content="<?php echo e(route('frontend.addetails', $ad->slug)); ?>" /> <meta name=twitter:title content="<?php echo e($ad->title); ?>" /> <meta name=twitter:description content="<?php echo e($ad->description); ?>" /> <meta name=twitter:image content="<?php echo e($ad->image_url); ?>" /> <?php $__env->stopSection(); ?>
<?php $__env->startSection('content'); ?> <div class="" x-data="{ filter: false }"> <?php if (isset($component)) { $__componentOriginal044f5af546c391ddc719bb44e1cd807e = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal044f5af546c391ddc719bb44e1cd807e = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.frontend.breadcrumb.breadcrumb','data' => ['links' => [['text' => $ad->title]]]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('frontend.breadcrumb.breadcrumb'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['links' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute([['text' => $ad->title]])]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal044f5af546c391ddc719bb44e1cd807e)): ?> <?php $attributes = $__attributesOriginal044f5af546c391ddc719bb44e1cd807e; ?> <?php unset($__attributesOriginal044f5af546c391ddc719bb44e1cd807e); ?> <?php endif; ?> <?php if (isset($__componentOriginal044f5af546c391ddc719bb44e1cd807e)): ?> <?php $component = $__componentOriginal044f5af546c391ddc719bb44e1cd807e; ?> <?php unset($__componentOriginal044f5af546c391ddc719bb44e1cd807e); ?> <?php endif; ?> <section class="pt-8 pb-16 dark:bg-gray-800"> <div class="container"> <div class="flex flex-col xl:flex-row gap-6 overflow-hidden"> <div class="details-wrap w-full"> <?php if (isset($component)) { $__componentOriginalc853dc3449edb1b391ef7fd0f0477b9f = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginalc853dc3449edb1b391ef7fd0f0477b9f = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.frontend.ad-card.details.header','data' => ['ad' => $ad]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('frontend.ad-card.details.header'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['ad' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($ad)]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginalc853dc3449edb1b391ef7fd0f0477b9f)): ?> <?php $attributes = $__attributesOriginalc853dc3449edb1b391ef7fd0f0477b9f; ?> <?php unset($__attributesOriginalc853dc3449edb1b391ef7fd0f0477b9f); ?> <?php endif; ?> <?php if (isset($__componentOriginalc853dc3449edb1b391ef7fd0f0477b9f)): ?> <?php $component = $__componentOriginalc853dc3449edb1b391ef7fd0f0477b9f; ?> <?php unset($__componentOriginalc853dc3449edb1b391ef7fd0f0477b9f); ?> <?php endif; ?> <div class="flex flex-col lg:flex-row gap-5"> <div class="w-full flex-grow lg:max-w-[70%] max-w-full overflow-hidden"> <?php if (isset($component)) { $__componentOriginalc086b60cba50e821e753626b127b70ff = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginalc086b60cba50e821e753626b127b70ff = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.frontend.ad-card.details.slider','data' => ['ad' => $ad]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('frontend.ad-card.details.slider'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['ad' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($ad)]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginalc086b60cba50e821e753626b127b70ff)): ?> <?php $attributes = $__attributesOriginalc086b60cba50e821e753626b127b70ff; ?> <?php unset($__attributesOriginalc086b60cba50e821e753626b127b70ff); ?> <?php endif; ?> <?php if (isset($__componentOriginalc086b60cba50e821e753626b127b70ff)): ?> <?php $component = $__componentOriginalc086b60cba50e821e753626b127b70ff; ?> <?php unset($__componentOriginalc086b60cba50e821e753626b127b70ff); ?> <?php endif; ?> <?php if (isset($component)) { $__componentOriginal727990d58de71e37c417985a35530029 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal727990d58de71e37c417985a35530029 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.frontend.ad-card.details.info','data' => ['ad' => $ad,'productCustomFieldGroups' => $product_custom_field_groups]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('frontend.ad-card.details.info'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['ad' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($ad),'product_custom_field_groups' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($product_custom_field_groups)]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal727990d58de71e37c417985a35530029)): ?> <?php $attributes = $__attributesOriginal727990d58de71e37c417985a35530029; ?> <?php unset($__attributesOriginal727990d58de71e37c417985a35530029); ?> <?php endif; ?> <?php if (isset($__componentOriginal727990d58de71e37c417985a35530029)): ?> <?php $component = $__componentOriginal727990d58de71e37c417985a35530029; ?> <?php unset($__componentOriginal727990d58de71e37c417985a35530029); ?> <?php endif; ?> </div> <div class="flex flex-col lg:max-w-[30%] gap-6"> <?php if (isset($component)) { $__componentOriginal0af44811ff667067adccee1f31713b5b = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal0af44811ff667067adccee1f31713b5b = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.frontend.ad-card.details.sidebar-top','data' => ['ad' => $ad]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('frontend.ad-card.details.sidebar-top'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['ad' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($ad)]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal0af44811ff667067adccee1f31713b5b)): ?> <?php $attributes = $__attributesOriginal0af44811ff667067adccee1f31713b5b; ?> <?php unset($__attributesOriginal0af44811ff667067adccee1f31713b5b); ?> <?php endif; ?> <?php if (isset($__componentOriginal0af44811ff667067adccee1f31713b5b)): ?> <?php $component = $__componentOriginal0af44811ff667067adccee1f31713b5b; ?> <?php unset($__componentOriginal0af44811ff667067adccee1f31713b5b); ?> <?php endif; ?> <?php if (isset($component)) { $__componentOriginal8211af5c07968057213dd965d6b5cc94 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal8211af5c07968057213dd965d6b5cc94 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.frontend.ad-card.details.sidebar-bottom','data' => ['ad' => $ad]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('frontend.ad-card.details.sidebar-bottom'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['ad' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($ad)]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal8211af5c07968057213dd965d6b5cc94)): ?> <?php $attributes = $__attributesOriginal8211af5c07968057213dd965d6b5cc94; ?> <?php unset($__attributesOriginal8211af5c07968057213dd965d6b5cc94); ?> <?php endif; ?> <?php if (isset($__componentOriginal8211af5c07968057213dd965d6b5cc94)): ?> <?php $component = $__componentOriginal8211af5c07968057213dd965d6b5cc94; ?> <?php unset($__componentOriginal8211af5c07968057213dd965d6b5cc94); ?> <?php endif; ?> </div> </div> <?php if (isset($component)) { $__componentOriginal688f7583a6d7b19c99b63269835b4bde = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal688f7583a6d7b19c99b63269835b4bde = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.frontend.ad-card.details.footer','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('frontend.ad-card.details.footer'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes([]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal688f7583a6d7b19c99b63269835b4bde)): ?> <?php $attributes = $__attributesOriginal688f7583a6d7b19c99b63269835b4bde; ?> <?php unset($__attributesOriginal688f7583a6d7b19c99b63269835b4bde); ?> <?php endif; ?> <?php if (isset($__componentOriginal688f7583a6d7b19c99b63269835b4bde)): ?> <?php $component = $__componentOriginal688f7583a6d7b19c99b63269835b4bde; ?> <?php unset($__componentOriginal688f7583a6d7b19c99b63269835b4bde); ?> <?php endif; ?> </div> </div> </div> </section> <!-- Related Listing --> <section class="pt-16 bg-gray-50 dark:bg-gray-900"> <div class="container"> <h2 class="heading-03 dark:text-white text-center mb-8"><?php echo e(__('related_ads')); ?></h2> <?php if($related_ads): ?> <div class="grid gap-6 grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4"> <?php $__currentLoopData = $related_ads; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $ad): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php if (isset($component)) { $__componentOriginal1e475bc73450b1a01336b85f187fc6e2 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal1e475bc73450b1a01336b85f187fc6e2 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.frontend.ad-card.card','data' => ['ad' => $ad]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('frontend.ad-card.card'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['ad' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($ad)]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal1e475bc73450b1a01336b85f187fc6e2)): ?> <?php $attributes = $__attributesOriginal1e475bc73450b1a01336b85f187fc6e2; ?> <?php unset($__attributesOriginal1e475bc73450b1a01336b85f187fc6e2); ?> <?php endif; ?> <?php if (isset($__componentOriginal1e475bc73450b1a01336b85f187fc6e2)): ?> <?php $component = $__componentOriginal1e475bc73450b1a01336b85f187fc6e2; ?> <?php unset($__componentOriginal1e475bc73450b1a01336b85f187fc6e2); ?> <?php endif; ?> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> <?php else: ?> <div> <?php if (isset($component)) { $__componentOriginal1d4836cf2a383e6bf24022dc2d7bd279 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal1d4836cf2a383e6bf24022dc2d7bd279 = $attributes; } ?> <?php $component = App\View\Components\NotFound2::resolve([] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('not-found2'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(App\View\Components\NotFound2::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes([]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal1d4836cf2a383e6bf24022dc2d7bd279)): ?> <?php $attributes = $__attributesOriginal1d4836cf2a383e6bf24022dc2d7bd279; ?> <?php unset($__attributesOriginal1d4836cf2a383e6bf24022dc2d7bd279); ?> <?php endif; ?> <?php if (isset($__componentOriginal1d4836cf2a383e6bf24022dc2d7bd279)): ?> <?php $component = $__componentOriginal1d4836cf2a383e6bf24022dc2d7bd279; ?> <?php unset($__componentOriginal1d4836cf2a383e6bf24022dc2d7bd279); ?> <?php endif; ?> </div> <?php endif; ?> <div class="my-8 text-center"> <a href="<?php echo e(route('frontend.ads')); ?>" class="btn-primary"> <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-6 h-6"> <path stroke-linecap="round" stroke-linejoin="round" d="M21 21l-5.197-5.197m0 0A7.5 7.5 0 105.196 5.196a7.5 7.5 0 0010.607 10.607z" /> </svg> <span><?php echo e(__('browse_all')); ?></span> </a> </div> </div> </section> </div> <?php $__env->stopSection(); ?>
<?php $__env->startPush('css'); ?> <!-- Add venobox --> <link rel="stylesheet" href="<?php echo e(asset('frontend/css/leaflet.css')); ?>" /> <link rel="stylesheet" href="<?php echo e(asset('frontend/css/venobox.min.css')); ?>" type="text/css" /> <style> .vbox-child { max-width: 750px !important; }
.leaflet-shadow-pane { display: none; } </style> <?php $__env->stopPush(); ?>
<?php $__env->startPush('js'); ?> <!-- Add venobox --> <script type="text/javascript" src="<?php echo e(asset('frontend/js/venobox.min.js')); ?>"></script> <script> $(document).ready(function() { /* default settings */ $('.venobox').venobox(); }); </script> <script src="<?php echo e(asset('frontend/js/leaflet.js')); ?>"></script> <script> var oldlat = <?php echo $ad->lat ? $ad->lat : $setting->default_lat; ?>; var oldlng = <?php echo $ad->long ? $ad->long : $setting->default_long; ?>; var map = L.map('map').setView([oldlat, oldlng], 8); L.tileLayer('https://tile.openstreetmap.org/{z}/{x}/{y}.png', { maxZoom: 19, attribution: '© <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a>' }).addTo(map); var marker = L.marker([oldlat, oldlng], { draggable: true, }).addTo(map); // var circle = L.circle([oldlat,oldlng], { // color: 'red', // fillColor: '#f03', // fillOpacity: 1.5, // radius: 5000 // }).addTo(map); </script> <script> let isToastVisible = true;
window.addEventListener('alert', event => { if (!isToastVisible) { isToastVisible = true;
toastr.clear();
toastr.options = { "closeButton": true, "progressBar": false, "onHidden": function() { isToastVisible = false; } };
toastr[event.detail.type]( event.detail.message, event.detail.title ?? '' ); } }); </script> <?php $__env->stopPush(); ?>
<?php echo $__env->make('frontend.layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH E:\add listing 8-9-25\addListing\resources\views/frontend/ad-details.blade.php ENDPATH**/ ?>
|