def get_page_nav(current_page, result_count, page_limit):
    """
    page-nav
    model('cp': current_page, '<': prev-page, '>': next-page):
        < cp-2, cp-1, cp, cp+1, cp+2 >
    :param current_page:
    :param result_count: all the result count
    :param page_limit:
    :return:
    """
    pages = {'cp-2': 0, 'cp-1': 0, 'cp': current_page, 'cp+1': 0, 'cp+2': 0}
    if current_page - 1 >= 1:
        pages['cp-1'] = current_page - 1
    if current_page - 2 >= 1:
        pages['cp-2'] = current_page - 2

    if (current_page) * page_limit < result_count:
        pages['cp+1'] = current_page + 1
    if (current_page + 1) * page_limit < result_count:
        pages['cp+2'] = current_page + 2
    return pages