[302] | 1 | <?php |
---|
[483] | 2 | $this->load->view('layout/frontend/header'); |
---|
[313] | 3 | $base_url = base_url(); |
---|
[450] | 4 | $this->load->view('layout/frontend/sidebar'); |
---|
[302] | 5 | ?> |
---|
[647] | 6 | |
---|
[302] | 7 | <div class="main-content"> |
---|
[647] | 8 | <!-- <input type="button" value="Open" id="open-lecture"> --> |
---|
[302] | 9 | <div class="page-content no-padding"> |
---|
| 10 | <!-- PAGE CONTENT BEGINS --> |
---|
[472] | 11 | <?php $langParam = '&language=Vietnamese' ?> |
---|
| 12 | <?php $flashVars = 'online=true&applicationId=Violet Online' ?> |
---|
| 13 | <?php $flashVars.= '&commonLibList=sxIOE3.xml,sxIOE4.xml,sxIOE5.xml,tnIOE3.xml,tnIOE4.xml,tnIOE5.xml' ?> |
---|
[483] | 14 | <?php $flashVars.= '&youtubeUrl='.$base_url.'assets/soanbai/Service/fake_youtube.php'.$langParam.'&command=Init OK' ?> |
---|
[744] | 15 | <?php $flashVars.= '&licenseStatus='. ($licenseAvailable == 'OK' ? 'OK' : 'NG') ?> |
---|
[660] | 16 | <?php $flashVars.= isset($licflashVars['id']) ? '&userId='. $licflashVars['id']:'' ?> |
---|
| 17 | <?php $flashVars.= isset($licflashVars['fullname']) ? '&appUserName='.$licflashVars['fullname']:'' ?> |
---|
| 18 | <?php $flashVars.= isset($licflashVars['school']) ? '&appAddress='.$licflashVars['school']:'' ?> |
---|
[566] | 19 | |
---|
[631] | 20 | <div class="embed-responsive embed-responsive-4by3"> |
---|
| 21 | <embed |
---|
| 22 | scale="showall" |
---|
[483] | 23 | id="LectorEditorOnline" |
---|
[631] | 24 | salign="t" |
---|
[483] | 25 | name="LectorEditorOnline" |
---|
[323] | 26 | class="embed-responsive-item" |
---|
[450] | 27 | src="<?php echo $base_url;?>assets/soanbai/Lecture/LectureEditor.swf" |
---|
[323] | 28 | wmode="transparent" |
---|
| 29 | type="application/x-shockwave-flash" |
---|
[472] | 30 | flashvars="host=<?php echo $base_url; ?>&<?php echo $flashVars;?>" |
---|
[323] | 31 | /> |
---|
[313] | 32 | </div> |
---|
[302] | 33 | <!-- PAGE CONTENT ENDS --> |
---|
| 34 | </div><!-- /.page-content --> |
---|
| 35 | </div><!-- /.main-content --> |
---|
| 36 | </div><!-- /.main-container-inner --> |
---|
| 37 | |
---|
[631] | 38 | <!-- <a href="#" id="btn-scroll-up" class="btn-scroll-up btn btn-sm btn-inverse"> |
---|
[302] | 39 | <i class="icon-double-angle-up icon-only bigger-110"></i> |
---|
[631] | 40 | </a> --> |
---|
[302] | 41 | </div><!-- /.main-container --> |
---|
[490] | 42 | |
---|
[580] | 43 | <div class="modal fade" id="update_user_info" tabindex="-1" role="dialog"aria-hidden="true"> |
---|
| 44 | <div class="modal-dialog"> |
---|
| 45 | <div class="modal-content"> |
---|
| 46 | <div class="modal-header"> |
---|
| 47 | |
---|
| 48 | <h4 class="modal-title">Cáºp nháºt thÃŽng tin cá nhân</h4> |
---|
| 49 | </div> |
---|
| 50 | <div class="modal-body"> |
---|
| 51 | <form id="update_user_info" class="form-horizontal form" action="#" method="POST"> |
---|
| 52 | |
---|
| 53 | <div class="errors" id="package_register_errors"> |
---|
| 54 | |
---|
| 55 | </div> |
---|
| 56 | <div class="form-group" style="margin-bottom:0px;"> |
---|
| 57 | <label for="form-field-first" class="col-sm-4 control-label no-padding-right"> |
---|
| 58 | HỠvà tên</label> |
---|
| 59 | <div class="col-sm-8"> |
---|
[717] | 60 | <input name="fullname" type="text" value="<?php echo $fullname; ?>" placeholder="HỠvà tên" id="form-field-first" class="input-large" <?php if($fullname) echo "disabled"; ?>> |
---|
[580] | 61 | <label class="block clearfix has-error"> |
---|
| 62 | <div id="fullname" class="help-block error"></div> |
---|
| 63 | </label> |
---|
| 64 | </div> |
---|
| 65 | </div> |
---|
| 66 | |
---|
| 67 | <div class="space-4"></div> |
---|
| 68 | |
---|
| 69 | <div class="form-group"> |
---|
| 70 | <label for="form-field-username" class="col-sm-4 control-label no-padding-right"> |
---|
| 71 | ÄÆ¡n vá»</label> |
---|
| 72 | <div class="col-sm-8"> |
---|
[717] | 73 | <input name="school" type="text" value="<?php echo $school; ?>" placeholder="ÄÆ¡n vá»" id="form-field-first" class="input-large"> |
---|
[721] | 74 | <label class="block clearfix has-error"> |
---|
| 75 | <div id="school" class="help-block error"></div> |
---|
[580] | 76 | </label> |
---|
| 77 | </div> |
---|
| 78 | </div> |
---|
[717] | 79 | <div class="form-group"> |
---|
| 80 | <label for="form-field-province" class="col-sm-4 control-label no-padding-right">Tá»nh / Thà nh phá»</label> |
---|
| 81 | <div class="col-sm-8"> |
---|
| 82 | <select name="province" id="form-field-province" class="input-large"> |
---|
[819] | 83 | <option></option> |
---|
[753] | 84 | <?php foreach ($provinces as $key=>$pro):?> |
---|
[819] | 85 | |
---|
| 86 | <option value="<?php echo $key;?>" <?php if($province == $key) echo "selected"; ?>><?php echo $pro; ?></option> |
---|
[717] | 87 | <?php endforeach;?> |
---|
| 88 | </select> |
---|
[721] | 89 | <label class="block clearfix has-error"> |
---|
| 90 | <div id="province" class="help-block error"></div> |
---|
| 91 | </label> |
---|
[717] | 92 | </div> |
---|
| 93 | </div> |
---|
[838] | 94 | <div class="form-group"> |
---|
[906] | 95 | <label for="form-field-district" class="col-sm-4 control-label no-padding-right">Quáºn / Huyá»n</label> |
---|
[838] | 96 | <div class="col-sm-8"> |
---|
| 97 | <select name="district" id="form-field-district" class="input-large"></select> |
---|
[906] | 98 | <label class="block clearfix has-error"> |
---|
| 99 | <div id="district" class="help-block error"></div> |
---|
| 100 | </label> |
---|
[838] | 101 | </div> |
---|
[906] | 102 | |
---|
[838] | 103 | </div> |
---|
[580] | 104 | |
---|
| 105 | Lưu Ü: |
---|
| 106 | <ul> |
---|
[625] | 107 | <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> |
---|
[580] | 108 | </ul> |
---|
| 109 | |
---|
| 110 | |
---|
| 111 | </form> |
---|
| 112 | |
---|
| 113 | <div class="modal-footer"> |
---|
| 114 | |
---|
| 115 | <a href="#" id="update_user_info" class="btn btn-success" >Hoà n tất</a> |
---|
| 116 | </div> |
---|
| 117 | </div> |
---|
| 118 | </div> |
---|
| 119 | </div> |
---|
| 120 | </div> |
---|
[654] | 121 | <?php echo $licenseAvailable;?> |
---|
[490] | 122 | <script type="text/javascript"> |
---|
[566] | 123 | var licenseAvailable = "<?php echo $licenseAvailable;?>"; |
---|
| 124 | var url= "<?php echo base_url();?>"; |
---|
| 125 | var first_visit= "<?php echo $first_visit;?>"; |
---|
[737] | 126 | var p_period= "<?php echo $p_period;?>"; |
---|
| 127 | var expire_date= "<?php echo $expire_date;?>"; |
---|
[647] | 128 | var update_user_info="<?php echo $update_user_info;?>"; |
---|
| 129 | var us_id="<?php echo $us_id;?>"; |
---|
[765] | 130 | var is_overdate = <?php echo $isOverDate;?> |
---|
[490] | 131 | </script> |
---|
[302] | 132 | <?php |
---|
[654] | 133 | $this->load->view('servicemodals',array("expire_date"=>$expire_date)); |
---|
[483] | 134 | $this->load->view('layout/frontend/footer', array('usjs'=> array('assets/js/frontend/lecture.js'))); |
---|
[490] | 135 | ?> |
---|
| 136 | |
---|