public function index() { import('ORG.Util.Page'); $model = new HelpModel(); $count = $model->count(); $page = new Page($count, 15); $show = $page->show(); $help_list = $model->order('time desc')->limit($page->firstRow . ',' . $page->listRows)->select(); $this->assign('count', $count); $this->assign('show', $show); $this->assign('help_list', $help_list); $this->display(); }