source: pro-violet-viettel/sourcecode/application/modules/frontend/views/lecture_editor.php @ 838

Last change on this file since 838 was 838, checked in by namnd, 10 years ago
File size: 6.2 KB
Line 
1<?php
2$this->load->view('layout/frontend/header');
3$base_url = base_url();
4$this->load->view('layout/frontend/sidebar');
5?>
6
7                                <div class="main-content">
8                                <!-- <input type="button" value="Open" id="open-lecture"> -->
9                                        <div class="page-content no-padding">
10                                                                <!-- PAGE CONTENT BEGINS -->
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' ?>
14                                                                <?php $flashVars.= '&youtubeUrl='.$base_url.'assets/soanbai/Service/fake_youtube.php'.$langParam.'&command=Init OK' ?>
15                                                                <?php $flashVars.= '&licenseStatus='. ($licenseAvailable == 'OK' ? 'OK' : 'NG') ?>
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']:'' ?>
19 
20                                                                <div class="embed-responsive embed-responsive-4by3">
21                                                                  <embed                                                                 
22                                                                          scale="showall"
23                                                                          id="LectorEditorOnline"
24                                                                          salign="t"
25                                                                          name="LectorEditorOnline"                                                                       
26                                                                          class="embed-responsive-item"
27                                                                          src="<?php echo $base_url;?>assets/soanbai/Lecture/LectureEditor.swf"
28                                                                          wmode="transparent"
29                                                                          type="application/x-shockwave-flash"
30                                                                          flashvars="host=<?php echo $base_url; ?>&<?php echo $flashVars;?>"
31                                                                  />
32                                                                </div>                                                 
33                                                                <!-- PAGE CONTENT ENDS -->
34                                        </div><!-- /.page-content -->
35                                </div><!-- /.main-content -->
36                        </div><!-- /.main-container-inner -->
37
38                        <!-- <a href="#" id="btn-scroll-up" class="btn-scroll-up btn btn-sm btn-inverse">
39                                <i class="icon-double-angle-up icon-only bigger-110"></i>
40                        </a> -->
41                </div><!-- /.main-container -->
42               
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">
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"; ?>>
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">
73                                <input name="school"  type="text" value="<?php echo $school; ?>" placeholder="Đơn vị" id="form-field-first" class="input-large">
74                                                                <label class="block clearfix has-error">
75                                                                        <div id="school" class="help-block error"></div>
76                                </label>
77                            </div>
78                        </div>
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">
83                                                                <option></option>
84                                                                <?php foreach ($provinces as $key=>$pro):?>
85                                                                       
86                                                                        <option value="<?php echo $key;?>" <?php if($province == $key) echo "selected"; ?>><?php echo $pro; ?></option>
87                                                                <?php endforeach;?>
88                                                                </select>
89                                                                <label class="block clearfix has-error">
90                                                                        <div id="province" class="help-block error"></div>
91                                </label>
92                                                        </div>
93                                                </div>
94                                                <div class="form-group">
95                                                        <label for="form-field-username" class="col-sm-4 control-label no-padding-right">Quận / Huyện</label>
96                                                        <div class="col-sm-8">
97                                                                <select name="district" id="form-field-district" class="input-large"></select>
98                                                        </div>
99                                                </div>
100
101                        Lưu Ü:
102                        <ul>
103                        <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>
104                        </ul>
105
106                       
107                    </form>
108               
109                <div class="modal-footer">
110
111                 <a href="#" id="update_user_info" class="btn btn-success" >Hoàn tất</a>
112                </div>
113            </div>
114        </div>
115    </div>
116</div>
117                <?php echo $licenseAvailable;?>
118<script type="text/javascript">
119        var licenseAvailable = "<?php echo $licenseAvailable;?>";
120        var url= "<?php echo base_url();?>";
121        var first_visit= "<?php echo $first_visit;?>";
122    var p_period= "<?php echo $p_period;?>";
123    var expire_date= "<?php echo $expire_date;?>";
124    var update_user_info="<?php echo $update_user_info;?>";
125    var us_id="<?php echo $us_id;?>";
126    var is_overdate = <?php echo $isOverDate;?>
127</script>               
128<?php
129$this->load->view('servicemodals',array("expire_date"=>$expire_date));
130$this->load->view('layout/frontend/footer', array('usjs'=> array('assets/js/frontend/lecture.js')));
131?>
132               
Note: See TracBrowser for help on using the repository browser.