repaired pagination but not add buttons next and prev; and not protect show links page, if pages are more show all links and i want repaire that show only something