Skip to content

Simple bootstrap 4 pagination class with average number pagination and breadcrumbs, nothing fancy just does the job

License

Notifications You must be signed in to change notification settings

zashboy/zpagination

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ZPagination

Simple bootstrap 4 pagination class with average number pagination and breadcrumbs, nothing fancy just does the job

Usage example

<?php
        $pagination = new Pagination;
        $pagination->setTotal(35);
        $pagination->setCurrentPage($_GET['currentpage']);
        $breadcrumbs = $pagination->showBreadCrumbs();
        $pagination_pages = $pagination->showPagination();
?>
<html>
<head></head>
<body>
<div><?= $breadcrumbs ?></div>
<div>Great content...  </div>
<div><?= $pagination_pages ?></div>
</body>
</html>

About

Simple bootstrap 4 pagination class with average number pagination and breadcrumbs, nothing fancy just does the job

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages