- Timestamp:
- Dec 8, 2014 5:28:47 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pro-violet-viettel/sourcecode/application/modules/frontend/controllers/lecture.php
r580 r654 25 25 $licenseAvailable = $this->User_model->checkLicense($aryParams['id']); 26 26 $licenseAvailable = $licenseAvailable == TRUE ? 'OK' : '!OK'; 27 27 28 28 if ($user_info) { 29 29 $username = $user_info['username']; … … 34 34 $user = $user_info['user']; 35 35 $us_id = $user_info['us_id']; 36 $u = $this->user_model->get_user_by_id($us_id); 36 $u = $this->user_model->get_user_by_id($us_id); 37 $info['fullname']=""; 37 38 if (($info['fullname']=="")&&($u['p_id']!="")) 38 39 { … … 44 45 $first_visit=1; 45 46 } 46 $this->load->view('lecture_editor', array('username' => $username, 'licenseAvailable' => $licenseAvailable, 'first_visit' => $first_visit, 'licflashVars' => $aryParams,'update_user_info'=>$update_user_info,'us_id'=>$us_id ));47 $this->load->view('lecture_editor', array('username' => $username, 'licenseAvailable' => $licenseAvailable, 'first_visit' => $first_visit, 'licflashVars' => $aryParams,'update_user_info'=>$update_user_info,'us_id'=>$us_id,"p_id"=>$u['p_id'],"expire_date"=>date("d-m-Y", strtotime($u['expire_date'])))); 47 48 } else { 48 49 redirect('/frontend/home/');
Note: See TracChangeset
for help on using the changeset viewer.