Changeset 565 for pro-violet-viettel/sourcecode/application/modules
- Timestamp:
- Nov 18, 2014 5:32:52 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pro-violet-viettel/sourcecode/application/modules/frontend/controllers/lecture.php
r553 r565 19 19 $this->load->model('User_model'); 20 20 $user_info = $this->session->userdata('userInfo'); 21 21 22 $aryParams = array(); 22 23 parse_str($user_info['user'], $aryParams); 24 23 25 $licenseAvailable = $this->User_model->checkLicense($aryParams['id']); 24 26 $licenseAvailable = $licenseAvailable == TRUE ? 'OK' : '!OK'; 27 25 28 if ($user_info) { 26 29 $username = $user_info['username']; … … 31 34 $first_visit=1; 32 35 } 33 $this->load->view('lecture_editor', array('username' => $username, 'licenseAvailable' => $licenseAvailable, 'first_visit' => $first_visit ));36 $this->load->view('lecture_editor', array('username' => $username, 'licenseAvailable' => $licenseAvailable, 'first_visit' => $first_visit, 'licflashVars' => $aryParams)); 34 37 } else { 35 38 redirect('/frontend/home/');
Note: See TracChangeset
for help on using the changeset viewer.