- Timestamp:
- Jan 9, 2015 10:35:30 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pro-violet-viettel/sourcecode/application/modules/admin/views/user/listview.php
r644 r690 66 66 <div class="dataTables_filter" id="sample-table-2_filter"> 67 67 <label>Tìm kiếm: 68 <input type="text" name="keyword" id="keyword" value='<?php echo $keyword;?>' aria-controls="sample-table-2"></label>68 <input type="text" name="keyword" id="keyword" value='<?php echo $keyword;?>' style="width: 162px; height: 18px;" aria-controls="sample-table-2"></label> 69 69 </div> 70 70 <div class="dataTables_status" style="float: right;" id="sample-table-2_status"><label>Lá»c: 71 <select onchange="filter();" name="status" size="1" style="width: 1 39px; height: 28px;" aria-controls="sample-table-2" class="">71 <select onchange="filter();" name="status" size="1" style="width: 176px; height: 28px;"> 72 72 <?php foreach ($statusoptions as $key=>$option):?> 73 73 <option <?php if ($key == $status) echo "selected"; ?> value="<?php echo $key; ?>"><?php echo $option; ?></option> 74 74 <?php endforeach; ?> 75 75 </select> 76 </div> 77 <div style="clear: both;"></div> 78 <div id="daterangepicker" class="selectbox pull-right"> 79 <i class="icon-calendar"></i> 80 <input id="daterange" type="text" name="daterange" class="daterangepicker" style="background: #ffffff; width: 176px; height: 28px; position: inherit;"> 81 82 </span> 83 </div> 76 84 </div> 77 85 </div> … … 82 90 <input type="hidden" name="sorting_field" id="sorting_field" value="<?php echo $sorting_field;?>"/> 83 91 </form> 92 <!-- Table Content --> 93 <center><div id="loading" style="display:none;"><img src="<?php echo base_url();?>/assets/img/loading.gif"/></div></center> 94 <div id="table_content"> 84 95 <table class="table table-striped table-bordered table-hover dataTable" id="sample-table-2" aria-describedby="sample-table-2_info"> 85 96 <thead> … … 91 102 </label> 92 103 </th> 93 <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: 176px;" aria-label="Tà i khoản: activate to sort column ascending">Username</th> 94 <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: 176px;" aria-label="Sá» Äiá»n thoại: activate to sort column ascending">Sá» Äiá»n thoại</th> 95 <th class="<?php if ($sorting_field == 'acc_balanced') {echo $sorting_order;} else {echo "sorting";}?>" id="acc_balanced" role="columnheader" tabindex="0" aria-controls="sample-table-2" rowspan="1" colspan="1" style="width: 176px;" aria-label="Tiá»n: activate to sort column ascending">Tà i khoản (VNÄ)</th> 96 <th class="<?php if ($sorting_field == 'created_time') {echo $sorting_order;} else {echo "sorting";}?>" id="created_time" role="columnheader" tabindex="0" aria-controls="sample-table-2" rowspan="1" colspan="1" style="width: 150px;" aria-label="Ngà y ÄÄng kÜ: activate to sort column ascending"> 104 <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: 156px;" aria-label="Tà i khoản: activate to sort column ascending">Username</th> 105 <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: 156px;" aria-label="Sá» Äiá»n thoại: activate to sort column ascending">Sá» Äiá»n thoại</th> 106 <th class="<?php if ($sorting_field == 'acc_balanced') {echo $sorting_order;} else {echo "sorting";}?>" id="acc_balanced" role="columnheader" tabindex="0" aria-controls="sample-table-2" rowspan="1" colspan="1" style="width: 156px;" aria-label="Tiá»n: activate to sort column ascending">Tà i khoản (VNÄ)</th> 107 <th style="width: 140px;">Quáºn/Huyá»n</th> 108 <th style="width: 140px;">Tá»nh/TP</th> 109 <th class="<?php if ($sorting_field == 'created_time') {echo $sorting_order;} else {echo "sorting";}?>" id="created_time" role="columnheader" tabindex="0" aria-controls="sample-table-2" rowspan="1" colspan="1" style="width: 156px;" aria-label="Ngà y ÄÄng kÜ: activate to sort column ascending"> 97 110 <i class="icon-time bigger-110 hidden-480"></i> 98 111 Ngà y ÄÄng kÜ 99 112 </th> 100 <th class="<?php if ($sorting_field == 'expire_date') {echo $sorting_order;} else {echo "sorting";}?>" id="expire_date" role="columnheader" tabindex="0" aria-controls="sample-table-2" rowspan="1" colspan="1" style="width: 1 50px;" aria-label="Ngà y hết hạn: activate to sort column ascending">113 <th class="<?php if ($sorting_field == 'expire_date') {echo $sorting_order;} else {echo "sorting";}?>" id="expire_date" role="columnheader" tabindex="0" aria-controls="sample-table-2" rowspan="1" colspan="1" style="width: 140px;" aria-label="Ngà y hết hạn: activate to sort column ascending"> 101 114 <i class="icon-time bigger-110 hidden-480"></i> 102 115 Ngà y hết hạn 103 116 </th> 104 <th class="sorting_disabled" id="status" role="columnheader" tabindex="0" aria-controls="sample-table-2" rowspan="1" colspan="1" style="width: 1 76px;">Tình trạng</th>117 <th class="sorting_disabled" id="status" role="columnheader" tabindex="0" aria-controls="sample-table-2" rowspan="1" colspan="1" style="width: 156px;">Tình trạng</th> 105 118 </tr> 106 119 </thead> … … 119 132 </td> 120 133 <td class=" "> 121 <a onclick="getUserHistory(<?php echo $user['us_id']; ?>, 1);" data-toggle="modal"><?php echo @$user['username']; ?></a>134 <a onclick="getUserHistory(<?php echo $user['us_id']; ?>, 1);" data-toggle="modal"><?php echo $user['username']; ?></a> 122 135 <!--<a href="#user-history" data-toggle="modal"><?php echo @$user['username']; ?></a>--> 123 136 </td> … … 126 139 </td> 127 140 <td class="hidden-480 "><?php echo number_format($user['acc_balanced'], 0); ?></td> 141 <td><?php echo $user['district']; ?></td> 142 <td><?php echo $user['province']; ?></td> 128 143 <td class=" "><?php echo $user['created_time']; ?></td> 129 144 <td class=" "><?php echo isset($user['expire_date']) && strtotime($user['expire_date'])>0 ? date('d/m/Y', strtotime($user['expire_date'])) : '';?></td> 145 130 146 <td class=" "> 131 147 <?php if(strtotime($user['expire_date'])>time()){ ?> … … 151 167 </div> 152 168 </div> 169 </div> 153 170 </div> 154 171 … … 249 266 } 250 267 251 252 268 </script>
Note: See TracChangeset
for help on using the changeset viewer.