|
|
@ -1210,6 +1210,7 @@ class StatisticsController extends ThinkController {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
$promoters = M('promote', 'tab_')->field('id, account')->where(array_merge(['level'=>$level], $pid ? ['parent_id'=>$pid] : []))->select();
|
|
|
|
$promoters = M('promote', 'tab_')->field('id, account')->where(array_merge(['level'=>$level], $pid ? ['parent_id'=>$pid] : []))->select();
|
|
|
|
|
|
|
|
unset($typeArr[0]);
|
|
|
|
$this->assign('promoters', $promoters);
|
|
|
|
$this->assign('promoters', $promoters);
|
|
|
|
$this->assign('types', $typeArr);
|
|
|
|
$this->assign('types', $typeArr);
|
|
|
|
$this->assign('level_desc', PromoteModel::$levelArr[$level]);
|
|
|
|
$this->assign('level_desc', PromoteModel::$levelArr[$level]);
|
|
|
@ -1306,6 +1307,7 @@ class StatisticsController extends ThinkController {
|
|
|
|
$this->assign('_page', $page);
|
|
|
|
$this->assign('_page', $page);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
unset($typeArr[0]);
|
|
|
|
$this->assign('parents', $parents);
|
|
|
|
$this->assign('parents', $parents);
|
|
|
|
$this->assign('presidents', M('promote', 'tab_')->where(['level'=>1])->select());
|
|
|
|
$this->assign('presidents', M('promote', 'tab_')->where(['level'=>1])->select());
|
|
|
|
$this->assign('types', $typeArr);
|
|
|
|
$this->assign('types', $typeArr);
|
|
|
|