- Timestamp:
- Feb 25, 2015 5:25:04 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pro-violet-viettel/sourcecode/application/modules/admin/views/report/listview.php
r690 r767 1 1 <div class="col-xs-12"> 2 <!-- PAGE CONTENT BEGINS --> 3 <div style="padding-bottom:4px" class="table-header"> 4 Doanh thu 5 </div> 2 6 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> 7 <div class="table-responsive"> 8 <div role="grid" class="dataTables_wrapper" id="sample-table-2_wrapper"> 9 <form autocomplete="off" onsubmit="return false;" id="collaborator" > 10 <div class="row"> 11 <div class="col-sm-6"> 12 <div id="sample-table-2_length" class="dataTables_length"><label>Hiện thị 13 <select onchange="filter();" name="items" size="1" aria-controls="sample-table-2"> 14 <?php foreach ($itemsoptions as $option) { ?> 15 <option <?php if($option == $perpage) echo "selected"; ?> value="<?php echo $option;?>"><?php echo $option;?></option> 16 <?php } ?> 17 </select> bản ghi</label> 9 18 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> 19 </div> 20 </div> 21 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 id="daterangepicker" class="selectbox pull-right"> 31 <i class="icon-calendar"></i> 32 <input id="daterange" type="text" name="daterange" class="daterangepicker" style="background: #ffffff; width: 176px; height: 28px; position: inherit;"> 33 34 </span> 35 </div> 36 </div> 37 </div> 38 </div> 39 <input type="hidden" name="sorting_order" id="sorting_order" value="<?php echo $sorting_order;?>" /> 40 <input type="hidden" name="sorting_field" id="sorting_field" value="<?php echo $sorting_field;?>"/> 41 </form> 42 <table class="table table-striped table-bordered table-hover dataTable" id="sample-table-2" aria-describedby="sample-table-2_info"> 43 <thead> 44 <tr role="row"> 45 46 <th class="<?php if ($sorting_field == 'fullname') {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">Họ tên</th> 47 <th class="<?php if ($sorting_field == 'cellphone') {echo $sorting_order;} else {echo "sorting";}?>" id="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> 48 <th class="<?php if ($sorting_field == 'amount') {echo $sorting_order;} else {echo "sorting";}?>" id="amount" 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ố tiền</th> 49 <th class="<?php if ($sorting_field == 'paid_type') {echo $sorting_order;} else {echo "sorting";}?>" id="paid_type" 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">SMS/Card</th> 50 <th class="<?php if ($sorting_field == 'paid_time') {echo $sorting_order;} else {echo "sorting";}?>" id="paid_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</th> 51 52 </thead> 22 <div class="col-sm-6"> 23 <!--<div class="dataTables_filter" id="sample-table-2_filter"> 24 <label>Tìm kiếm: 25 <input type="text" name="keyword" id="keyword" value='<?php echo $keyword;?>' style="width: 162px; height: 18px;" aria-controls="sample-table-2"></label> 26 </div>--> 27 <div class="dataTables_filter" id="sample-table-2_filter"><label>Lọc theo: 28 <select onchange="filter();" name="paid_type" size="1" style="width: 176px; height: 28px;"> 29 <?php foreach ($paid_types as $key => $type): ?> 30 <option <?php if ($key == $paid_type) echo "selected"; ?> value="<?php echo $key; ?>"><?php echo $type; ?></option> 31 <?php endforeach; ?> 32 </select> 33 </div> 34 <div id="daterangepicker" class="selectbox pull-right"> 35 <i class="icon-calendar"></i> 36 <input id="daterange" type="text" name="daterange" class="daterangepicker" style="background: #ffffff; width: 176px; height: 28px; position: inherit;"> 37 38 </span> 39 </div> 40 </div> 41 </div> 42 </div> 43 <input type="hidden" name="sorting_order" id="sorting_order" value="<?php echo $sorting_order;?>" /> 44 <input type="hidden" name="sorting_field" id="sorting_field" value="<?php echo $sorting_field;?>"/> 45 </form> 46 <table class="table table-striped table-bordered table-hover dataTable" id="sample-table-2" aria-describedby="sample-table-2_info"> 47 <thead> 48 <tr role="row"> 49 50 <th class="<?php if ($sorting_field == 'fullname') {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">Họ tên</th> 51 <th class="<?php if ($sorting_field == 'cellphone') {echo $sorting_order;} else {echo "sorting";}?>" id="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> 52 <th class="<?php if ($sorting_field == 'amount') {echo $sorting_order;} else {echo "sorting";}?>" id="amount" 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ố tiền</th> 53 <th class="<?php if ($sorting_field == 'paid_type') {echo $sorting_order;} else {echo "sorting";}?>" id="paid_type" 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">SMS/Card</th> 54 <th class="<?php if ($sorting_field == 'paid_time') {echo $sorting_order;} else {echo "sorting";}?>" id="paid_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</th> 55 56 </thead> 53 57 54 58 55 56 57 58 59 60 61 59 <tbody role="alert" aria-live="polite" aria-relevant="all"> 60 61 <?php 62 foreach ($paidlogs as $paidlog) { 63 ?> 64 <tr class="odd"> 65 62 66 63 64 65 66 67 68 69 70 67 <td class=" "> 68 <a href="#"><?php echo $paidlog['username'];?></a> 69 </td> 70 <td class=" "><?php echo $paidlog['cellphone']?></td> 71 72 <td class="hidden-480 "><?php echo number_format($paidlog['amount'],0);?></td> 73 <td class="hidden-480 "><?php if ($paidlog['paid_type']==1) {echo "SMS";} else { echo "Card";}?></td> 74 <td class=" "><?php echo $paidlog['paid_time']?></td> 71 75 72 76 73 77 74 75 76 78 79 </tr> 80 <?php } ?> 77 81 78 82 … … 82 86 83 87 84 85 86 87 88 89 90 91 92 93 94 95 88 </tbody></table><div class="row"><div class="col-sm-6"> 89 <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> 90 91 </div> 92 <div class="col-sm-6"> 93 <div class="dataTables_paginate paging_bootstrap"> 94 <ul class="pagination"> 95 <?php echo $paging; ?> 96 </ul> 97 </div> 98 </div> 99 </div> 96 100 97 98 101 </div> 102 </div> 99 103 100 101 104 105 </div> 102 106 103 107 104 108 <script type="text/javascript"> 105 106 107 108 109 window.onload = function () 110 { 111 init_page(); 112 } 109 113 110 114
Note: See TracChangeset
for help on using the changeset viewer.