code: def p_list(self, kind, cur_p='', ):
          '''
          List the post .
          '''
          if cur_p == '':
              current_page_number = 1
          else:
              current_page_number = int(cur_p)
  
          current_page_number = 1 if current_page_number < 1 else current_page_number
  
          pager_num = int(MWiki.total_number(kind) / CMS_CFG['list_num'])
  
          kwd = {
              'pager': '',
              'title': 'Recent pages.',
              'kind': kind,
              'current_page': current_page_number,
              'page_count': MWiki.get_counts(),
          }
  
          self.render('admin/page_ajax/page_list.html',
                      postrecs=MWiki.query_pager_by_kind(kind=kind,
                                                         current_page_num=current_page_number),
                      kwd=kwdf p_list(self, kind, cur_p='', ):
          '''
          List the post .
          '''
          if cur_p == '':
              current_page_number = 1
          else:
              current_page_number = int(cur_p)
  
          current_page_number = 1 if current_page_number < 1 else current_page_number
  
          pager_num = int(MWiki.total_number(kind) / CMS_CFG['list_num'])
  
          kwd = {
              'pager': '',
              'title': 'Recent pages.',
              'kind': kind,
              'current_page': current_page_number,
              'page_count': MWiki.get_counts(),
          }
  
          self.render('admin/page_ajax/page_list.html',
                      postrecs=MWiki.query_pager_by_kind(kind=kind,
                                                         current_page_num=current_page_number),
                      kwd=kwd)
docs: List the post .