<?php
$this->load->view('layout/frontend/header');
$base_url = base_url();
$this->load->view('layout/frontend/sidebar');
?>
			<div class="main-container-inner">

				<div class="main-content">

					<div class="page-content no-padding">
								<!-- PAGE CONTENT BEGINS -->
								<?php $langParam = '&language=Vietnamese' ?>
								<?php $flashVars = 'online=true&applicationId=Violet Online' ?>
								<?php $flashVars.= '&commonLibList=sxIOE3.xml,sxIOE4.xml,sxIOE5.xml,tnIOE3.xml,tnIOE4.xml,tnIOE5.xml' ?>
								<?php $flashVars.= '&youtubeUrl='.$base_url.'assets/soanbai/Service/fake_youtube.php'.$langParam.'&command=Init OK' ?>
								<?php $flashVars.= '&licenseStatus='.$licenseAvailable ?>
								<?php $flashVars.= '&userId='.$licflashVars['id'] ?>
								<?php $flashVars.= '&appUserName='.$licflashVars['fullname'] ?>
								<?php $flashVars.= '&appAddress='.$licflashVars['school'] ?>
 
								<div class="embed-responsive embed-responsive-16by9">
								  <embed
								  	  id="LectorEditorOnline"
								  	  name="LectorEditorOnline"								  	  
									  class="embed-responsive-item" 
									  src="<?php echo $base_url;?>assets/soanbai/Lecture/LectureEditor.swf" 
									  wmode="transparent"
									  type="application/x-shockwave-flash"
									  flashvars="host=<?php echo $base_url; ?>&<?php echo $flashVars;?>"
								  />
								</div>							
								<!-- PAGE CONTENT ENDS -->
					</div><!-- /.page-content -->
				</div><!-- /.main-content -->
			</div><!-- /.main-container-inner -->

			<a href="#" id="btn-scroll-up" class="btn-scroll-up btn btn-sm btn-inverse">
				<i class="icon-double-angle-up icon-only bigger-110"></i>
			</a>
		</div><!-- /.main-container -->

                
                
                
<div class="modal fade" id="update_user_info" tabindex="-1" role="dialog"aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                
                <h4 class="modal-title">Cập nhật thông tin cá nhân</h4>
            </div>
            <div class="modal-body">
                    <form id="update_user_info" class="form-horizontal form" action="#" method="POST">
                        
                        <div class="errors" id="package_register_errors">
                            
                        </div>
                        <div class="form-group" style="margin-bottom:0px;">
                            <label for="form-field-first" class="col-sm-4 control-label no-padding-right">
                                Họ và tên</label>
                            <div class="col-sm-8">
                                <input name="fullname" type="text" value="" placeholder="Họ và tên" id="form-field-first" class="input-large">
                                <label class="block clearfix has-error">
                                <div id="fullname" class="help-block error"></div>
                                </label>    
                            </div>
                        </div>

                        <div class="space-4"></div>

                        <div class="form-group">
                            <label for="form-field-username" class="col-sm-4 control-label no-padding-right">
                                Đơn vị</label>
                            <div class="col-sm-8">
                                <input name="school"  type="text" value="" placeholder="Đơn vị" id="form-field-first" class="input-large">
                            <label class="block clearfix has-error">
                                <div id="school" class="help-block error"></div>
                                </label> 
                            </div>
                        </div>

                        Lưu ý:
                        <ul> 
                        <li>Quí vị cần điền đầy đủ Họ tên chính xác bằng tiếng Việt có dấu, các tên đơn vị sẽ không được chấp nhận. </li><li>Thông tin Họ tên sẽ không thể thay đổi sau khi Quí vị Đăng kí Sử dụng dịch vụ.</li>
                        </ul>

                        
                    </form>
               
                <div class="modal-footer">

                 <a href="#" id="update_user_info" class="btn btn-success" >Hoàn tất</a>
                </div>
            </div>
        </div>
    </div>
</div>
                
<script type="text/javascript">
	var licenseAvailable = "<?php echo $licenseAvailable;?>";
	var url= "<?php echo base_url();?>";
	var first_visit= "<?php echo $first_visit;?>";
        var update_user_info="<?php echo $update_user_info;?>";
        var us_id="<?php echo $us_id;?>";
</script>		
<?php
$this->load->view('servicemodals');
$this->load->view('layout/frontend/footer', array('usjs'=> array('assets/js/frontend/lecture.js')));
?>
               