source: pro-violet-viettel/sourcecode/application/modules/frontend/views/home.php @ 539

Last change on this file since 539 was 502, checked in by namnd, 11 years ago
File size: 8.8 KB
Line 
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">&times;</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">&times;</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>
Note: See TracBrowser for help on using the repository browser.