| 123456789101112131415161718192021222324252627282930313233 |
- <?php if(isset($this->view->totalPages) && (int)$this->view->totalPages > 0): ?>
- <hr>
- <div class="row">
- <div class="col-lg-6 col-xl-6">
- <p><small><?php echo vsprintf(_('Pag. %s of %s, %s total elements'), [$this->view->currentPage, $this->view->totalPages, $this->view->totalRows]); ?></small></p>
- </div>
- <div class="col-lg-6 col-xl-6 clearfix">
- <div class="float-right">
- <ul class="pagination pagination">
-
- <li class="page-item <?php echo !$this->view->hasPrevPage ? 'disabled' : ''; ?>">
- <a class="page-link" href="<?php echo $this->view->prevPageLink; ?>">
- <span aria-hidden="true">«</span>
- </a>
- </li>
-
- <?php /*foreach($this->view->pageNumbers as $item): ?>
- <li class="page-item <?php echo $item['active'] ? 'disabled' : ''; ?>">
- <a class="page-link" href="<?php echo $item['link']; ?>" tabindex="-1" data-element="pippo"><?php echo $item['label']; ?></a>
- </li>
- <?php endforeach;*/ ?>
-
- <li class="page-item <?php echo !$this->view->hasNextPage ? 'disabled' : ''; ?>">
- <a class="page-link" href="<?php echo $this->view->nextPageLink; ?>">
- <span aria-hidden="true">»</span>
- </a>
- </li>
-
- </ul>
- </div>
- </div>
- </div>
- <?php endif; ?>
|