diff --git a/Application/Home/Controller/PromoteController.class.php b/Application/Home/Controller/PromoteController.class.php index 18617c0af..95934e419 100644 --- a/Application/Home/Controller/PromoteController.class.php +++ b/Application/Home/Controller/PromoteController.class.php @@ -66,7 +66,7 @@ class PromoteController extends BaseController ->join("left join tab_game gm on gm.id=sv.game_id") ->field('sv.*,gm.icon') ->order("sv.start_time desc") - ->page(1, 5) + ->page(1, 20) ->select(); $count = M("server", "tab_") @@ -75,7 +75,7 @@ class PromoteController extends BaseController "show_status"=>1)) ->count(); - $page = $this->ajax_page($count,5,'seach'); + $page = $this->ajax_page($count,20,'seach'); $this->assign("_page",$page); $user_count = M("user","tab_")->where("promote_id=".get_pid())->count(); @@ -227,14 +227,14 @@ class PromoteController extends BaseController ->join("left join tab_game gm on gm.id=sv.game_id") ->field('sv.*,gm.icon') ->order("sv.start_time desc") - ->page($pg, 5) + ->page($pg, 20) ->select(); $count = M("server", "tab_") ->where($count_map) ->count(); //var_dump($count); - $page = $this->ajax_page($count,5,'seach',$pg); + $page = $this->ajax_page($count,20,'seach',$pg); //$this->assign("_page",$page); //$count = M("server", "tab_")->where($map)->count(); foreach ($open_server_list as $key => $server){