Viewing file: fb3aa052cf17d1ac33f1493502a5ff2c.php (7.67 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php $__env->startSection('title'); ?> <?php echo e(__('my_listing')); ?>
<?php $__env->stopSection(); ?> <?php $__env->startSection('dashboard-content'); ?> <?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' => [['url' => 'dashboard', 'text' => __('dashboard')], ['url' => '#', 'text' => __('my_listing')]]]] + (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([['url' => 'dashboard', 'text' => __('dashboard')], ['url' => '#', 'text' => __('my_listing')]])]); ?> <?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; ?> <div class="container mt-[2rem] pb-5">
<?php if($ads->count()): ?> <div class="flex justify-between items-center"> <h3 class="heading-03 dark:text-white text-gray-900"><?php echo e(__('my_listing')); ?></h3> <a href="<?php echo e(route('frontend.post')); ?>" class="inline-flex justify-center items-center gap-2 py-3 px-5 rounded-md transition-all duration-300 bg-primary-500 hover:bg-primary-600 text-white heading-07"> <small class="w-[1.5rem] h-[1.5rem] rounded-full bg-white text-primary-500 flex items-center justify-center"> <?php if (isset($component)) { $__componentOriginalca6d573905793a8414e21ad0243603ed = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginalca6d573905793a8414e21ad0243603ed = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.frontend.icons.plus','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('frontend.icons.plus'); ?> <?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($__attributesOriginalca6d573905793a8414e21ad0243603ed)): ?> <?php $attributes = $__attributesOriginalca6d573905793a8414e21ad0243603ed; ?> <?php unset($__attributesOriginalca6d573905793a8414e21ad0243603ed); ?> <?php endif; ?> <?php if (isset($__componentOriginalca6d573905793a8414e21ad0243603ed)): ?> <?php $component = $__componentOriginalca6d573905793a8414e21ad0243603ed; ?> <?php unset($__componentOriginalca6d573905793a8414e21ad0243603ed); ?> <?php endif; ?> </small> <span><?php echo e(__('post_new_listing')); ?></span> </a> </div> <div class="mt-6 lg:flex grid min-[900px]:grid-cols-3 sm:grid-cols-2 grid-cols-1 gap-6 flex-col"> <?php $__currentLoopData = $ads; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $ad): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php if (isset($component)) { $__componentOriginal2a53031b95b6ecfec8e27d52699d6533 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal2a53031b95b6ecfec8e27d52699d6533 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.frontend.my-listing.listing-card','data' => ['ad' => $ad,'userPlan' => $user_plan_data,'plan' => $plan]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('frontend.my-listing.listing-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),'userPlan' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($user_plan_data),'plan' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($plan)]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal2a53031b95b6ecfec8e27d52699d6533)): ?> <?php $attributes = $__attributesOriginal2a53031b95b6ecfec8e27d52699d6533; ?> <?php unset($__attributesOriginal2a53031b95b6ecfec8e27d52699d6533); ?> <?php endif; ?> <?php if (isset($__componentOriginal2a53031b95b6ecfec8e27d52699d6533)): ?> <?php $component = $__componentOriginal2a53031b95b6ecfec8e27d52699d6533; ?> <?php unset($__componentOriginal2a53031b95b6ecfec8e27d52699d6533); ?> <?php endif; ?> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> <?php if($ads->total() > $ads->count()): ?> <div class="card-footer "> <div class="d-flex justify-content-center"> <?php echo e($ads->links('vendor.pagination.custom')); ?>
</div> </div> <?php endif; ?> <?php else: ?> <div class="py-32 text-center"> <h3 class="heading-03 text-gray-900"><?php echo e(__('you_have_no_ads_item')); ?></h3> </div> <?php endif; ?>
</div> <?php $__env->stopSection(); ?>
<style> @media screen and (max-width: 767px) { .mobile-hidden { display: none !important; } } .promote-ad { min-width: 150px; text-align: center; } .promote-ad:has(input:checked) { border-color: var(--primary-500); background: var(--primary-50); } </style>
<?php echo $__env->make('frontend.layouts.dashboard', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH E:\add listing 8-9-25\addListing\resources\views/frontend/my-listing.blade.php ENDPATH**/ ?>
|