function pay_action() { $union_pay = new union_pay(); if(!front::get('page')) front::$get['page']=1; $limit=((front::$get['page']-1)*20).',20'; $where="userid={$this->view->user['userid']}"; $this->view->paylist = $union_pay->getrows($where,$limit,'1 desc'); $this->view->record_count=$union_pay->record_count; }