PHP pagination class with MySql using Bootstrap 3