code: def show_list(self, the_list, cur_p=''):
          '''
          List of the user collections.
          '''
  
          current_page_num = int(cur_p) if cur_p else 1
          current_page_num = 1 if current_page_num < 1 else current_page_num
  
          num_of_cat = MCollect.count_of_user(self.userinfo.uid)
          page_num = int(num_of_cat / CMS_CFG['list_num']) + 1
  
          kwd = {'current_page': current_page_num}
  
          self.render('misc/collect/list.html',
                      recs_collect=MCollect.query_pager_by_all(self.userinfo.uid,
                                                               current_page_num).objects(),
                      pager=tools.gen_pager_purecss('/collect/{0}'.format(the_list),
                                                    page_num,
                                                    current_page_num),
                      userinfo=self.userinfo,
  
                      cfg=CMS_CFG,
                      kwd=kwdf show_list(self, the_list, cur_p=''):
          '''
          List of the user collections.
          '''
  
          current_page_num = int(cur_p) if cur_p else 1
          current_page_num = 1 if current_page_num < 1 else current_page_num
  
          num_of_cat = MCollect.count_of_user(self.userinfo.uid)
          page_num = int(num_of_cat / CMS_CFG['list_num']) + 1
  
          kwd = {'current_page': current_page_num}
  
          self.render('misc/collect/list.html',
                      recs_collect=MCollect.query_pager_by_all(self.userinfo.uid,
                                                               current_page_num).objects(),
                      pager=tools.gen_pager_purecss('/collect/{0}'.format(the_list),
                                                    page_num,
                                                    current_page_num),
                      userinfo=self.userinfo,
  
                      cfg=CMS_CFG,
                      kwd=kwd)
docs: List of the user collections.