1 | |
---|
2 | |
---|
3 | |
---|
4 | <div class="col-xs-12"> |
---|
5 | <!-- PAGE CONTENT BEGINS --> |
---|
6 | <div style="padding-bottom:4px" class="table-header"> |
---|
7 | Äã giá»i thiá»u |
---|
8 | </div> |
---|
9 | |
---|
10 | <div class="table-responsive"> |
---|
11 | <div role="grid" class="dataTables_wrapper" id="sample-table-2_wrapper"> |
---|
12 | <form autocomplete="off" onsubmit="return false;" id="collaborator" > |
---|
13 | <div class="row"> |
---|
14 | <div class="col-sm-6"> |
---|
15 | <div id="sample-table-2_length" class="dataTables_length"><label>Hiá»n thá» |
---|
16 | <select onchange="filter();" name="items" size="1" aria-controls="sample-table-2"> |
---|
17 | <?php foreach ($itemsoptions as $option) { ?> |
---|
18 | <option <?php if($option == $perpage) echo "selected"; ?> value="<?php echo $option;?>"><?php echo $option;?></option> |
---|
19 | <?php } ?> |
---|
20 | </select> bản ghi</label> |
---|
21 | |
---|
22 | </div> |
---|
23 | </div> |
---|
24 | |
---|
25 | <div class="col-sm-6"> |
---|
26 | <div class="dataTables_filter" id="sample-table-2_filter"> |
---|
27 | <label>Tìm kiếm: |
---|
28 | <input type="text" name="keyword" id="keyword" value='<?php echo $keyword;?>' style="width: 162px; height: 18px;" aria-controls="sample-table-2"></label> |
---|
29 | </div> |
---|
30 | <div style="clear: both;"></div> |
---|
31 | <div id="daterangepicker" class="selectbox pull-right"> |
---|
32 | <i class="icon-calendar"></i> |
---|
33 | <!--<i id="remove" class="btn-sm btn-danger icon-remove"></i>--> |
---|
34 | <input id="daterange" type="text" name="daterange" class="daterangepicker" style="background: #ffffff; width: 176px; height: 28px; position: inherit;"> |
---|
35 | </div> |
---|
36 | </div> |
---|
37 | </div> |
---|
38 | <input type="hidden" name="sorting_order" id="sorting_order" value="<?php echo $sorting_order;?>" /> |
---|
39 | <input type="hidden" name="sorting_field" id="sorting_field" value="<?php echo $sorting_field;?>"/> |
---|
40 | </form> |
---|
41 | <table class="table table-striped table-bordered table-hover dataTable" id="sample-table-2" aria-describedby="sample-table-2_info"> |
---|
42 | <thead> |
---|
43 | <tr role="row"> |
---|
44 | <th class="<?php if ($sorting_field == 'full_name') {echo $sorting_order;} else {echo "";}?>" id="full_name" 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">Tên ngưá»i dùng</th> |
---|
45 | <th class="<?php if ($sorting_field == 'collaborator_cellphone') {echo $sorting_order;} else {echo "sorting";}?>" id="collaborator_cellphone" role="columnheader" tabindex="0" aria-controls="sample-table-2" rowspan="1" colspan="1" style="width: 283px;" aria-label="HỠtên: activate to sort column ascending">SỠthuê bao</th> |
---|
46 | <th class="<?php if ($sorting_field == 'user_created_time') {echo $sorting_order;} else {echo "sorting";}?>" id="user_created_time" role="columnheader" tabindex="0" aria-controls="sample-table-2" rowspan="1" colspan="1" style="width: 176px;" aria-label="Ngà y giá»i thiá»u: activate to sort column ascending">Ngà y giá»i thiá»u</th> |
---|
47 | <!--<th class="<?php if ($sorting_field == 'collaborator_created_time') {echo $sorting_order;} else {echo "sorting";}?>" id="collaborator_created_time" 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">Ngà y ÄÄng kÜ</th>--> |
---|
48 | |
---|
49 | </thead> |
---|
50 | |
---|
51 | |
---|
52 | <tbody role="alert" aria-live="polite" aria-relevant="all"> |
---|
53 | |
---|
54 | <?php |
---|
55 | foreach ($paidlogs as $paidlog) { |
---|
56 | ?> |
---|
57 | <tr class="odd"> |
---|
58 | |
---|
59 | |
---|
60 | <td class=" "> |
---|
61 | <?php echo $paidlog['username']; ?> |
---|
62 | </td> |
---|
63 | <td class=" "><?php echo $paidlog['user_cellphone']?></td> |
---|
64 | <td class="hidden-480 "><?php echo $paidlog['user_created_time'];?></td> |
---|
65 | <!--<td class="hidden-480 "><?php echo $paidlog['collaborator_created_time'];?></td>--> |
---|
66 | </tr> |
---|
67 | <?php } ?> |
---|
68 | |
---|
69 | |
---|
70 | |
---|
71 | |
---|
72 | |
---|
73 | |
---|
74 | |
---|
75 | </tbody></table><div class="row"><div class="col-sm-6"> |
---|
76 | <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> |
---|
77 | |
---|
78 | </div> |
---|
79 | <div class="col-sm-6"> |
---|
80 | <div class="dataTables_paginate paging_bootstrap"> |
---|
81 | <ul class="pagination"> |
---|
82 | <?php echo $paging; ?> |
---|
83 | </ul> |
---|
84 | </div> |
---|
85 | </div> |
---|
86 | </div> |
---|
87 | |
---|
88 | </div> |
---|
89 | </div> |
---|
90 | |
---|
91 | |
---|
92 | </div> |
---|
93 | |
---|
94 | |
---|
95 | <script type="text/javascript"> |
---|
96 | window.onload = function () |
---|
97 | { |
---|
98 | init_page(); |
---|
99 | } |
---|
100 | |
---|
101 | |
---|
102 | </script> |
---|