source: pro-violet-viettel/sourcecode/application/modules/admin/views/reportAsistant/listview.php

Last change on this file was 720, checked in by quyenla, 10 years ago

collaborator

File size: 5.2 KB
Line 
1
2
3   
4        <div class="col-xs-12">
5            <!-- PAGE CONTENT BEGINS -->
6            <div style="padding-bottom:4px" class="table-header">
7                Doanh thu
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;?>' aria-controls="sample-table-2"></label>
29                                </div>
30                            </div>
31                        </div>
32                        <input type="hidden" name="sorting_order" id="sorting_order" value="<?php echo $sorting_order;?>" />
33                        <input type="hidden" name="sorting_field" id="sorting_field" value="<?php echo $sorting_field;?>"/>
34                    </form>
35                    <table class="table table-striped table-bordered table-hover dataTable" id="sample-table-2" aria-describedby="sample-table-2_info">
36                        <thead>
37                            <tr role="row">
38                               
39                                <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ố điện thoại</th>
40                                <th class="<?php if ($sorting_field == 'total_user') {echo $sorting_order;} else {echo "sorting";}?>" id="total_user" 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">Đã giới thiệu</th> 
41                                <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>
42                                 
43                        </thead>
44
45
46                        <tbody role="alert" aria-live="polite" aria-relevant="all">
47                           
48                            <?php
49                            foreach ($paidlogs as $paidlog) {
50                                ?>
51                            <tr class="odd">
52                               
53
54                               
55                                <td class=" "><a href="<?php echo base_url();?>admin/thong_ke_cong_tac_vien/<?php echo $paidlog['id']?>"><?php echo $paidlog['collaborator_cellphone']?></a></td>
56                               
57                                <td class="hidden-480 "><?php echo $paidlog['total_user'];?></td>
58                                <td class="hidden-480 "><?php echo $paidlog['collaborator_created_time'];?></td>
59                               
60                               
61
62                               
63                            </tr>
64                            <?php } ?>
65
66
67
68
69
70
71
72                        </tbody></table><div class="row"><div class="col-sm-6">
73                                <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>
74                                   
75                            </div>
76                        <div class="col-sm-6">
77                            <div class="dataTables_paginate paging_bootstrap">
78                                <ul class="pagination">
79                                    <?php echo $paging; ?>
80                                </ul>
81                            </div>
82                        </div>
83                    </div>
84
85                </div>
86            </div>
87
88           
89        </div>
90
91
92<script type="text/javascript">
93    window.onload = function ()
94    {
95        init_page();
96    }
97
98
99</script>
Note: See TracBrowser for help on using the repository browser.