<?php if($paginator->hasPages()): ?>
<div class="col-12">
    <ul class="pagination float-end p-0">
        <?php if($paginator->onFirstPage()): ?>
        <li class="page-item"><a class="page-link" style="cursor:auto;" aria-label="Previous"><i class="bi bi-caret-left"></i></a></li>

        <?php else: ?>
        <li class="page-item"><a class="page-link" href="<?php echo e($paginator->previousPageUrl()); ?>" aria-label="Previous"><i class="bi bi-caret-left"></i></a></li>
        <?php endif; ?>


        <?php $__currentLoopData = $elements; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $element): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
        <?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()): ?>
        <li class="page-item active"><a class="page-link" href="<?php echo e($url); ?>" style="background-color: #9d9494dd; border: none;"><?php echo e($page); ?></a></li>
        <?php else: ?>
        <li class="page-item"><a class="page-link" href="<?php echo e($url); ?>"><?php echo e($page); ?></a></li>
        <?php endif; ?>
        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        <?php else: ?>
        <li class="page-item"><span class="page-link" style="background-color: transparent; font-weight:bold;"><?php echo e($element); ?></span></li>
        <?php endif; ?>
        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

        <?php if($paginator->hasMorePages()): ?>
        <li class="page-item"><a class="page-link" href="<?php echo e($paginator->nextPageUrl()); ?>" aria-label="Next"><i class="bi bi-caret-right"></i></a></li>
        <?php else: ?>
        <li class="page-item"><a class="page-link" style="cursor: auto;" aria-label="Next"><i class="bi bi-caret-right"></i></a></li>
        <?php endif; ?>
    </ul>
</div>
<?php endif; ?><?php /**PATH /home/shyambabamatka/public_html/zupitogames.com/resources/views/userDashboard/pagination.blade.php ENDPATH**/ ?>