Current File : /home/tradevaly/public_html/storage/framework/views/2b99491e52ef2ac007176dee246806e7fdec938d.php |
<?php if($paginator->hasPages()): ?>
<style type="text/css">
.my-active span{
background-color: #10617a !important;
color: white !important;
border-color: #10617a !important;
padding: 11px 20px;
}
.pagination{width:100%;}
.pagination ul{width:100%;}
.pagination ul li{padding:10px; background: #d1d1d1;float:left; list-style:none;}
</style>
<div class="pagination">
<ul class="pager">
<?php if($paginator->onFirstPage()): ?>
<li class="disabled"><span>← Previous</span></li>
<?php else: ?>
<li><a href="<?php echo e($paginator->previousPageUrl()); ?>" rel="prev">← Previous</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 class="disabled"><span><?php echo e($element); ?></span></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 class="active my-active"><span><?php echo e($page); ?></span></li>
<?php else: ?>
<li><a 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 href="<?php echo e($paginator->nextPageUrl()); ?>" rel="next">Next →</a></li>
<?php else: ?>
<li class="disabled"><span>Next →</span></li>
<?php endif; ?>
</ul>
</div>
<?php endif; ?> <?php /**PATH /home/tradevaly/public_html/resources/views/page.blade.php ENDPATH**/ ?>