Viewing file: 8dd739e55cb3983ee800d7674b9a3a57.php (16.32 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php $__env->startSection('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' => [['text' => 'Dashboard', 'url' => '/dashboard'], ['text' => 'Edit Post']]]] + (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' => 'Dashboard', 'url' => '/dashboard'], ['text' => 'Edit Post']])]); ?> <?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="py-16"> <div class="container"> <div class="mx-auto" style="max-width: 872px;"> <div class="flex flex-wrap gap-4 justify-between items-center mb-6"> <h2 class="sm:heading-01 heading-03 dark:text-white text-gray-900"><?php echo e(__('edit_listing')); ?></h2> <a href="<?php echo e(route('frontend.dashboard')); ?>" class="inline-flex gap-1 items-center transition-all duration-300 heading-07 text-primary-500 hover:text-primary-700"> <?php if (isset($component)) { $__componentOriginal7ac0fd125c512b7fd34e5a012a7f4abc = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal7ac0fd125c512b7fd34e5a012a7f4abc = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.svg.heroicons.arrow-left','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('svg.heroicons.arrow-left'); ?> <?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($__attributesOriginal7ac0fd125c512b7fd34e5a012a7f4abc)): ?> <?php $attributes = $__attributesOriginal7ac0fd125c512b7fd34e5a012a7f4abc; ?> <?php unset($__attributesOriginal7ac0fd125c512b7fd34e5a012a7f4abc); ?> <?php endif; ?> <?php if (isset($__componentOriginal7ac0fd125c512b7fd34e5a012a7f4abc)): ?> <?php $component = $__componentOriginal7ac0fd125c512b7fd34e5a012a7f4abc; ?> <?php unset($__componentOriginal7ac0fd125c512b7fd34e5a012a7f4abc); ?> <?php endif; ?> <span><?php echo e(__('back_dashboard')); ?></span> </a> </div> <?php if($errors->any()): ?> <div class="flex p-4 mb-4 text-sm text-red-800 rounded-lg bg-red-50 dark:bg-gray-800 dark:text-red-400" role="alert"> <?php if (isset($component)) { $__componentOriginal206a40d3a0fee739ddfaba8377726c8a = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal206a40d3a0fee739ddfaba8377726c8a = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.svg.info-icon','data' => ['fill' => 'currentColor']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('svg.info-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(['fill' => 'currentColor']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal206a40d3a0fee739ddfaba8377726c8a)): ?> <?php $attributes = $__attributesOriginal206a40d3a0fee739ddfaba8377726c8a; ?> <?php unset($__attributesOriginal206a40d3a0fee739ddfaba8377726c8a); ?> <?php endif; ?> <?php if (isset($__componentOriginal206a40d3a0fee739ddfaba8377726c8a)): ?> <?php $component = $__componentOriginal206a40d3a0fee739ddfaba8377726c8a; ?> <?php unset($__componentOriginal206a40d3a0fee739ddfaba8377726c8a); ?> <?php endif; ?> <div> <span class="font-medium"><?php echo e(__('ensure_that_these_requirements_are_met')); ?></span> <ul class="mt-1.5 list-disc list-inside"> <?php $__currentLoopData = $errors->all(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $error): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <li><?php echo e($error); ?></li> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </ul> </div> </div> <?php endif; ?> <div class="dark:bg-white rounded-xl border border-gray-100 shadow-[0px_4px_8px_0px_rgba(28,33,38,0.08)]"> <div class="post-header"> <button type="button" class="btn-tab cursor-not-allowed <?php echo e(request()->routeIs('frontend.post.edit') ? 'active':''); ?>" > <?php if (isset($component)) { $__componentOriginalf87d6ddd5990f7a28710ab09e016e30e = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginalf87d6ddd5990f7a28710ab09e016e30e = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.frontend.icons.adjustment-horizontal','data' => ['class' => 'w-4 h-4 sm:w-6 sm:h-6']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('frontend.icons.adjustment-horizontal'); ?> <?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-4 h-4 sm:w-6 sm:h-6']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginalf87d6ddd5990f7a28710ab09e016e30e)): ?> <?php $attributes = $__attributesOriginalf87d6ddd5990f7a28710ab09e016e30e; ?> <?php unset($__attributesOriginalf87d6ddd5990f7a28710ab09e016e30e); ?> <?php endif; ?> <?php if (isset($__componentOriginalf87d6ddd5990f7a28710ab09e016e30e)): ?> <?php $component = $__componentOriginalf87d6ddd5990f7a28710ab09e016e30e; ?> <?php unset($__componentOriginalf87d6ddd5990f7a28710ab09e016e30e); ?> <?php endif; ?> <span><?php echo e(__('basic')); ?></span> </button> <button type="button" class="btn-tab cursor-not-allowed <?php echo e(request()->routeIs('frontend.post.edit.step2') ? 'active':''); ?>"> <?php if (isset($component)) { $__componentOriginalf87d6ddd5990f7a28710ab09e016e30e = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginalf87d6ddd5990f7a28710ab09e016e30e = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.frontend.icons.adjustment-horizontal','data' => ['class' => 'w-4 h-4 sm:w-6 sm:h-6']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('frontend.icons.adjustment-horizontal'); ?> <?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-4 h-4 sm:w-6 sm:h-6']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginalf87d6ddd5990f7a28710ab09e016e30e)): ?> <?php $attributes = $__attributesOriginalf87d6ddd5990f7a28710ab09e016e30e; ?> <?php unset($__attributesOriginalf87d6ddd5990f7a28710ab09e016e30e); ?> <?php endif; ?> <?php if (isset($__componentOriginalf87d6ddd5990f7a28710ab09e016e30e)): ?> <?php $component = $__componentOriginalf87d6ddd5990f7a28710ab09e016e30e; ?> <?php unset($__componentOriginalf87d6ddd5990f7a28710ab09e016e30e); ?> <?php endif; ?> <span><?php echo e(__('detail_info')); ?></span> </button> <button type="button" class="btn-tab cursor-not-allowed <?php echo e(request()->routeIs('frontend.post.edit.step3') ? 'active':''); ?>"> <?php if (isset($component)) { $__componentOriginalf87d6ddd5990f7a28710ab09e016e30e = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginalf87d6ddd5990f7a28710ab09e016e30e = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.frontend.icons.adjustment-horizontal','data' => ['class' => 'w-4 h-4 sm:w-6 sm:h-6']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('frontend.icons.adjustment-horizontal'); ?> <?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-4 h-4 sm:w-6 sm:h-6']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginalf87d6ddd5990f7a28710ab09e016e30e)): ?> <?php $attributes = $__attributesOriginalf87d6ddd5990f7a28710ab09e016e30e; ?> <?php unset($__attributesOriginalf87d6ddd5990f7a28710ab09e016e30e); ?> <?php endif; ?> <?php if (isset($__componentOriginalf87d6ddd5990f7a28710ab09e016e30e)): ?> <?php $component = $__componentOriginalf87d6ddd5990f7a28710ab09e016e30e; ?> <?php unset($__componentOriginalf87d6ddd5990f7a28710ab09e016e30e); ?> <?php endif; ?> <span><?php echo e(__('contact_and_promote')); ?></span> </button> </div>
<?php echo $__env->yieldContent('post-ad-content'); ?> </div> </div> </div> </section> <?php $__env->stopSection(); ?> <?php $__env->startPush('css'); ?> <link rel="stylesheet" href="<?php echo e(asset('frontend/js/choiceJs/choice.min.css')); ?>"> <style> .choices[data-type*="select-one"] .choices__inner { padding: 11px 20px !important; }
.choices[data-type*="select-one"] .choices__inner:has(#number), .choices[data-type*="select-one"] .choices__inner:has(#whatsappNumber), .choices[data-type*="select-one"] .choices__inner:has(#currency) { padding: 11px 10px !important; }
.choices__list--single { padding: 0px !important; font-size: 1rem; line-height: 1.5rem; font-weight: 400; }
.choices:has(#currency), .choices:has(#number), .choices:has(#whatsappNumber) { width: 100px !important; }
.choices:has(#currency) .choices__list--dropdown .choices__item--selectable, .choices:has(#currency) .choices__list[aria-expanded] .choices__item--selectable, .choices:has(#number) .choices__list--dropdown .choices__item--selectable, .choices:has(#number) .choices__list[aria-expanded] .choices__item--selectable, .choices:has(#whatsappNumber) .choices__list--dropdown .choices__item--selectable, .choices:has(#whatsappNumber) .choices__list[aria-expanded] .choices__item--selectable { padding-right: 0px; }
.choices__item--selectable::after { display: none; }
.choices__inner:has(#currency), .choices__inner:has(#number), .choices__inner:has(#whatsappNumber) { box-shadow: none !important; border: none !important; }
.preview-container { position: relative; display: inline-block; }
.remove-btn { position: absolute; top: 5px; right: 5px; background-color: #ff0000; color: #ffffff; border: none; border-radius: 50%; width: 20px; height: 20px; cursor: pointer; }
.btn-tab.active { border-bottom: 3px solid var(--primary-500); color: var(--primary-500); } </style> <?php $__env->stopPush(); ?>
<?php $__env->startPush('js'); ?> <script> document.addEventListener('alpine:init', () => { Alpine.data('uploadImages', () => ({
images: [], handleFileInput(event) { const files = event.target.files; for (let i = 0; i < files.length; i++) { const file = files[i]; this.readFile(file).then(imageDataURL => { this.appendImagePreview(imageDataURL, file.name); }); } }, readFile(file) { return new Promise((resolve) => { const reader = new FileReader(); reader.onload = (event) => { resolve(event.target.result); }; reader.readAsDataURL(file); }); }, appendImagePreview(imageSrc, fileName) { this.images.push({ url: imageSrc, name: fileName }); }, removeImage(index) { this.images.splice(index, 1); } })) })
function updateCancelEdit() { document.getElementById('cancel_edit_input').value = 1 document.getElementById('step_edit_form').submit() } </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/postad_edit/index.blade.php ENDPATH**/ ?>
|