MY_Pagination class