Viewing file: ff654abca14d92e23f82fdf2dbb7cb5c.php (9.87 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php if($paginator->hasPages()): ?> <div class="flex flex-wrap justify-center items-center mx-auto gap-4 mt-6"> <?php if($paginator->onFirstPage()): ?> <button class="px-4 py-2 dark:bg-gray-900 flex items-center justify-center gap-[0.37rem] rounded-[0.375rem] shadow-sm border border-gray-100 dark:border-gray-600 heading-08 text-gray-700 dark:text-white cursor-not-allowed" type="button"> <small> <?php if (isset($component)) { $__componentOriginal99d8c440cc49f82c9a0d0035f2ee5a99 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal99d8c440cc49f82c9a0d0035f2ee5a99 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.frontend.icons.arrow-left','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('frontend.icons.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($__attributesOriginal99d8c440cc49f82c9a0d0035f2ee5a99)): ?> <?php $attributes = $__attributesOriginal99d8c440cc49f82c9a0d0035f2ee5a99; ?> <?php unset($__attributesOriginal99d8c440cc49f82c9a0d0035f2ee5a99); ?> <?php endif; ?> <?php if (isset($__componentOriginal99d8c440cc49f82c9a0d0035f2ee5a99)): ?> <?php $component = $__componentOriginal99d8c440cc49f82c9a0d0035f2ee5a99; ?> <?php unset($__componentOriginal99d8c440cc49f82c9a0d0035f2ee5a99); ?> <?php endif; ?> </small> Previous </button> <?php else: ?> <a href="<?php echo e($paginator->previousPageUrl()); ?>" class="px-4 py-2 dark:bg-gray-900 flex items-center justify-center gap-[0.37rem] rounded-[0.375rem] shadow-sm border border-gray-100 dark:border-gray-600 heading-08 text-gray-700 hover:bg-primary-500 hover:text-white transition-all duration-300"> <small> <?php if (isset($component)) { $__componentOriginal99d8c440cc49f82c9a0d0035f2ee5a99 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal99d8c440cc49f82c9a0d0035f2ee5a99 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.frontend.icons.arrow-left','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('frontend.icons.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($__attributesOriginal99d8c440cc49f82c9a0d0035f2ee5a99)): ?> <?php $attributes = $__attributesOriginal99d8c440cc49f82c9a0d0035f2ee5a99; ?> <?php unset($__attributesOriginal99d8c440cc49f82c9a0d0035f2ee5a99); ?> <?php endif; ?> <?php if (isset($__componentOriginal99d8c440cc49f82c9a0d0035f2ee5a99)): ?> <?php $component = $__componentOriginal99d8c440cc49f82c9a0d0035f2ee5a99; ?> <?php unset($__componentOriginal99d8c440cc49f82c9a0d0035f2ee5a99); ?> <?php endif; ?> </small> Previous </a> <?php endif; ?>
<?php $__currentLoopData = $elements; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $element): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php if(is_string($element)): ?> <span class="h-[2.5rem] w-[2.5rem] py-2 rounded-[0.375rem] border hover:bg-primary-50 flex items-center justify-center border-gray-100 body-sm-500 text-gray-700 "><?php echo e($element); ?></span> <?php endif; ?>
<?php if(is_array($element)): ?> <?php $__currentLoopData = $element; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $page => $url): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php if($page == $paginator->currentPage()): ?> <span class="h-[2.5rem] w-[2.5rem] py-2 rounded-[0.375rem] border hover:bg-primary-50 flex items-center justify-center border-gray-100 dark:border-gray-600 hover:border-primary-500 hover:text-primary-500 body-sm-500 text-white bg-primary-500 dark:bg-primary-700"><?php echo e($page); ?></span> <?php else: ?> <a href="<?php echo e($url); ?>"> <span class="h-[2.5rem] w-[2.5rem] py-2 rounded-[0.375rem] dark:bg-gray-900 dark:text-white border hover:bg-primary-50 flex items-center justify-center border-gray-100 dark:border-gray-600 hover:border-primary-500 hover:text-primary-500 body-sm-500 text-gray-700"> <?php echo e($page); ?>
</span> </a> <?php endif; ?> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <?php endif; ?> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
<?php if($paginator->hasMorePages()): ?> <a href="<?php echo e($paginator->nextPageUrl()); ?>" class="px-4 py-2 dark:bg-gray-900 flex items-center justify-center gap-[0.37rem] rounded-[0.375rem] shadow-sm border border-gray-100 dark:border-gray-600 heading-08 text-gray-700 dark:text-white hover:bg-primary-500 hover:text-white transition-all duration-300"> Next <?php if (isset($component)) { $__componentOriginalc1ad3db73adc0d6b74651d6af5bc54e1 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginalc1ad3db73adc0d6b74651d6af5bc54e1 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.frontend.icons.arrow-right','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('frontend.icons.arrow-right'); ?> <?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($__attributesOriginalc1ad3db73adc0d6b74651d6af5bc54e1)): ?> <?php $attributes = $__attributesOriginalc1ad3db73adc0d6b74651d6af5bc54e1; ?> <?php unset($__attributesOriginalc1ad3db73adc0d6b74651d6af5bc54e1); ?> <?php endif; ?> <?php if (isset($__componentOriginalc1ad3db73adc0d6b74651d6af5bc54e1)): ?> <?php $component = $__componentOriginalc1ad3db73adc0d6b74651d6af5bc54e1; ?> <?php unset($__componentOriginalc1ad3db73adc0d6b74651d6af5bc54e1); ?> <?php endif; ?> </a> <?php else: ?> <button class="px-4 py-2 dark:bg-white flex items-center justify-center gap-[0.37rem] rounded-[0.375rem] shadow-sm border border-gray-100 heading-08 text-gray-700 cursor-not-allowed" type="button"> Next <?php if (isset($component)) { $__componentOriginalc1ad3db73adc0d6b74651d6af5bc54e1 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginalc1ad3db73adc0d6b74651d6af5bc54e1 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.frontend.icons.arrow-right','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('frontend.icons.arrow-right'); ?> <?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($__attributesOriginalc1ad3db73adc0d6b74651d6af5bc54e1)): ?> <?php $attributes = $__attributesOriginalc1ad3db73adc0d6b74651d6af5bc54e1; ?> <?php unset($__attributesOriginalc1ad3db73adc0d6b74651d6af5bc54e1); ?> <?php endif; ?> <?php if (isset($__componentOriginalc1ad3db73adc0d6b74651d6af5bc54e1)): ?> <?php $component = $__componentOriginalc1ad3db73adc0d6b74651d6af5bc54e1; ?> <?php unset($__componentOriginalc1ad3db73adc0d6b74651d6af5bc54e1); ?> <?php endif; ?> </button> <?php endif; ?> </div> <?php endif; ?>
<style> .page-link { display: inline !important; } </style> <?php /**PATH /home/picotech/domains/classify.picotech.app/public_html/resources/views/vendor/pagination/custom.blade.php ENDPATH**/ ?>
|