<?php if($items->lastPage() > 1): ?>
        <nav class="ls-pagination">
                        <ul>
                        <?php if($items->currentPage() >1): ?><li class="prev"><a href="<?php echo e(fullUrl($slug)); ?>?page=<?php echo e($items->currentPage() -1); ?>"><i class="icofont-rounded-left"></i></a></li><?php endif; ?>
                        <?php 
                        if($items->currentPage() > 7) $startpage = $items->currentPage()-7; else $startpage = 1;
                        if(($items->lastPage() - $items->currentPage()) > 7) $lastpage = $items->currentPage()+7; else $lastpage = $items->lastPage() ;
                        ?>
                        <?php for($i = $startpage; $i<= $lastpage; $i++): ?>
                            
                           
                            <li><a href="<?php echo e(fullUrl($slug)); ?>?page=<?php echo e($i); ?>" class="<?php echo e(($items->currentPage() == $i)?'current-page':''); ?>"><?php echo e($i); ?></a></li>
                           
                           
                            <?php endfor; ?>   
                            <?php if($items->currentPage() != $items->lastPage() ): ?> <li class="next"><a href="{fullUrl($slug)}}?page=<?php echo e($items->currentPage() + 1); ?>"><i class="icofont-rounded-right"></i></a></li><?php endif; ?>
                        </ul>
                    </nav>

  
       <?php endif; ?>
                <?php /**PATH C:\Users\Nodar\Desktop\ciprf\resources\views/nn_site/partials/pager.blade.php ENDPATH**/ ?>