Esempio n. 1
0
 public function projectInfo_Action()
 {
     $userId = $this->getInput['userId'];
     if ($userId) {
         $userInfo = control_user::getUserInfo($userId);
         if (!$userInfo) {
             showmsg(control_returnCode::FORM_INFO_EMPTY);
         }
     }
     list(, $userPlanList) = control_userBase::getUserPlanList($userInfo[control_user::TABLE_KEY]);
     foreach ($userPlanList as $plan) {
         $baseId[] = $plan[control_userBase::TABLE_KEY];
     }
     list(, $basePlanList) = control_baseMoney::getListByIds($baseId);
     $this->modelDisplay(array('userInfo' => $userInfo, 'userPlanList' => $userPlanList, 'basePlanList' => $basePlanList));
 }