Simple php5.3 pagination class