Exemple #1
0
 public function __construct()
 {
     parent::__construct();
     $this->admin_model = cc_get_instance('admin/admin_model', 'model');
     $this->aMenu = array(array('title' => '검색', 'title_class' => 'fa fa-search', 'active' => true, 'child' => array(array('link' => HOSTURL . '/admin/usersearch', 'title' => '유저 검색'), array('link' => HOSTURL . '/admin/userlist', 'title' => '프로그램별 검색'))), array('title' => '프로그램관리', 'title_class' => 'fa fa-list', 'active' => false, 'child' => array(array('link' => HOSTURL . '/admin/courselist', 'title' => '프로그램 리스트'))), array('title' => '다운로드', 'title_class' => 'fa fa-download', 'active' => false, 'child' => array(array('link' => HOSTURL . '/admin/filedown', 'title' => '16년 가을학기'))));
     /*}}}*/
 }
Exemple #2
0
 public function __construct()
 {
     $this->admin_dao = cc_get_instance('admin/admin_dao', 'model');
     $this->courseConfig = $this->getCourse();
     $this->memberSTATEConfig = cc_get_config('member_svc_state', 'member_config');
     $this->memberGRDEConfig = cc_get_config('member_user_grde', 'member_config');
 }
Exemple #3
0
 public function __construct()
 {
     $this->user_model = cc_get_instance('member/user_model', 'model');
     $a = func_get_args();
     $i = func_num_args();
     if (method_exists($this, $f = '__construct' . $i)) {
         call_user_func_array(array($this, $f), $a);
     }
 }
Exemple #4
0
 public function setAccountInfo($aParam)
 {
     $user = cc_get_instance('MemberLibClass');
     $aParam['pwd'] = MemberLibClass::getMKPwd($aParam['pwd']);
     if ($this->user_dao->setAccount($aParam)) {
         return true;
     } else {
         return false;
     }
 }
Exemple #5
0
 public function request_course()
 {
     // login check
     $sMemInfo = getCookieInfo();
     if (!$sMemInfo) {
         // login go
         header('Location: http://localhost/~leehojun/CC/codingclub/Login');
     }
     $oMemInfo = json_decode($sMemInfo);
     // chk member user info
     // get membserinfo
     $user = cc_get_instance('UserClass');
     $oUser = new $user($oMemInfo->accountID);
     if (!$oUser->oUserInfo->usn) {
         // user info input
         $this->_setUserInfo();
     } else {
         // member_svc input
         // set member_svc call
         echo "set members_svc";
     }
     //$this->load->view('course/request_course');
 }
Exemple #6
0
 public function __construct()
 {
     $this->nodejs_dao = cc_get_instance('nodejs/nodejs_dao', 'model');
 }
Exemple #7
0
 private function _chkPWD($accountID, $passwd)
 {
     if (!$accountID || !$passwd) {
         return false;
     }
     if (!($oAccountInfo = $this->_getPwdDB($accountID))) {
         return false;
     }
     $user = cc_get_instance('MemberLibClass');
     $sMkPWD = MemberLibClass::getMKPwd($passwd);
     if ($oAccountInfo->pwd == $sMkPWD) {
         return $oAccountInfo->usn;
     } else {
         return false;
     }
     return false;
 }
Exemple #8
0
 public function __construct()
 {
     $this->dao = cc_get_instance('mvctest/Mvctest_dao', 'model');
 }
Exemple #9
0
 public function __construct()
 {
     parent::__construct();
     $this->user_model = cc_get_instance('member/user_model', 'model');
 }
Exemple #10
0
 public function __construct()
 {
     parent::__construct();
     $this->nodejs_model = cc_get_instance('nodejs/nodejs_model', 'model');
 }
Exemple #11
0
 public function __construct()
 {
     $this->log_dao = cc_get_instance('log/log_dao', 'model');
 }
Exemple #12
0
 public function __construct()
 {
     parent::__construct();
     $this->model = cc_get_instance('mvctest/mvctest_model', 'model');
 }
Exemple #13
0
 public function __construct()
 {
     $this->course_dao = cc_get_instance('course/course_dao', 'model');
 }
Exemple #14
0
 public function __construct()
 {
     parent::__construct();
     $this->course_model = cc_get_instance('course/course_model', 'model');
     $this->load->helper('url');
 }
Exemple #15
0
 private function _setMemberSVC($aInput)
 {
     $user = cc_get_instance('UserClass');
     $oUser = new $user();
     return $oUser->setMemberSVCInfo($aInput);
 }