Viewing file: a9c194aad8754d4421400aa681faab68.php (7.31 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php $attributes ??= new \Illuminate\View\ComponentAttributeBag; ?> <?php foreach($attributes->onlyProps(['ad' => null]) as $__key => $__value) { $$__key = $$__key ?? $__value; } ?> <?php $attributes = $attributes->exceptProps(['ad' => null]); ?> <?php foreach (array_filter((['ad' => null]), 'is_string', ARRAY_FILTER_USE_KEY) as $__key => $__value) { $$__key = $$__key ?? $__value; } ?> <?php $__defined_vars = get_defined_vars(); ?> <?php foreach ($attributes as $__key => $__value) { if (array_key_exists($__key, $__defined_vars)) unset($$__key); } ?> <?php unset($__defined_vars); ?>
<div class="details-header flex sm:flex-row flex-col sm:gap-4 gap-2 justify-between items-start sm:px-6 px-3 sm:pt-6 pt-3 pb-3 sm:pb-5"> <div class="flex flex-col sm:gap-3 gap-2"> <h3 class="heading-05 text-gray-900 dark:text-white"> <?php echo e($ad?->title ?? ''); ?>
</h3> <div class="flex gap-4 flex-wrap"> <div class="flex gap-2 items-center text-primary-500 dark:text-primary-300 body-md-500"> <?php if (isset($component)) { $__componentOriginalef6bd1080f9b486223b048174f77e1df = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginalef6bd1080f9b486223b048174f77e1df = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.frontend.icons.solid-tag','data' => ['class' => 'w-5 h-5']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('frontend.icons.solid-tag'); ?> <?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(['class' => 'w-5 h-5']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginalef6bd1080f9b486223b048174f77e1df)): ?> <?php $attributes = $__attributesOriginalef6bd1080f9b486223b048174f77e1df; ?> <?php unset($__attributesOriginalef6bd1080f9b486223b048174f77e1df); ?> <?php endif; ?> <?php if (isset($__componentOriginalef6bd1080f9b486223b048174f77e1df)): ?> <?php $component = $__componentOriginalef6bd1080f9b486223b048174f77e1df; ?> <?php unset($__componentOriginalef6bd1080f9b486223b048174f77e1df); ?> <?php endif; ?> <span> <a href="<?php echo e(route('frontend.ads.category', $ad?->category?->slug ?? '')); ?>"><?php echo e($ad?->category?->name ?? ''); ?></a>
<?php if(isset($ad->subcategory)): ?> / <a href="<?php echo e(route('frontend.ads.sub.category', ['slug' => $ad->category->slug ?? '', 'subslug' => $ad->subcategory->slug ?? ''])); ?>"> <?php echo e($ad->subcategory->name ?? ''); ?>
</a> <?php endif; ?> </span> </div> <div class="flex gap-2 items-center text-gray-700 dark:text-gray-300 body-sm-400"> <?php if (isset($component)) { $__componentOriginal1ffe0fb80ac9532c861d615e8e6f1324 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal1ffe0fb80ac9532c861d615e8e6f1324 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.frontend.icons.outline-clock','data' => ['class' => 'w-5 h-5']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('frontend.icons.outline-clock'); ?> <?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(['class' => 'w-5 h-5']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal1ffe0fb80ac9532c861d615e8e6f1324)): ?> <?php $attributes = $__attributesOriginal1ffe0fb80ac9532c861d615e8e6f1324; ?> <?php unset($__attributesOriginal1ffe0fb80ac9532c861d615e8e6f1324); ?> <?php endif; ?> <?php if (isset($__componentOriginal1ffe0fb80ac9532c861d615e8e6f1324)): ?> <?php $component = $__componentOriginal1ffe0fb80ac9532c861d615e8e6f1324; ?> <?php unset($__componentOriginal1ffe0fb80ac9532c861d615e8e6f1324); ?> <?php endif; ?> <span> <?php echo e(formatTime($ad?->created_at, 'M d, Y h:i A')); ?>
</span> </div> </div> </div> <div class="flex flex-wrap gap-4"> <?php if(auth()->id() == $ad->user_id): ?> <div class="inline-flex"> <a href="<?php echo e(route('frontend.post.edit', $ad->slug)); ?>" class="inline-flex gap-1 items-center transition-all duration-300 heading-08 text-primary-500 dark:text-primary-300 hover:text-primary-700"> <?php if (isset($component)) { $__componentOriginal7431f603892fd94140e7c4580df96cfb = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal7431f603892fd94140e7c4580df96cfb = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.svg.edit-icon','data' => ['stroke' => '#007aff','fill' => '#007aff']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('svg.edit-icon'); ?> <?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(['stroke' => '#007aff','fill' => '#007aff']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal7431f603892fd94140e7c4580df96cfb)): ?> <?php $attributes = $__attributesOriginal7431f603892fd94140e7c4580df96cfb; ?> <?php unset($__attributesOriginal7431f603892fd94140e7c4580df96cfb); ?> <?php endif; ?> <?php if (isset($__componentOriginal7431f603892fd94140e7c4580df96cfb)): ?> <?php $component = $__componentOriginal7431f603892fd94140e7c4580df96cfb; ?> <?php unset($__componentOriginal7431f603892fd94140e7c4580df96cfb); ?> <?php endif; ?> <span class="whitespace-nowrap"><?php echo e(__('edit')); ?></span> </a> </div> <?php endif; ?>
</div> </div>
<?php /**PATH E:\add listing 8-9-25\addListing\resources\views/components/frontend/ad-card/details/header.blade.php ENDPATH**/ ?>
|