1 | <div id="breadcrumbs" class="breadcrumbs">
|
---|
2 |
|
---|
3 | <ul class="breadcrumb">
|
---|
4 | <li>
|
---|
5 | <i class="icon-home home-icon"></i>
|
---|
6 | <a href="#">Trang chá»§</a>
|
---|
7 | </li>
|
---|
8 |
|
---|
9 | <li>
|
---|
10 | <a href="#">Quản lÜ tà i khoản</a>
|
---|
11 | </li>
|
---|
12 | <li>
|
---|
13 | <a href="#">Ngưá»i dùng</a>
|
---|
14 | </li>
|
---|
15 | <li class="active">Danh sách</li>
|
---|
16 | </ul><!-- .breadcrumb -->
|
---|
17 |
|
---|
18 | <div id="nav-search" class="nav-search">
|
---|
19 | <form class="form-search">
|
---|
20 | <span class="input-icon">
|
---|
21 | <input type="text" autocomplete="off" id="nav-search-input" class="nav-search-input" placeholder="Tìm kiếm ...">
|
---|
22 | <i class="icon-search nav-search-icon"></i>
|
---|
23 | </span>
|
---|
24 | </form>
|
---|
25 | </div><!-- #nav-search -->
|
---|
26 | </div>
|
---|
27 | <div class="page-content">
|
---|
28 | <div class="page-header">
|
---|
29 | <h1>
|
---|
30 | Ngưá»i dùng
|
---|
31 | <small>
|
---|
32 | <i class="icon-double-angle-right"></i>
|
---|
33 | Danh sách
|
---|
34 | </small>
|
---|
35 | </h1>
|
---|
36 | </div><!-- /.page-header -->
|
---|
37 |
|
---|
38 | <div class="row">
|
---|
39 | <div class="col-xs-12">
|
---|
40 | <!-- PAGE CONTENT BEGINS -->
|
---|
41 | <div style="padding-bottom:4px" class="table-header">
|
---|
42 | Danh sách
|
---|
43 |
|
---|
44 | <button href="#addUser" data-toggle="modal" class="btn btn-success pull-right">
|
---|
45 | <i class="icon-plus"></i>
|
---|
46 | Thêm ngưá»i dùng
|
---|
47 | </button>
|
---|
48 |
|
---|
49 | </div>
|
---|
50 |
|
---|
51 | <div class="table-responsive">
|
---|
52 | <div role="grid" class="dataTables_wrapper" id="sample-table-2_wrapper">
|
---|
53 | <form onsubmit="return false;" id="user" >
|
---|
54 | <div class="row">
|
---|
55 | <div class="col-sm-6">
|
---|
56 | <div id="sample-table-2_length" class="dataTables_length"><label>Hiá»n thá»
|
---|
57 | <select onchange="filter();" name="items" size="1" aria-controls="sample-table-2">
|
---|
58 | <?php foreach ($itemsoptions as $option) { ?>
|
---|
59 | <option <?php if($option == $perpage) echo "selected"; ?> value="<?=$option?>"><?=$option?></option>
|
---|
60 | <?php } ?>
|
---|
61 | </select> bản ghi</label>
|
---|
62 |
|
---|
63 | </div>
|
---|
64 | </div>
|
---|
65 |
|
---|
66 | <div class="col-sm-6">
|
---|
67 | <div class="dataTables_filter" id="sample-table-2_filter">
|
---|
68 | <label>Tìm kiếm:
|
---|
69 | <input type="text" name="keyword" id="keyword" value='<?php echo $keyword;?>' aria-controls="sample-table-2"></label>
|
---|
70 | </div>
|
---|
71 | </div>
|
---|
72 | </div>
|
---|
73 | </form>
|
---|
74 | <table class="table table-striped table-bordered table-hover dataTable" id="sample-table-2" aria-describedby="sample-table-2_info">
|
---|
75 | <thead>
|
---|
76 | <tr role="row">
|
---|
77 | <th class="center sorting_disabled" role="columnheader" rowspan="1" colspan="1" style="width: 44px;" aria-label="">
|
---|
78 | <label>
|
---|
79 | <input type="checkbox" class="ace">
|
---|
80 | <span class="lbl"></span>
|
---|
81 | </label>
|
---|
82 | </th>
|
---|
83 | <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>
|
---|
84 | <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>
|
---|
85 | <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">
|
---|
86 | <i class="icon-time bigger-110 hidden-480"></i>
|
---|
87 | Ngà y ÄÄng kÜ
|
---|
88 | </th>
|
---|
89 | <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>
|
---|
90 | </thead>
|
---|
91 |
|
---|
92 | <tbody role="alert" aria-live="polite" aria-relevant="all">
|
---|
93 |
|
---|
94 | <?php
|
---|
95 | foreach ($users as $user) {
|
---|
96 | ?>
|
---|
97 | <tr class="odd">
|
---|
98 | <td class="center sorting_1">
|
---|
99 | <label>
|
---|
100 | <input type="checkbox" class="ace">
|
---|
101 | <span class="lbl"></span>
|
---|
102 | </label>
|
---|
103 | </td>
|
---|
104 |
|
---|
105 | <td class=" ">
|
---|
106 | <a href="#"><?php echo $user['cellphone']; ?></a>
|
---|
107 | </td>
|
---|
108 | <td class="hidden-480 "><?php echo $user['acc_balanced']; ?></td>
|
---|
109 | <td class=" "><?php echo $user['created_time']; ?></td>
|
---|
110 |
|
---|
111 | <td class="hidden-480 ">
|
---|
112 | <span class="label label-sm label-success">Äã kÃch hoạt</span>
|
---|
113 | </td>
|
---|
114 |
|
---|
115 | <td class=" ">
|
---|
116 | <div class="visible-md visible-lg hidden-sm hidden-xs action-buttons">
|
---|
117 | <a href="#" class="blue">
|
---|
118 | <i class="icon-zoom-in bigger-130"></i>
|
---|
119 | </a>
|
---|
120 |
|
---|
121 | <a href="#" class="green">
|
---|
122 | <i class="icon-pencil bigger-130"></i>
|
---|
123 | </a>
|
---|
124 |
|
---|
125 | <a href="#" class="red">
|
---|
126 | <i class="icon-trash bigger-130"></i>
|
---|
127 | </a>
|
---|
128 | </div>
|
---|
129 |
|
---|
130 | <div class="visible-xs visible-sm hidden-md hidden-lg">
|
---|
131 | <div class="inline position-relative">
|
---|
132 | <button data-toggle="dropdown" class="btn btn-minier btn-yellow dropdown-toggle">
|
---|
133 | <i class="icon-caret-down icon-only bigger-120"></i>
|
---|
134 | </button>
|
---|
135 |
|
---|
136 | <ul class="dropdown-menu dropdown-only-icon dropdown-yellow pull-right dropdown-caret dropdown-close">
|
---|
137 | <li>
|
---|
138 | <a title="" data-rel="tooltip" class="tooltip-info" href="#" data-original-title="View">
|
---|
139 | <span class="blue">
|
---|
140 | <i class="icon-zoom-in bigger-120"></i>
|
---|
141 | </span>
|
---|
142 | </a>
|
---|
143 | </li>
|
---|
144 |
|
---|
145 | <li>
|
---|
146 | <a title="" data-rel="tooltip" class="tooltip-success" href="#" data-original-title="Edit">
|
---|
147 | <span class="green">
|
---|
148 | <i class="icon-edit bigger-120"></i>
|
---|
149 | </span>
|
---|
150 | </a>
|
---|
151 | </li>
|
---|
152 |
|
---|
153 | <li>
|
---|
154 | <a title="" data-rel="tooltip" class="tooltip-error" href="#" data-original-title="Delete">
|
---|
155 | <span class="red">
|
---|
156 | <i class="icon-trash bigger-120"></i>
|
---|
157 | </span>
|
---|
158 | </a>
|
---|
159 | </li>
|
---|
160 | </ul>
|
---|
161 | </div>
|
---|
162 | </div>
|
---|
163 | </td>
|
---|
164 | </tr>
|
---|
165 | <?php } ?>
|
---|
166 |
|
---|
167 |
|
---|
168 |
|
---|
169 |
|
---|
170 |
|
---|
171 |
|
---|
172 |
|
---|
173 | </tbody></table><div class="row"><div class="col-sm-6">
|
---|
174 | <div class="dataTables_info" id="sample-table-2_info">Hiá»n thá» <?php echo ($start+1)?> Äến <?php echo ($start+$perpage)?> cá»§a <?php echo $total?> bản ghi</div>
|
---|
175 |
|
---|
176 | </div>
|
---|
177 | <div class="col-sm-6">
|
---|
178 | <div class="dataTables_paginate paging_bootstrap">
|
---|
179 | <ul class="pagination">
|
---|
180 | <?php echo $paging; ?>
|
---|
181 | </ul>
|
---|
182 | </div>
|
---|
183 | </div>
|
---|
184 | </div>
|
---|
185 |
|
---|
186 | </div>
|
---|
187 | </div>
|
---|
188 |
|
---|
189 |
|
---|
190 | </div>
|
---|
191 |
|
---|
192 | <!-- PAGE CONTENT ENDS -->
|
---|
193 | </div><!-- /.col -->
|
---|
194 | </div>
|
---|
195 | <script type="text/javascript">
|
---|
196 | window.onload = function ()
|
---|
197 | {
|
---|
198 | init_page();
|
---|
199 | }
|
---|
200 |
|
---|
201 |
|
---|
202 | </script> |
---|