<?php if($paginator->hasPages()): ?>
    <div class="paginations">
        <ul class="pager">
            <?php if($paginator->onFirstPage()): ?>
                <li>
                    <a class="pager-prev pagination-button text-center" href="javascript:void(0)" tabindex="-1">
                        <i class="fi fi-rr-arrow-small-left btn-prev"></i>
                    </a>
                </li>
            <?php else: ?>
                <li>
                    <a class="pager-prev pagination-button text-center" data-page="<?php echo e($paginator->currentPage() - 1); ?>" href="#">
                        <i class="fi fi-rr-arrow-small-left btn-prev"></i>
                    </a>
                </li>
            <?php endif; ?>

            <?php $__currentLoopData = $elements; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $element): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <?php if(is_string($element)): ?>
                        <li><a class="pager-number disabled" href="javascript:void(0)"><?php echo e($element); ?></a></li>
                <?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()): ?>
                            <li><a class="pager-number active" href="javascript:void(0)"><?php echo e($page); ?></a></li>
                        <?php else: ?>
                            <li><a class="pager-number pagination-button" data-page="<?php echo e($page); ?>" href="<?php echo e($url); ?>"><?php echo e($page); ?></a></li>
                        <?php endif; ?>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                <?php endif; ?>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

            <?php if($paginator->hasMorePages()): ?>
                <li>
                    <a class="pager-next pagination-button text-center" data-page="<?php echo e($paginator->currentPage() + 1); ?>"  href="#">
                        <i class="fi fi-rr-arrow-small-right btn-next"></i>
                    </a>
                </li>
            <?php else: ?>
                <li>
                    <a class="pager-next text-center" href="javascript:void(0)" tabindex="-1">
                        <i class="fi fi-rr-arrow-small-right btn-next"></i>
                    </a>
                </li>
            <?php endif; ?>
        </ul>
    </div>
<?php endif; ?>
<?php /**PATH /home/icloudcsin/public_html/tngamechanger/platform/themes/jobbox/partials/pagination.blade.php ENDPATH**/ ?>