- Timestamp:
- Nov 12, 2014 10:52:13 PM (11 years ago)
- 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 26 26 if ($user_info){ 27 27 $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)); 30 29 31 30 }else{ -
pro-violet-viettel/sourcecode/application/modules/frontend/models/user_model.php
r472 r483 91 91 case 0: 92 92 $us_id = $id; 93 $user['created_time'] = $receiveTime;93 $user['created_time'] = date('Y-m-d H:i:s'); 94 94 $user['us_id'] = $us_id; 95 95 $user['cellphone'] = $username; … … 109 109 case 2: 110 110 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 !"; 112 112 $status = 0; 113 113 break; -
pro-violet-viettel/sourcecode/application/modules/frontend/views/flashscript.php
r474 r483 7 7 8 8 function 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); 10 14 } 11 15 … … 38 42 // Handle all the FSCommand messages in a Flash movie. 39 43 function LectorEditorOnline_DoFSCommand(command, args) { 44 40 45 switch (command) { 41 46 case "Set Title": SetWindowTitle(args); break; -
pro-violet-viettel/sourcecode/application/modules/frontend/views/lecture_editor.php
r472 r483 1 1 <?php 2 $this->load->view('layout/frontend/header' , array('flashScript' => $flashScript));2 $this->load->view('layout/frontend/header'); 3 3 $base_url = base_url(); 4 4 $this->load->view('layout/frontend/sidebar'); … … 13 13 <?php $flashVars = 'online=true&applicationId=Violet Online' ?> 14 14 <?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' ?> 16 16 <?php $flashVars.= '&licenseStatus='.$licenseAvailable ?> 17 17 18 18 <div class="embed-responsive embed-responsive-16by9"> 19 <embed 19 <embed 20 id="LectorEditorOnline" 21 name="LectorEditorOnline" 20 22 class="embed-responsive-item" 21 23 src="<?php echo $base_url;?>assets/soanbai/Lecture/LectureEditor.swf" … … 26 28 </div> 27 29 <!-- PAGE CONTENT ENDS --> 28 29 30 </div><!-- /.page-content --> 30 31 </div><!-- /.main-content --> … … 35 36 </a> 36 37 </div><!-- /.main-container --> 38 37 39 <?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'))); 39 42 ?>
Note: See TracChangeset
for help on using the changeset viewer.