|
|
|
@ -143,7 +143,7 @@ class CompanyGameRatioController extends AdminController
|
|
|
|
|
->join("JOIN tab_promote_company p ON ( m.company_id = p.id".$pwhere.")")
|
|
|
|
|
->where($where)->find()['count'];
|
|
|
|
|
$this->assign('data', $dbres);
|
|
|
|
|
$page = set_pagination($count, $row);
|
|
|
|
|
$page = set_pagination($count, $row,$params);
|
|
|
|
|
if($page) {
|
|
|
|
|
$this->assign('_page', $page);
|
|
|
|
|
}
|
|
|
|
@ -317,7 +317,7 @@ class CompanyGameRatioController extends AdminController
|
|
|
|
|
->join("JOIN tab_promote_company p ON ( m.company_id = p.id".$pwhere.")")
|
|
|
|
|
->where($where)->find()['count'];
|
|
|
|
|
$this->assign('data', $dbres);
|
|
|
|
|
$page = set_pagination($count, $row);
|
|
|
|
|
$page = set_pagination($count, $row,$params);
|
|
|
|
|
if($page) {
|
|
|
|
|
$this->assign('_page', $page);
|
|
|
|
|
}
|
|
|
|
|