Paging in Result page

Thanks for support. Simple code for query shoulbe by use filter like your code.
But i try to make a paging by numbe page, for example: 1,2,3…next

Can you tell me make a function for them?