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

Last change on this file since 570 was 558, checked in by quyenla, 11 years ago

frontpage

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