?> </div> </div> <div class="row"> <?php if ($pages > 1) { ?> <div class="text-center"> <nav> <ul class="pager"> <li class="prev"> <?php if ($paginate->has_prev()) { ?> <a class="pull-left" href="<?php echo 'index.php?page=' . $paginate->prev(); ?> " aria-label="Previous"> <span aria-hidden="true">Prev</span> </a> <?php } ?> </li> <li class="next"> <?php if ($paginate->has_next()) { ?> <a class="pull-right" href="<?php echo 'index.php?page=' . $paginate->next(); ?>