Simple pagination class for PHP 5.3. Define you value, get the result.