Viewing file: 09f3ed7015376822b38a2fe58b0668f9.php (36.58 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php $attributes ??= new \Illuminate\View\ComponentAttributeBag; ?> <?php foreach($attributes->onlyProps(['plan']) as $__key => $__value) { $$__key = $$__key ?? $__value; } ?> <?php $attributes = $attributes->exceptProps(['plan']); ?> <?php foreach (array_filter((['plan']), '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="relative price_plan_<?php echo e($plan->plan_payment_type); ?>"> <?php if($plan->recommended): ?> <span class="absolute left-[50%] translate-x-[-50%] top-[-0.825rem] uppercase bg-primary-50 rounded-full py-[0.38rem] px-[0.75rem] cation-04 text-primary-500"><?php echo e(__('recommended')); ?></span> <?php endif; ?> <div class="rounded-[0.75rem] border hover:border-primary-400 transition duration-200 ease-linear group <?php echo e($plan->recommended ? 'border-primary-400' : 'border-primary-100'); ?> shadow-[0px_8px_8px_-4px_rgba(28,33,38,0.03),0px_20px_24px_-4px_rgba(28,_33,_38,_0.08)] overflow-hidden">
<div class="border-b border-b-gray-100 py-[1.5rem] text-center space-y-[1rem] dark:bg-white"> <div> <h5 class="heading-06 text-gray-900 "><?php echo e($plan->label); ?></h5> </div> <div> <p class="flex items-end gap-1 justify-center"> <?php if($plan->label == 'Free'): ?> <span class="text-error-500 heading-03"> <?php echo e(changeCurrency($plan->price)); ?>0.00 </span> <?php else: ?> <span class="text-error-500 heading-03"> <?php echo e(changeCurrency($plan->price)); ?>
</span> <?php endif; ?> <?php if($plan->plan_payment_type == 'recurring'): ?> <?php if($plan->interval == 'custom_date'): ?> <small class="body-md-400 text-gray-700">/<?php echo e($plan->custom_interval_days); ?>
<?php echo e(__('days')); ?></small> <?php else: ?> <small class="body-md-400 text-gray-700">/ <?php if($plan->interval == 'yearly'): ?> <?php echo e(__('yearly')); ?>
<?php endif; ?> <?php if($plan->interval == 'monthly'): ?> <?php echo e(__('monthly')); ?>
<?php endif; ?> </small> <?php endif; ?> <?php endif; ?> </p> </div> </div> <ul class="p-[1.5rem] space-y-[0.75rem] dark:bg-white"> <li class="flex items-center body-md-400 text-gray-900 gap-[0.38rem]"> <?php if($plan->ad_limit === 0): ?> <span class="h-[1.5rem] w-[1.5rem] rounded-full bg-red-500 text-white font-bold flex items-center justify-center"> <?php if (isset($component)) { $__componentOriginal8535c28c95fc85c74277752019685775 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal8535c28c95fc85c74277752019685775 = $attributes; } ?> <?php $component = App\View\Components\Svg\CrossIcon::resolve([] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('svg.cross-icon'); ?> <?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\Svg\CrossIcon::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($__attributesOriginal8535c28c95fc85c74277752019685775)): ?> <?php $attributes = $__attributesOriginal8535c28c95fc85c74277752019685775; ?> <?php unset($__attributesOriginal8535c28c95fc85c74277752019685775); ?> <?php endif; ?> <?php if (isset($__componentOriginal8535c28c95fc85c74277752019685775)): ?> <?php $component = $__componentOriginal8535c28c95fc85c74277752019685775; ?> <?php unset($__componentOriginal8535c28c95fc85c74277752019685775); ?> <?php endif; ?> </span> <?php echo e(__('listing_post')); ?> : <?php echo e(__('not_included')); ?>
<?php else: ?> <span class="h-[1.5rem] w-[1.5rem] rounded-full bg-primary-500 text-white font-bold flex items-center justify-center"> <?php if (isset($component)) { $__componentOriginal5f534b914d80e877873d64c186bf1b89 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal5f534b914d80e877873d64c186bf1b89 = $attributes; } ?> <?php $component = App\View\Components\Svg\CheckIcon::resolve([] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('svg.check-icon'); ?> <?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\Svg\CheckIcon::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($__attributesOriginal5f534b914d80e877873d64c186bf1b89)): ?> <?php $attributes = $__attributesOriginal5f534b914d80e877873d64c186bf1b89; ?> <?php unset($__attributesOriginal5f534b914d80e877873d64c186bf1b89); ?> <?php endif; ?> <?php if (isset($__componentOriginal5f534b914d80e877873d64c186bf1b89)): ?> <?php $component = $__componentOriginal5f534b914d80e877873d64c186bf1b89; ?> <?php unset($__componentOriginal5f534b914d80e877873d64c186bf1b89); ?> <?php endif; ?> </span> <?php echo e(__('listing_post_limit')); ?> : <?php echo e($plan->ad_limit); ?>
<?php endif; ?> </li>
<li class="flex items-center body-md-400 text-gray-900 gap-[0.38rem] <?php echo e($plan->featured_limit ? 'active' : ''); ?>"> <?php if($plan->featured_limit === 0): ?> <span class="h-[1.5rem] w-[1.5rem] rounded-full bg-red-500 text-white font-bold flex items-center justify-center"> <?php if (isset($component)) { $__componentOriginal8535c28c95fc85c74277752019685775 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal8535c28c95fc85c74277752019685775 = $attributes; } ?> <?php $component = App\View\Components\Svg\CrossIcon::resolve([] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('svg.cross-icon'); ?> <?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\Svg\CrossIcon::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($__attributesOriginal8535c28c95fc85c74277752019685775)): ?> <?php $attributes = $__attributesOriginal8535c28c95fc85c74277752019685775; ?> <?php unset($__attributesOriginal8535c28c95fc85c74277752019685775); ?> <?php endif; ?> <?php if (isset($__componentOriginal8535c28c95fc85c74277752019685775)): ?> <?php $component = $__componentOriginal8535c28c95fc85c74277752019685775; ?> <?php unset($__componentOriginal8535c28c95fc85c74277752019685775); ?> <?php endif; ?> </span> <?php echo e(__('featured_listing')); ?> : <?php echo e(__('not_included')); ?>
<?php else: ?> <span class="h-[1.5rem] w-[1.5rem] rounded-full bg-primary-500 text-white font-bold flex items-center justify-center"> <?php if (isset($component)) { $__componentOriginal5f534b914d80e877873d64c186bf1b89 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal5f534b914d80e877873d64c186bf1b89 = $attributes; } ?> <?php $component = App\View\Components\Svg\CheckIcon::resolve([] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('svg.check-icon'); ?> <?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\Svg\CheckIcon::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($__attributesOriginal5f534b914d80e877873d64c186bf1b89)): ?> <?php $attributes = $__attributesOriginal5f534b914d80e877873d64c186bf1b89; ?> <?php unset($__attributesOriginal5f534b914d80e877873d64c186bf1b89); ?> <?php endif; ?> <?php if (isset($__componentOriginal5f534b914d80e877873d64c186bf1b89)): ?> <?php $component = $__componentOriginal5f534b914d80e877873d64c186bf1b89; ?> <?php unset($__componentOriginal5f534b914d80e877873d64c186bf1b89); ?> <?php endif; ?> </span> <?php echo e(__('featured_listing_limit')); ?> : <?php echo e($plan->featured_limit); ?> <?php echo e(__('for')); ?> <?php echo e($plan->featured_duration < 1 ? __('lifetime') : $plan->featured_duration); ?>
<?php if($plan->featured_duration == 1): ?> <?php echo e(__('day')); ?>
<?php else: ?> <?php echo e(__('days')); ?>
<?php endif; ?>
<?php endif; ?> </li>
<li class="flex items-center body-md-400 text-gray-900 gap-[0.38rem] <?php echo e($plan->urgent_limit ? 'active' : ''); ?>"> <?php if($plan->urgent_limit === 0): ?> <span class="h-[1.5rem] w-[1.5rem] rounded-full bg-red-500 text-white font-bold flex items-center justify-center"> <?php if (isset($component)) { $__componentOriginal8535c28c95fc85c74277752019685775 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal8535c28c95fc85c74277752019685775 = $attributes; } ?> <?php $component = App\View\Components\Svg\CrossIcon::resolve([] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('svg.cross-icon'); ?> <?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\Svg\CrossIcon::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($__attributesOriginal8535c28c95fc85c74277752019685775)): ?> <?php $attributes = $__attributesOriginal8535c28c95fc85c74277752019685775; ?> <?php unset($__attributesOriginal8535c28c95fc85c74277752019685775); ?> <?php endif; ?> <?php if (isset($__componentOriginal8535c28c95fc85c74277752019685775)): ?> <?php $component = $__componentOriginal8535c28c95fc85c74277752019685775; ?> <?php unset($__componentOriginal8535c28c95fc85c74277752019685775); ?> <?php endif; ?> </span> <?php echo e(__('urgent_listing')); ?> : <?php echo e(__('not_included')); ?>
<?php else: ?> <span class="h-[1.5rem] w-[1.5rem] rounded-full bg-primary-500 text-white font-bold flex items-center justify-center"> <?php if (isset($component)) { $__componentOriginal5f534b914d80e877873d64c186bf1b89 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal5f534b914d80e877873d64c186bf1b89 = $attributes; } ?> <?php $component = App\View\Components\Svg\CheckIcon::resolve([] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('svg.check-icon'); ?> <?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\Svg\CheckIcon::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($__attributesOriginal5f534b914d80e877873d64c186bf1b89)): ?> <?php $attributes = $__attributesOriginal5f534b914d80e877873d64c186bf1b89; ?> <?php unset($__attributesOriginal5f534b914d80e877873d64c186bf1b89); ?> <?php endif; ?> <?php if (isset($__componentOriginal5f534b914d80e877873d64c186bf1b89)): ?> <?php $component = $__componentOriginal5f534b914d80e877873d64c186bf1b89; ?> <?php unset($__componentOriginal5f534b914d80e877873d64c186bf1b89); ?> <?php endif; ?> </span> <?php echo e(__('urgent_listing_limit')); ?> : <?php echo e($plan->urgent_limit); ?> <?php echo e(__('for')); ?> <?php echo e($plan->urgent_duration < 1 ? __('lifetime') : $plan->urgent_duration); ?>
<?php if($plan->urgent_duration == 1): ?> <?php echo e(__('day')); ?>
<?php else: ?> <?php echo e(__('days')); ?>
<?php endif; ?>
<?php endif; ?> </li>
<li class="flex items-center body-md-400 text-gray-900 gap-[0.38rem] <?php echo e($plan->highlight_limit ? 'active' : ''); ?>"> <?php if($plan->highlight_limit === 0): ?> <span class="h-[1.5rem] w-[1.5rem] rounded-full bg-red-500 text-white font-bold flex items-center justify-center"> <?php if (isset($component)) { $__componentOriginal8535c28c95fc85c74277752019685775 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal8535c28c95fc85c74277752019685775 = $attributes; } ?> <?php $component = App\View\Components\Svg\CrossIcon::resolve([] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('svg.cross-icon'); ?> <?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\Svg\CrossIcon::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($__attributesOriginal8535c28c95fc85c74277752019685775)): ?> <?php $attributes = $__attributesOriginal8535c28c95fc85c74277752019685775; ?> <?php unset($__attributesOriginal8535c28c95fc85c74277752019685775); ?> <?php endif; ?> <?php if (isset($__componentOriginal8535c28c95fc85c74277752019685775)): ?> <?php $component = $__componentOriginal8535c28c95fc85c74277752019685775; ?> <?php unset($__componentOriginal8535c28c95fc85c74277752019685775); ?> <?php endif; ?> </span> <?php echo e(__('highlight_listing')); ?> : <?php echo e(__('not_included')); ?>
<?php else: ?> <span class="h-[1.5rem] w-[1.5rem] rounded-full bg-primary-500 text-white font-bold flex items-center justify-center"> <?php if (isset($component)) { $__componentOriginal5f534b914d80e877873d64c186bf1b89 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal5f534b914d80e877873d64c186bf1b89 = $attributes; } ?> <?php $component = App\View\Components\Svg\CheckIcon::resolve([] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('svg.check-icon'); ?> <?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\Svg\CheckIcon::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($__attributesOriginal5f534b914d80e877873d64c186bf1b89)): ?> <?php $attributes = $__attributesOriginal5f534b914d80e877873d64c186bf1b89; ?> <?php unset($__attributesOriginal5f534b914d80e877873d64c186bf1b89); ?> <?php endif; ?> <?php if (isset($__componentOriginal5f534b914d80e877873d64c186bf1b89)): ?> <?php $component = $__componentOriginal5f534b914d80e877873d64c186bf1b89; ?> <?php unset($__componentOriginal5f534b914d80e877873d64c186bf1b89); ?> <?php endif; ?> </span> <?php echo e(__('highlight_listing_limit')); ?> : <?php echo e($plan->highlight_limit); ?> <?php echo e(__('for')); ?> <?php echo e($plan->highlight_duration < 1 ? __('lifetime') : $plan->highlight_duration); ?>
<?php if($plan->highlight_duration == 1): ?> <?php echo e(__('day')); ?>
<?php else: ?> <?php echo e(__('days')); ?>
<?php endif; ?>
<?php endif; ?> </li>
<li class="flex items-center body-md-400 text-gray-900 gap-[0.38rem] <?php echo e($plan->top_limit ? 'active' : ''); ?>"> <?php if($plan->top_limit === 0): ?> <span class="h-[1.5rem] w-[1.5rem] rounded-full bg-red-500 text-white font-bold flex items-center justify-center"> <?php if (isset($component)) { $__componentOriginal8535c28c95fc85c74277752019685775 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal8535c28c95fc85c74277752019685775 = $attributes; } ?> <?php $component = App\View\Components\Svg\CrossIcon::resolve([] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('svg.cross-icon'); ?> <?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\Svg\CrossIcon::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($__attributesOriginal8535c28c95fc85c74277752019685775)): ?> <?php $attributes = $__attributesOriginal8535c28c95fc85c74277752019685775; ?> <?php unset($__attributesOriginal8535c28c95fc85c74277752019685775); ?> <?php endif; ?> <?php if (isset($__componentOriginal8535c28c95fc85c74277752019685775)): ?> <?php $component = $__componentOriginal8535c28c95fc85c74277752019685775; ?> <?php unset($__componentOriginal8535c28c95fc85c74277752019685775); ?> <?php endif; ?> </span> <?php echo e(__('top_listing')); ?> : <?php echo e(__('not_included')); ?>
<?php else: ?> <span class="h-[1.5rem] w-[1.5rem] rounded-full bg-primary-500 text-white font-bold flex items-center justify-center"> <?php if (isset($component)) { $__componentOriginal5f534b914d80e877873d64c186bf1b89 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal5f534b914d80e877873d64c186bf1b89 = $attributes; } ?> <?php $component = App\View\Components\Svg\CheckIcon::resolve([] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('svg.check-icon'); ?> <?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\Svg\CheckIcon::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($__attributesOriginal5f534b914d80e877873d64c186bf1b89)): ?> <?php $attributes = $__attributesOriginal5f534b914d80e877873d64c186bf1b89; ?> <?php unset($__attributesOriginal5f534b914d80e877873d64c186bf1b89); ?> <?php endif; ?> <?php if (isset($__componentOriginal5f534b914d80e877873d64c186bf1b89)): ?> <?php $component = $__componentOriginal5f534b914d80e877873d64c186bf1b89; ?> <?php unset($__componentOriginal5f534b914d80e877873d64c186bf1b89); ?> <?php endif; ?> </span> <?php echo e(__('top_listing_limit')); ?> : <?php echo e($plan->top_limit); ?> <?php echo e(__('for')); ?> <?php echo e($plan->top_duration < 1 ? __('lifetime') : $plan->top_duration); ?>
<?php if($plan->top_duration == 1): ?> <?php echo e(__('day')); ?>
<?php else: ?> <?php echo e(__('days')); ?>
<?php endif; ?>
<?php endif; ?> </li>
<li class="flex items-center body-md-400 text-gray-900 gap-[0.38rem] <?php echo e($plan->bump_up_limit ? 'active' : ''); ?>"> <?php if($plan->bump_up_limit === 0): ?> <span class="h-[1.5rem] w-[1.5rem] rounded-full bg-red-500 text-white font-bold flex items-center justify-center"> <?php if (isset($component)) { $__componentOriginal8535c28c95fc85c74277752019685775 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal8535c28c95fc85c74277752019685775 = $attributes; } ?> <?php $component = App\View\Components\Svg\CrossIcon::resolve([] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('svg.cross-icon'); ?> <?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\Svg\CrossIcon::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($__attributesOriginal8535c28c95fc85c74277752019685775)): ?> <?php $attributes = $__attributesOriginal8535c28c95fc85c74277752019685775; ?> <?php unset($__attributesOriginal8535c28c95fc85c74277752019685775); ?> <?php endif; ?> <?php if (isset($__componentOriginal8535c28c95fc85c74277752019685775)): ?> <?php $component = $__componentOriginal8535c28c95fc85c74277752019685775; ?> <?php unset($__componentOriginal8535c28c95fc85c74277752019685775); ?> <?php endif; ?> </span> <?php echo e(__('bump_up_listing')); ?> : <?php echo e(__('not_included')); ?>
<?php else: ?> <span class="h-[1.5rem] w-[1.5rem] rounded-full bg-primary-500 text-white font-bold flex items-center justify-center"> <?php if (isset($component)) { $__componentOriginal5f534b914d80e877873d64c186bf1b89 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal5f534b914d80e877873d64c186bf1b89 = $attributes; } ?> <?php $component = App\View\Components\Svg\CheckIcon::resolve([] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('svg.check-icon'); ?> <?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\Svg\CheckIcon::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($__attributesOriginal5f534b914d80e877873d64c186bf1b89)): ?> <?php $attributes = $__attributesOriginal5f534b914d80e877873d64c186bf1b89; ?> <?php unset($__attributesOriginal5f534b914d80e877873d64c186bf1b89); ?> <?php endif; ?> <?php if (isset($__componentOriginal5f534b914d80e877873d64c186bf1b89)): ?> <?php $component = $__componentOriginal5f534b914d80e877873d64c186bf1b89; ?> <?php unset($__componentOriginal5f534b914d80e877873d64c186bf1b89); ?> <?php endif; ?> </span> <?php echo e(__('bump_up_listing_limit')); ?> : <?php echo e($plan->bump_up_limit); ?> <?php echo e(__('for')); ?> <?php echo e($plan->bump_up_duration < 1 ? __('lifetime') : $plan->bump_up_duration); ?>
<?php if($plan->bump_up_duration == 1): ?> <?php echo e(__('day')); ?>
<?php else: ?> <?php echo e(__('days')); ?>
<?php endif; ?> <?php endif; ?> </li>
<li class="flex items-center body-md-400 text-gray-900 gap-[0.38rem]"> <?php if(!$plan->badge): ?> <span class="h-[1.5rem] w-[1.5rem] rounded-full bg-red-500 text-white font-bold flex items-center justify-center"> <?php if (isset($component)) { $__componentOriginal8535c28c95fc85c74277752019685775 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal8535c28c95fc85c74277752019685775 = $attributes; } ?> <?php $component = App\View\Components\Svg\CrossIcon::resolve([] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('svg.cross-icon'); ?> <?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\Svg\CrossIcon::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($__attributesOriginal8535c28c95fc85c74277752019685775)): ?> <?php $attributes = $__attributesOriginal8535c28c95fc85c74277752019685775; ?> <?php unset($__attributesOriginal8535c28c95fc85c74277752019685775); ?> <?php endif; ?> <?php if (isset($__componentOriginal8535c28c95fc85c74277752019685775)): ?> <?php $component = $__componentOriginal8535c28c95fc85c74277752019685775; ?> <?php unset($__componentOriginal8535c28c95fc85c74277752019685775); ?> <?php endif; ?> </span> <?php echo e(__('membership_badge')); ?> : <?php echo e(__('not_included')); ?>
<?php else: ?> <span class="h-[1.5rem] w-[1.5rem] rounded-full bg-primary-500 text-white font-bold flex items-center justify-center"> <?php if (isset($component)) { $__componentOriginal5f534b914d80e877873d64c186bf1b89 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal5f534b914d80e877873d64c186bf1b89 = $attributes; } ?> <?php $component = App\View\Components\Svg\CheckIcon::resolve([] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('svg.check-icon'); ?> <?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\Svg\CheckIcon::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($__attributesOriginal5f534b914d80e877873d64c186bf1b89)): ?> <?php $attributes = $__attributesOriginal5f534b914d80e877873d64c186bf1b89; ?> <?php unset($__attributesOriginal5f534b914d80e877873d64c186bf1b89); ?> <?php endif; ?> <?php if (isset($__componentOriginal5f534b914d80e877873d64c186bf1b89)): ?> <?php $component = $__componentOriginal5f534b914d80e877873d64c186bf1b89; ?> <?php unset($__componentOriginal5f534b914d80e877873d64c186bf1b89); ?> <?php endif; ?> </span> <?php echo e(__('membership_badge')); ?>
<?php endif; ?> </li>
<li class="flex items-center body-md-400 text-gray-900 gap-[0.38rem]"> <?php if(!$plan->premium_member): ?> <span class="h-[1.5rem] w-[1.5rem] rounded-full bg-red-500 text-white font-bold flex items-center justify-center"> <?php if (isset($component)) { $__componentOriginal8535c28c95fc85c74277752019685775 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal8535c28c95fc85c74277752019685775 = $attributes; } ?> <?php $component = App\View\Components\Svg\CrossIcon::resolve([] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('svg.cross-icon'); ?> <?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\Svg\CrossIcon::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($__attributesOriginal8535c28c95fc85c74277752019685775)): ?> <?php $attributes = $__attributesOriginal8535c28c95fc85c74277752019685775; ?> <?php unset($__attributesOriginal8535c28c95fc85c74277752019685775); ?> <?php endif; ?> <?php if (isset($__componentOriginal8535c28c95fc85c74277752019685775)): ?> <?php $component = $__componentOriginal8535c28c95fc85c74277752019685775; ?> <?php unset($__componentOriginal8535c28c95fc85c74277752019685775); ?> <?php endif; ?> </span> <?php echo e(__('premium_membership')); ?> : <?php echo e(__('not_included')); ?>
<?php else: ?> <span class="h-[1.5rem] w-[1.5rem] rounded-full bg-primary-500 text-white font-bold flex items-center justify-center"> <?php if (isset($component)) { $__componentOriginal5f534b914d80e877873d64c186bf1b89 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal5f534b914d80e877873d64c186bf1b89 = $attributes; } ?> <?php $component = App\View\Components\Svg\CheckIcon::resolve([] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('svg.check-icon'); ?> <?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\Svg\CheckIcon::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($__attributesOriginal5f534b914d80e877873d64c186bf1b89)): ?> <?php $attributes = $__attributesOriginal5f534b914d80e877873d64c186bf1b89; ?> <?php unset($__attributesOriginal5f534b914d80e877873d64c186bf1b89); ?> <?php endif; ?> <?php if (isset($__componentOriginal5f534b914d80e877873d64c186bf1b89)): ?> <?php $component = $__componentOriginal5f534b914d80e877873d64c186bf1b89; ?> <?php unset($__componentOriginal5f534b914d80e877873d64c186bf1b89); ?> <?php endif; ?> </span> <?php echo e(__('premium_membership')); ?>
<?php endif; ?> </li> </ul> <div class="p-[1rem] bg-primary-50 rounded-bl-md -z-10">
<?php if(auth('user')->check()): ?> <?php if($plan->price == 0): ?> <form action="<?php echo e(route('purchase.free.plan')); ?>" method="POST"> <?php echo csrf_field(); ?> <input type="hidden" class="d-none tw-hidden" name="plan" value="<?php echo e($plan->id); ?>" readonly>
<button type="submit" class="bg-gray-500 <?php echo e($plan->recommended ? 'bg-primary-500 text-white hover:bg-primary-700' : 'bg-transparent border border-primary-500 text-primary-500 hover:text-white hover:bg-primary-500 group-hover:bg-primary-500 group-hover:text-white'); ?> py-[0.75rem] px-[1.25rem] flex items-center justify-center rounded-[0.5rem] heading-07 w-full transition duration-200 ease-linear "> <?php echo e(__('get_started')); ?>
</button> </form> <?php else: ?> <a href="<?php echo e(route('frontend.priceplanDetails', $plan->label)); ?>" class="bg-gray-500 <?php echo e($plan->recommended ? 'bg-primary-500 text-white hover:bg-primary-700' : 'bg-transparent border border-primary-500 text-primary-500 hover:text-white hover:bg-primary-500 group-hover:bg-primary-500 group-hover:text-white'); ?> py-[0.75rem] px-[1.25rem] flex items-center justify-center rounded-[0.5rem] heading-07 w-full transition duration-200 ease-linear "> <?php echo e(__('get_started')); ?>
</a> <?php endif; ?>
<?php else: ?> <a href="<?php echo e(route('users.login')); ?>" class="bg-gray-500 <?php echo e($plan->recommended ? 'bg-primary-500 text-white hover:bg-primary-700' : 'bg-transparent border border-primary-500 text-primary-500 hover:text-white hover:bg-primary-500 group-hover:bg-primary-500 group-hover:text-white'); ?> py-[0.75rem] px-[1.25rem] flex items-center justify-center rounded-[0.5rem] heading-07 w-full transition duration-200 ease-linear"> <?php echo e(__('get_started')); ?>
</a> <?php endif; ?>
</div> </div> </div> <?php /**PATH /home/picotech/domains/classify.picotech.app/public_html/resources/views/components/frontend/plan/single-plan.blade.php ENDPATH**/ ?>
|