1 | <?php /* Smarty version Smarty-3.1.7, created on 2014-10-30 16:16:52 |
---|
2 | compiled from "application/modules/admin/views/collaborator/listview.php" */ ?> |
---|
3 | <?php /*%%SmartyHeaderCode:691235965451c611936948-25061103%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed'); |
---|
4 | $_valid = $_smarty_tpl->decodeProperties(array ( |
---|
5 | 'file_dependency' => |
---|
6 | array ( |
---|
7 | '8b2d10c353cfdb015a96e339ea08ab72495dbf35' => |
---|
8 | array ( |
---|
9 | 0 => 'application/modules/admin/views/collaborator/listview.php', |
---|
10 | 1 => 1414660609, |
---|
11 | 2 => 'file', |
---|
12 | ), |
---|
13 | ), |
---|
14 | 'nocache_hash' => '691235965451c611936948-25061103', |
---|
15 | 'function' => |
---|
16 | array ( |
---|
17 | ), |
---|
18 | 'version' => 'Smarty-3.1.7', |
---|
19 | 'unifunc' => 'content_5451c61194a0f', |
---|
20 | 'variables' => |
---|
21 | array ( |
---|
22 | 'itemsoptions' => 0, |
---|
23 | 'option' => 0, |
---|
24 | 'perpage' => 0, |
---|
25 | 'keyword' => 0, |
---|
26 | 'collaborators' => 0, |
---|
27 | 'collaborator' => 0, |
---|
28 | 'paging' => 0, |
---|
29 | ), |
---|
30 | 'has_nocache_code' => false, |
---|
31 | ),false); /*/%%SmartyHeaderCode%%*/?> |
---|
32 | <?php if ($_valid && !is_callable('content_5451c61194a0f')) {function content_5451c61194a0f($_smarty_tpl) {?><div id="breadcrumbs" class="breadcrumbs"> |
---|
33 | |
---|
34 | <ul class="breadcrumb"> |
---|
35 | <li> |
---|
36 | <i class="icon-home home-icon"></i> |
---|
37 | <a href="#">Trang chá»§</a> |
---|
38 | </li> |
---|
39 | |
---|
40 | <li> |
---|
41 | <a href="#">Quản lÜ tà i khoản</a> |
---|
42 | </li> |
---|
43 | <li> |
---|
44 | <a href="#">Ngưá»i dùng</a> |
---|
45 | </li> |
---|
46 | <li class="active">Cá»ng tác viên</li> |
---|
47 | </ul><!-- .breadcrumb --> |
---|
48 | |
---|
49 | <div id="nav-search" class="nav-search"> |
---|
50 | <form class="form-search"> |
---|
51 | <span class="input-icon"> |
---|
52 | <input type="text" autocomplete="off" id="nav-search-input" class="nav-search-input" placeholder="Tìm kiếm ..."> |
---|
53 | <i class="icon-search nav-search-icon"></i> |
---|
54 | </span> |
---|
55 | </form> |
---|
56 | </div><!-- #nav-search --> |
---|
57 | </div> |
---|
58 | <div class="page-content"> |
---|
59 | <div class="page-header"> |
---|
60 | <h1> |
---|
61 | Cá»ng tác viên |
---|
62 | <small> |
---|
63 | <i class="icon-double-angle-right"></i> |
---|
64 | thá»ng kê tà i khoản |
---|
65 | </small> |
---|
66 | </h1> |
---|
67 | </div><!-- /.page-header --> |
---|
68 | |
---|
69 | <div class="row"> |
---|
70 | <div class="col-xs-12"> |
---|
71 | <!-- PAGE CONTENT BEGINS --> |
---|
72 | <div style="padding-bottom:4px" class="table-header"> |
---|
73 | Thá»ng kê tà i khoản |
---|
74 | |
---|
75 | <button href="#addUser" data-toggle="modal" class="btn btn-success pull-right"> |
---|
76 | <i class="icon-plus"></i> |
---|
77 | Thêm cá»ng tác viên |
---|
78 | </button> |
---|
79 | |
---|
80 | </div> |
---|
81 | |
---|
82 | <div class="table-responsive"> |
---|
83 | <div role="grid" class="dataTables_wrapper" id="sample-table-2_wrapper"> |
---|
84 | <form onsubmit="return false;" id="collaborator" > |
---|
85 | <div class="row"> |
---|
86 | <div class="col-sm-6"> |
---|
87 | <div id="sample-table-2_length" class="dataTables_length"><label>Hiá»n thá» |
---|
88 | <select onchange="filter();" name="items" size="1" aria-controls="sample-table-2"> |
---|
89 | <?php $_smarty_tpl->tpl_vars['option'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['option']->_loop = false; |
---|
90 | $_from = $_smarty_tpl->tpl_vars['itemsoptions']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} |
---|
91 | foreach ($_from as $_smarty_tpl->tpl_vars['option']->key => $_smarty_tpl->tpl_vars['option']->value){ |
---|
92 | $_smarty_tpl->tpl_vars['option']->_loop = true; |
---|
93 | ?> |
---|
94 | <option <?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['option']->value;?> |
---|
95 | <?php $_tmp1=ob_get_clean();?><?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['perpage']->value;?> |
---|
96 | <?php $_tmp2=ob_get_clean();?><?php if (($_tmp1==$_tmp2)){?> selected<?php }?> value="<?php echo $_smarty_tpl->tpl_vars['option']->value;?> |
---|
97 | "><?php echo $_smarty_tpl->tpl_vars['option']->value;?> |
---|
98 | </option> |
---|
99 | <?php } ?> |
---|
100 | </select> bản ghi</label> |
---|
101 | |
---|
102 | </div> |
---|
103 | </div> |
---|
104 | |
---|
105 | <div class="col-sm-6"> |
---|
106 | <div class="dataTables_filter" id="sample-table-2_filter"> |
---|
107 | <label>Tìm kiếm: |
---|
108 | <input type="text" name="keyword" id="keyword" value='<?php echo $_smarty_tpl->tpl_vars['keyword']->value;?> |
---|
109 | ' aria-controls="sample-table-2"></label> |
---|
110 | </div> |
---|
111 | </div> |
---|
112 | </div> |
---|
113 | </form> |
---|
114 | <table class="table table-striped table-bordered table-hover dataTable" id="sample-table-2" aria-describedby="sample-table-2_info"> |
---|
115 | <thead> |
---|
116 | <tr role="row"> |
---|
117 | <th class="center sorting_disabled" role="columnheader" rowspan="1" colspan="1" style="width: 44px;" aria-label=""> |
---|
118 | <label> |
---|
119 | <input type="checkbox" class="ace"> |
---|
120 | <span class="lbl"></span> |
---|
121 | </label> |
---|
122 | </th> |
---|
123 | <th class="sorting" role="columnheader" tabindex="0" aria-controls="sample-table-2" rowspan="1" colspan="1" style="width: 176px;" aria-label="Sá» Äiá»n thoại: activate to sort column ascending">Sá» Äiá»n thoại</th> |
---|
124 | <th class="sorting" role="columnheader" tabindex="0" aria-controls="sample-table-2" rowspan="1" colspan="1" style="width: 183px;" aria-label="HỠtên: activate to sort column ascending">HỠtên</th> |
---|
125 | <th class="hidden-480 sorting" role="columnheader" tabindex="0" aria-controls="sample-table-2" rowspan="1" colspan="1" style="width: 122px;" aria-label="Tiá»n: activate to sort column ascending">Tiá»n</th> |
---|
126 | <th class="sorting" role="columnheader" tabindex="0" aria-controls="sample-table-2" rowspan="1" colspan="1" style="width: 209px;" aria-label="Ngà y ÄÄng kÜ: activate to sort column ascending"> |
---|
127 | <i class="icon-time bigger-110 hidden-480"></i> |
---|
128 | Ngà y ÄÄng kÜ |
---|
129 | </th> |
---|
130 | <th class="hidden-480 sorting" role="columnheader" tabindex="0" aria-controls="sample-table-2" rowspan="1" colspan="1" style="width: 158px;" aria-label="Trạng thái: activate to sort column ascending">Trạng thái</th><th class="sorting_disabled" role="columnheader" rowspan="1" colspan="1" style="width: 133px;" aria-label=""></th></tr> |
---|
131 | </thead> |
---|
132 | |
---|
133 | |
---|
134 | <tbody role="alert" aria-live="polite" aria-relevant="all"> |
---|
135 | <?php $_smarty_tpl->tpl_vars['collaborator'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['collaborator']->_loop = false; |
---|
136 | $_from = $_smarty_tpl->tpl_vars['collaborators']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} |
---|
137 | foreach ($_from as $_smarty_tpl->tpl_vars['collaborator']->key => $_smarty_tpl->tpl_vars['collaborator']->value){ |
---|
138 | $_smarty_tpl->tpl_vars['collaborator']->_loop = true; |
---|
139 | ?> |
---|
140 | <tr class="odd"> |
---|
141 | <td class="center sorting_1"> |
---|
142 | <label> |
---|
143 | <input type="checkbox" class="ace"> |
---|
144 | <span class="lbl"></span> |
---|
145 | </label> |
---|
146 | </td> |
---|
147 | |
---|
148 | <td class=" "> |
---|
149 | <a href="#"><?php echo $_smarty_tpl->tpl_vars['collaborator']->value['cellphone'];?> |
---|
150 | </a> |
---|
151 | </td> |
---|
152 | <td class=" "><?php echo $_smarty_tpl->tpl_vars['collaborator']->value['full_name'];?> |
---|
153 | </td> |
---|
154 | <td class="hidden-480 ">3,330 VND</td> |
---|
155 | <td class=" "><?php echo $_smarty_tpl->tpl_vars['collaborator']->value['created_time'];?> |
---|
156 | </td> |
---|
157 | |
---|
158 | <td class="hidden-480 "> |
---|
159 | <?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['collaborator']->value['activated'];?> |
---|
160 | <?php $_tmp3=ob_get_clean();?><?php if (($_tmp3)==1){?> |
---|
161 | <span class="label label-sm label-success">KÃch hoạt</span> |
---|
162 | <?php }?> |
---|
163 | <?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['collaborator']->value['activated'];?> |
---|
164 | <?php $_tmp4=ob_get_clean();?><?php if (($_tmp4)==0){?> |
---|
165 | <span class="label label-sm label-default">Chưa kÃch hoạt</span> |
---|
166 | <?php }?> |
---|
167 | </td> |
---|
168 | |
---|
169 | <td class=" "> |
---|
170 | <div class="visible-md visible-lg hidden-sm hidden-xs action-buttons"> |
---|
171 | <a href="#" class="blue"> |
---|
172 | <i class="icon-zoom-in bigger-130"></i> |
---|
173 | </a> |
---|
174 | |
---|
175 | <a href="#" class="green"> |
---|
176 | <i class="icon-pencil bigger-130"></i> |
---|
177 | </a> |
---|
178 | |
---|
179 | <a href="#" class="red"> |
---|
180 | <i class="icon-trash bigger-130"></i> |
---|
181 | </a> |
---|
182 | </div> |
---|
183 | |
---|
184 | <div class="visible-xs visible-sm hidden-md hidden-lg"> |
---|
185 | <div class="inline position-relative"> |
---|
186 | <button data-toggle="dropdown" class="btn btn-minier btn-yellow dropdown-toggle"> |
---|
187 | <i class="icon-caret-down icon-only bigger-120"></i> |
---|
188 | </button> |
---|
189 | |
---|
190 | <ul class="dropdown-menu dropdown-only-icon dropdown-yellow pull-right dropdown-caret dropdown-close"> |
---|
191 | <li> |
---|
192 | <a title="" data-rel="tooltip" class="tooltip-info" href="#" data-original-title="View"> |
---|
193 | <span class="blue"> |
---|
194 | <i class="icon-zoom-in bigger-120"></i> |
---|
195 | </span> |
---|
196 | </a> |
---|
197 | </li> |
---|
198 | |
---|
199 | <li> |
---|
200 | <a title="" data-rel="tooltip" class="tooltip-success" href="#" data-original-title="Edit"> |
---|
201 | <span class="green"> |
---|
202 | <i class="icon-edit bigger-120"></i> |
---|
203 | </span> |
---|
204 | </a> |
---|
205 | </li> |
---|
206 | |
---|
207 | <li> |
---|
208 | <a title="" data-rel="tooltip" class="tooltip-error" href="#" data-original-title="Delete"> |
---|
209 | <span class="red"> |
---|
210 | <i class="icon-trash bigger-120"></i> |
---|
211 | </span> |
---|
212 | </a> |
---|
213 | </li> |
---|
214 | </ul> |
---|
215 | </div> |
---|
216 | </div> |
---|
217 | </td> |
---|
218 | </tr> |
---|
219 | <?php } ?> |
---|
220 | |
---|
221 | |
---|
222 | |
---|
223 | |
---|
224 | |
---|
225 | |
---|
226 | |
---|
227 | </tbody></table><div class="row"><div class="col-sm-6"><div class="dataTables_info" id="sample-table-2_info">Hiá»n thá» 1 Äến 2 cá»§a 2 bản ghi</div></div> |
---|
228 | <div class="col-sm-6"> |
---|
229 | <div class="dataTables_paginate paging_bootstrap"> |
---|
230 | <ul class="pagination"> |
---|
231 | <?php echo $_smarty_tpl->tpl_vars['paging']->value;?> |
---|
232 | |
---|
233 | </ul> |
---|
234 | </div> |
---|
235 | </div> |
---|
236 | </div> |
---|
237 | |
---|
238 | </div> |
---|
239 | </div> |
---|
240 | |
---|
241 | <div id="addUser" class="modal fade in" tabindex="-1"> |
---|
242 | <div class="modal-dialog"> |
---|
243 | <div class="modal-content"> |
---|
244 | <div class="modal-header no-padding"> |
---|
245 | <div class="table-header"> |
---|
246 | <button type="button" class="close" data-dismiss="modal" aria-hidden="true"> |
---|
247 | <span class="white">Ã</span> |
---|
248 | </button> |
---|
249 | Thêm cá»ng tác viên |
---|
250 | </div> |
---|
251 | </div> |
---|
252 | |
---|
253 | <div class="modal-body"> |
---|
254 | <form class="form-horizontal" role="form"> |
---|
255 | <div class="form-group"> |
---|
256 | <label class="col-sm-3 control-label no-padding-right" for="form-field-1"> Tà i khoản </label> |
---|
257 | |
---|
258 | <div class="col-sm-9"> |
---|
259 | <span class="input-icon"> |
---|
260 | <input type="text" id="form-field-1" placeholder="Tà i khoản"> |
---|
261 | <i class="icon-user blue"></i> |
---|
262 | </span> |
---|
263 | </div> |
---|
264 | <div class="help-block"> </div> |
---|
265 | </div> |
---|
266 | |
---|
267 | <div class="space-4"></div> |
---|
268 | |
---|
269 | <div class="form-group"> |
---|
270 | <label class="col-sm-3 control-label no-padding-right" for="form-field-2"> Máºt khẩu </label> |
---|
271 | |
---|
272 | <div class="col-sm-9"> |
---|
273 | <span class="input-icon"> |
---|
274 | <input type="password" id="form-field-2" placeholder="Máºt khẩu"> |
---|
275 | <i class="icon-lock blue"></i> |
---|
276 | </span> |
---|
277 | </div> |
---|
278 | <div class="help-block"> </div> |
---|
279 | </div> |
---|
280 | |
---|
281 | <div class="space-4"></div> |
---|
282 | |
---|
283 | <div class="clearfix form-actions"> |
---|
284 | <div class="col-md-offset-3 col-md-9"> |
---|
285 | <button class="btn btn-info" type="button"> |
---|
286 | <i class="icon-ok bigger-110"></i> |
---|
287 | Hoà n tất |
---|
288 | </button> |
---|
289 | |
---|
290 | |
---|
291 | <button class="btn" type="reset"> |
---|
292 | <i class="icon-undo bigger-110"></i> |
---|
293 | Xóa hết |
---|
294 | </button> |
---|
295 | </div> |
---|
296 | </div> |
---|
297 | |
---|
298 | </form></div> |
---|
299 | |
---|
300 | </div> |
---|
301 | </div><!-- /.modal-content --> |
---|
302 | </div><!-- /.modal-dialog --> |
---|
303 | </div> |
---|
304 | |
---|
305 | <!-- PAGE CONTENT ENDS --> |
---|
306 | </div><!-- /.col --> |
---|
307 | </div> |
---|
308 | <script type="text/javascript"> |
---|
309 | window.onload = function () |
---|
310 | { |
---|
311 | init_page(); |
---|
312 | } |
---|
313 | |
---|
314 | |
---|
315 | </script><?php }} ?> |
---|