|
|
@ -81,7 +81,7 @@ class GameRatioMouldController extends AdminController
|
|
|
|
|
|
|
|
|
|
|
|
$count = $this->DBModel->alias('m')->field("count(id) count")->join("INNER JOIN ({$gameres}) g ON m.relation_game_id = g.relation_game_id")->where($where)->find()['count'];
|
|
|
|
$count = $this->DBModel->alias('m')->field("count(id) count")->join("INNER JOIN ({$gameres}) g ON m.relation_game_id = g.relation_game_id")->where($where)->find()['count'];
|
|
|
|
$this->assign('data', $dbres);
|
|
|
|
$this->assign('data', $dbres);
|
|
|
|
$page = set_pagination($count, $row);
|
|
|
|
$page = set_pagination($count, $row,$params);
|
|
|
|
if($page) {
|
|
|
|
if($page) {
|
|
|
|
$this->assign('_page', $page);
|
|
|
|
$this->assign('_page', $page);
|
|
|
|
}
|
|
|
|
}
|
|
|
|