Posted By

audiopleb on 10/18/10


Tagged

ExpressionEngine


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

bobbym245
mahalie


Pagination Code


 / Published in: PHP
 

  1. {paginate}
  2. <div id="pagination">
  3. <ul>
  4. {if "{current_page}" == 1}
  5. <li><span id="prev-disabled">Previous Page</span></li>
  6. {/if}
  7. {if previous_page}
  8. <li><a href="{auto_path}" id="prev">Previous Page</a></li>
  9. {/if}
  10. {if "{current_page}" == "{total_pages}"}
  11. <li><span id="next-disabled">Next Page</span></li>
  12. {/if}
  13. {if next_page}
  14. <li><a href="{auto_path}" id="next">Next Page</a></li>
  15. {/if}
  16. </ul>
  17. </div>
  18. {/paginate}

Report this snippet  

You need to login to post a comment.