lists(1,'tab_site_server.game_id as id,tab_site_server.server_name,tab_site_game.game_id,tab_site_server.start_time,tab_site_server.server_version,tab_site_server.promote_id,tab_site_game.game_dow_url'); $this->assign('lists',$lists['data']); $this->assign('total',$lists['total']); } else { parent::page(D(self::model_name)->lists($p,'tab_site_server.id,tab_site_server.server_name,tab_site_server.game_id,tab_site_server.start_time,tab_site_server.server_version,tab_site_server.promote_id',8)); } $this->display(); } public function more($p=2) { $lists = D(self::model_name)->lists($p,'tab_site_server.id,tab_site_server.server_name,tab_site_server.game_id,tab_site_server.start_time,tab_site_server.server_version'); if ($lists['data']) { echo json_encode(array('status'=>1,'info'=>'','list'=>$lists['data'])); } else { echo json_encode(array('status'=>0,'info'=>'')); } } }