Ignore:
Timestamp:
Nov 12, 2014 10:52:13 PM (11 years ago)
Author:
dungnv
Message:
 
Location:
pro-violet-viettel/sourcecode/application/modules/frontend
Files:
1 added
4 edited

Legend:

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

    r472 r483  
    2626                if ($user_info){
    2727                        $username = $user_info['username'];
    28                         $flashscript = $this->load->view('flashscript',null, true);
    29                         $this->load->view ( 'lecture_editor', array('username'=>$username, 'licenseAvailable' => $licenseAvailable, 'flashScript' => $flashscript));
     28                        $this->load->view ( 'lecture_editor', array('username'=>$username, 'licenseAvailable' => $licenseAvailable));
    3029
    3130                }else{
  • pro-violet-viettel/sourcecode/application/modules/frontend/models/user_model.php

    r472 r483  
    9191                        case 0:
    9292                                $us_id = $id;
    93                                 $user['created_time'] = $receiveTime;
     93                                $user['created_time'] = date('Y-m-d H:i:s');
    9494                                $user['us_id'] = $us_id;
    9595                                $user['cellphone'] = $username;
     
    109109                        case 2:                         
    110110                        case 4:
    111                                 $sms = "So dien thoai cá»§a Qui vi da duoc dang ky !";
     111                                $sms = "So dien thoai cua Qui vi da duoc dang ky !";
    112112                                $status = 0;
    113113                                break;
  • pro-violet-viettel/sourcecode/application/modules/frontend/views/flashscript.php

    r474 r483  
    77
    88function InitViolet() {
    9   g_Flash = isInternetExplorer ? LectorEditorOnline : document.LectorEditorOnline;
     9  console.log('onload');
     10  g_Flash = document.getElementById('LectorEditorOnline');
     11  //g_Flash = isInternetExplorer ? LectorEditorOnline : document.LectorEditorOnline;
     12
     13  console.log(LectorEditorOnline);
    1014}
    1115
     
    3842// Handle all the FSCommand messages in a Flash movie.
    3943function LectorEditorOnline_DoFSCommand(command, args) {
     44
    4045  switch (command) {
    4146    case "Set Title": SetWindowTitle(args); break;
  • pro-violet-viettel/sourcecode/application/modules/frontend/views/lecture_editor.php

    r472 r483  
    11<?php
    2 $this->load->view('layout/frontend/header', array('flashScript' => $flashScript));
     2$this->load->view('layout/frontend/header');
    33$base_url = base_url();
    44$this->load->view('layout/frontend/sidebar');
     
    1313                                                                <?php $flashVars = 'online=true&applicationId=Violet Online' ?>
    1414                                                                <?php $flashVars.= '&commonLibList=sxIOE3.xml,sxIOE4.xml,sxIOE5.xml,tnIOE3.xml,tnIOE4.xml,tnIOE5.xml' ?>
    15                                                                 <?php $flashVars.= '&youtubeUrl=Service/fake_youtube.php'.$langParam.'&command=Init OK' ?>
     15                                                                <?php $flashVars.= '&youtubeUrl='.$base_url.'assets/soanbai/Service/fake_youtube.php'.$langParam.'&command=Init OK' ?>
    1616                                                                <?php $flashVars.= '&licenseStatus='.$licenseAvailable ?>
    1717
    1818                                                                <div class="embed-responsive embed-responsive-16by9">
    19                                                                   <embed                                                                         
     19                                                                  <embed
     20                                                                          id="LectorEditorOnline"
     21                                                                          name="LectorEditorOnline"                                                                       
    2022                                                                          class="embed-responsive-item"
    2123                                                                          src="<?php echo $base_url;?>assets/soanbai/Lecture/LectureEditor.swf"
     
    2628                                                                </div>                                                 
    2729                                                                <!-- PAGE CONTENT ENDS -->
    28 
    2930                                        </div><!-- /.page-content -->
    3031                                </div><!-- /.main-content -->
     
    3536                        </a>
    3637                </div><!-- /.main-container -->
     38               
    3739<?php
    38 $this->load->view('layout/frontend/footer');
     40$this->load->view('servicemodals');
     41$this->load->view('layout/frontend/footer', array('usjs'=> array('assets/js/frontend/lecture.js')));
    3942?>
Note: See TracChangeset for help on using the changeset viewer.