/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
{paginate} <div id="pagination"> <ul> {if "{current_page}" == 1} <li><span id="prev-disabled">Previous Page</span></li> {/if} {if previous_page} <li><a href="{auto_path}" id="prev">Previous Page</a></li> {/if} {if "{current_page}" == "{total_pages}"} {/if} {if next_page} {/if} </ul> </div> {/paginate}