Ignore:
Timestamp:
Nov 18, 2014 5:32:52 PM (11 years ago)
Author:
dungnv
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pro-violet-viettel/sourcecode/application/modules/frontend/controllers/lecture.php

    r553 r565  
    1919        $this->load->model('User_model');
    2020        $user_info = $this->session->userdata('userInfo');
     21       
    2122        $aryParams = array();
    2223        parse_str($user_info['user'], $aryParams);
     24       
    2325        $licenseAvailable = $this->User_model->checkLicense($aryParams['id']);
    2426        $licenseAvailable = $licenseAvailable == TRUE ? 'OK' : '!OK';
     27       
    2528        if ($user_info) {
    2629            $username = $user_info['username'];   
     
    3134               $first_visit=1;
    3235            }
    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));
    3437        } else {
    3538            redirect('/frontend/home/');
Note: See TracChangeset for help on using the changeset viewer.