1 | <?php $base_url = base_url();?> |
---|
2 | <!DOCTYPE html> |
---|
3 | <html lang="en"> |
---|
4 | <head> |
---|
5 | <meta charset="utf-8" /> |
---|
6 | <title>SBG Online</title> |
---|
7 | |
---|
8 | <meta name="description" content="User login page" /> |
---|
9 | <meta name="viewport" content="width=device-width, initial-scale=1.0" /> |
---|
10 | |
---|
11 | <!-- basic styles --> |
---|
12 | <link href="<?php echo $base_url; ?>assets/css/bootstrap.min.css" rel="stylesheet" /> |
---|
13 | <link rel="stylesheet" href="<?php echo $base_url; ?>assets/css/font-awesome.min.css" /> |
---|
14 | |
---|
15 | <link rel="stylesheet" href="<?php echo $base_url; ?>assets/css/ace-fonts.css" /> |
---|
16 | |
---|
17 | <!-- ace styles --> |
---|
18 | |
---|
19 | <link rel="stylesheet" href="<?php echo $base_url; ?>assets/css/ace.min.css" /> |
---|
20 | <link rel="stylesheet" href="<?php echo $base_url; ?>assets/css/ace-rtl.min.css" /> |
---|
21 | |
---|
22 | <!--[if lte IE 8]> |
---|
23 | <link rel="stylesheet" href="assets/css/ace-ie.min.css" /> |
---|
24 | <![endif]--> |
---|
25 | |
---|
26 | <!-- inline styles related to this page --> |
---|
27 | |
---|
28 | <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries --> |
---|
29 | |
---|
30 | <!--[if lt IE 9]> |
---|
31 | <script src="assets/js/html5shiv.js"></script> |
---|
32 | <script src="assets/js/respond.min.js"></script> |
---|
33 | <![endif]--> |
---|
34 | </head> |
---|
35 | |
---|
36 | <body class="login-layout"> |
---|
37 | <div class="main-container no-margin"> |
---|
38 | <div class="main-content"> |
---|
39 | <div class="row"> |
---|
40 | <div class="space-6"></div> |
---|
41 | <div class="col-md-8"> |
---|
42 | <div class="title-box col-md-8"> |
---|
43 | <img src="<?php echo $base_url; ?>assets/img/logo_soanbai_online_black.png" class="img-responsive"> |
---|
44 | </div> |
---|
45 | <div class="title-box col-md-12"> |
---|
46 | <!-- <h3>Dá»ch vụ lưu trữ trá»±c tuyến dữ liá»u bà i giảng cá»§a <a href="http://violet.vn">Violet.vn</a></h3> --> |
---|
47 | </div> |
---|
48 | <ul class="list-inline col-md-12"> |
---|
49 | <li><img src="<?php echo $base_url; ?>assets/img/logo_Violet.png" width="128" class="img-responsive"></li> |
---|
50 | <li><img src="<?php echo $base_url; ?>assets/img/logo_viettel.png" width="128" class="img-responsive"></li> |
---|
51 | </ul> |
---|
52 | </div> |
---|
53 | <div class="col-md-4"> |
---|
54 | <div class="login-container"> |
---|
55 | <div class="position-relative"> |
---|
56 | <div id="login-box" class="login-box visible widget-box no-border" style="background: transparent"> |
---|
57 | <div class="widget-body" style="background:transparent"> |
---|
58 | <div class="widget-main" style="background:transparent"> |
---|
59 | <h4 class="header blue lighter bigger"> |
---|
60 | <i class="icon-cloud-upload green"></i> |
---|
61 | SBGOnline | <small><a href="#" data-toggle="modal" data-target="#modal-signup">ÄÄng kÜ</a></small> |
---|
62 | </h4> |
---|
63 | <form action="<?php echo $base_url; ?>frontend/home/signin" id="validation-form" method="POST"> |
---|
64 | <fieldset> |
---|
65 | <label class="block clearfix has-error"> |
---|
66 | <div class="help-block"> |
---|
67 | <?php |
---|
68 | if($this->session->flashdata('login_error')){ |
---|
69 | echo 'ThÃŽng tin ÄÄng nháºp khÃŽng chÃnh xác!'; |
---|
70 | } |
---|
71 | ?> |
---|
72 | </div> |
---|
73 | </label> |
---|
74 | <label class="block clearfix has-error"> |
---|
75 | <span class="block input-icon input-icon-right"> |
---|
76 | <input type="text" class="form-control" name="username" placeholder="Sá» Äiá»n thoại" /> |
---|
77 | <i class="icon-user"></i> |
---|
78 | </span> |
---|
79 | <div class="help-block"></div> |
---|
80 | </label> |
---|
81 | |
---|
82 | <label class="block clearfix"> |
---|
83 | <span class="block input-icon input-icon-right"> |
---|
84 | <input type="password" class="form-control" name="password" placeholder="Máºt khẩu" /> |
---|
85 | <i class="icon-lock"></i> |
---|
86 | </span> |
---|
87 | <div class="help-block"> </div> |
---|
88 | </label> |
---|
89 | <h4> |
---|
90 | <small><a href="#" data-toggle="modal" data-target="#modal-forgotpass">Quên máºt khẩu</a></small> |
---|
91 | </h4> |
---|
92 | <div class="space"></div> |
---|
93 | |
---|
94 | <div class="clearfix"> |
---|
95 | <label class="inline"> |
---|
96 | <input type="checkbox" name="remember_me" class="ace" /> |
---|
97 | <span class="lbl"> Ghi nhá»</span> |
---|
98 | </label> |
---|
99 | |
---|
100 | <!--a href="index-user.html" title=""--> |
---|
101 | <button type="submit" name="submit" id="login-button" class="pull-right btn btn-sm btn-primary"> |
---|
102 | <i class="icon-key"></i> |
---|
103 | ÄÄng nháºp |
---|
104 | </button> |
---|
105 | <!--/a--> |
---|
106 | </div> |
---|
107 | |
---|
108 | <div class="space-4"></div> |
---|
109 | </fieldset> |
---|
110 | </form> |
---|
111 | </div><!-- /widget-main --> |
---|
112 | </div><!-- /widget-body --> |
---|
113 | </div><!-- /login-box --> |
---|
114 | |
---|
115 | </div><!-- /position-relative --> |
---|
116 | </div> |
---|
117 | </div><!-- /.col --> |
---|
118 | </div><!-- /.row --> |
---|
119 | |
---|
120 | </div> |
---|
121 | </div><!-- /.main-container --> |
---|
122 | |
---|
123 | <div class="modal fade" id="modal-signup" tabindex="-1" role="dialog"aria-hidden="true"> |
---|
124 | <div class="modal-dialog"> |
---|
125 | <div class="modal-content"> |
---|
126 | <div class="modal-header"> |
---|
127 | <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button> |
---|
128 | <h4 class="modal-title">ÄÄng kÜ tà i khoản</h4> |
---|
129 | </div> |
---|
130 | <div class="modal-body"> |
---|
131 | <div class="alert alert-block alert-success" style="text-align: justify;"> |
---|
132 | |
---|
133 | <p> |
---|
134 | Äá» ÄÄng kÜ tà i khoản tà i khoản trên há» thá»ng Soạn Bà i giảng trá»±c tuyến (SBG Online), Quà vá» hãy soạn tin nhắn theo cú pháp: |
---|
135 | <strong> |
---|
136 | SBG DK |
---|
137 | </strong> |
---|
138 | gá»i tá»i |
---|
139 | <strong> |
---|
140 | 8062</strong>. |
---|
141 | </p> |
---|
142 | <p> |
---|
143 | Sau khi nháºn ÄÆ°á»£c tin nhắn ÄÄng kà tà i khoản cá»§a Quà vá», há» thá»ng SBG Online sẜ gá»i lại thÃŽng tin ÄÄng nháºp và o Äiá»n thoại cá»§a Quà vá». |
---|
144 | </p> |
---|
145 | <p> |
---|
146 | Nếu Äã nháºn ÄÆ°á»£c thÃŽng tin ÄÄng nháºp há» thá»ng SBG Online gá»i tá»i Äiá»n thoại cá»§a mình, Quà vá» hãy Äiá»n thÃŽng tin và nhấn và o <strong>ÄÄng nháºp</strong> Äá» ÄÄng nháºp và o há» thá»ng. |
---|
147 | </p> |
---|
148 | <p> |
---|
149 | Nếu có vưá»ng mắc gì vá» viá»c ÄÄng kÃ, Quà vá» hãy gá»i sá» <strong>01662860000</strong> Äá» ÄÆ°á»£c há» trợ. |
---|
150 | </p> |
---|
151 | </div> |
---|
152 | </div> |
---|
153 | </div> |
---|
154 | </div> |
---|
155 | </div> |
---|
156 | |
---|
157 | <div class="modal fade" id="modal-forgotpass" tabindex="-1" role="dialog"aria-hidden="true"> |
---|
158 | <div class="modal-dialog"> |
---|
159 | <div class="modal-content"> |
---|
160 | <div class="modal-header"> |
---|
161 | <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button> |
---|
162 | <h4 class="modal-title">Quên máºt khẩu</h4> |
---|
163 | </div> |
---|
164 | <div class="modal-body"> |
---|
165 | <div class="alert alert-block alert-success"> |
---|
166 | <p> |
---|
167 | Äá» lấy lại máºt khẩu cá»§a mình trên há» thá»ng SBG Online, Quà vá» hãy dùng <strong>sá» Äiá»n thoại Äã ÄÄng kà tà i khoản</strong>và soạn tin theo cú pháp: <strong>SBG MK</strong> gá»i tá»i <strong>8062.</strong> |
---|
168 | </p> |
---|
169 | </div> |
---|
170 | </div> |
---|
171 | </div> |
---|
172 | </div> |
---|
173 | </div> |
---|
174 | <!-- basic scripts --> |
---|
175 | |
---|
176 | <!--[if !IE]> --> |
---|
177 | |
---|
178 | <script type="text/javascript"> |
---|
179 | window.jQuery || document.write("<script src='<?php echo $base_url; ?>assets/js/jquery-2.0.3.min.js'>"+"<"+"/script>"); |
---|
180 | </script> |
---|
181 | <script src="<?php echo $base_url; ?>assets/js/bootstrap.min.js"></script> |
---|
182 | <script src="<?php echo $base_url; ?>assets/js/jquery.validate.min.js"></script> |
---|
183 | |
---|
184 | <script src="<?php echo $base_url; ?>assets/js/ace-elements.min.js"></script> |
---|
185 | <script src="<?php echo $base_url; ?>assets/js/ace.min.js"></script> |
---|
186 | <!-- <![endif]--> |
---|
187 | |
---|
188 | <!--[if IE]> |
---|
189 | <script type="text/javascript"> |
---|
190 | window.jQuery || document.write("<script src='assets/js/jquery-1.10.2.min.js'>"+"<"+"/script>"); |
---|
191 | </script> |
---|
192 | <![endif]--> |
---|
193 | |
---|
194 | <script type="text/javascript"> |
---|
195 | if("ontouchend" in document) document.write("<script src='<?php echo $base_url; ?>assets/js/jquery.mobile.custom.min.js'>"+"<"+"/script>"); |
---|
196 | </script> |
---|
197 | |
---|
198 | <!-- inline scripts related to this page --> |
---|
199 | |
---|
200 | <script type="text/javascript"> |
---|
201 | function show_box(id) { |
---|
202 | jQuery('.widget-box.visible').removeClass('visible'); |
---|
203 | jQuery('#'+id).addClass('visible'); |
---|
204 | } |
---|
205 | |
---|
206 | $('#register-button').click(function(){ |
---|
207 | $('#modal-login').modal('show') |
---|
208 | }) |
---|
209 | |
---|
210 | $('#validation-form').validate({ |
---|
211 | errorElement: 'label', |
---|
212 | errorClass: 'help-block', |
---|
213 | focusInvalid: true, |
---|
214 | rules: { |
---|
215 | password: { |
---|
216 | required: true, |
---|
217 | }, |
---|
218 | username: { |
---|
219 | required: true |
---|
220 | } |
---|
221 | }, |
---|
222 | |
---|
223 | messages: { |
---|
224 | username: { |
---|
225 | required: "Vui lòng nháºp tà i khoản hoặc sá» Äiá»n thoại", |
---|
226 | }, |
---|
227 | password: { |
---|
228 | required: "Vui lòng nháºp máºt khẩu.", |
---|
229 | } |
---|
230 | }, |
---|
231 | |
---|
232 | highlight: function (e) { |
---|
233 | $(e).closest('label').removeClass('has-info').addClass('has-error'); |
---|
234 | }, |
---|
235 | |
---|
236 | success: function (e) { |
---|
237 | $(e).closest('label').removeClass('has-error').addClass('has-info'); |
---|
238 | $(e).remove(); |
---|
239 | }, |
---|
240 | }); |
---|
241 | </script> |
---|
242 | </body> |
---|
243 | </html> |
---|