- Timestamp:
- Mar 1, 2015 8:44:12 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pro-violet-viettel/sourcecode/application/modules/admin/views/user/listview.php
r767 r769 68 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 <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: 176px; height: 28px;"> 72 <?php foreach ($statusoptions as $key => $option): ?> 73 <option <?php if ($key == $status) echo "selected"; ?> value="<?php echo $key; ?>"><?php echo $option; ?></option> 74 <?php endforeach; ?> 75 </select> 76 </div> 70 <div class="dataTables_status" style="float: right;" id="sample-table-2_status"><label>Lá»c theo tình trạng: 71 <select onchange="filter();" name="status" size="1" style="width: 176px; height: 28px;"> 72 <?php foreach ($statusoptions as $key => $option): ?> 73 <option <?php if ($key == $status) echo "selected"; ?> value="<?php echo $key; ?>"><?php echo $option; ?></option> 74 <?php endforeach; ?> 75 </select> 76 </div> 77 <div style="clear: both;"></div> 78 <div class="dataTables_status" style="float: right;" id="sample-table-2_status"><label>Lá»c theo Tá»nh/TP: 79 <select onchange="filter();" name="province-code" size="1" style="width: 176px; height: 28px;"> 80 <option value=''></option> 81 <?php foreach ($provinces as $key => $pro): ?> 82 <option <?php if ($key == $province_code) echo "selected"; ?> value="<?php echo $key; ?>"><?php echo $pro; ?></option> 83 <?php endforeach; ?> 84 </select> 85 </div> 86 77 87 <div style="clear: both;"></div> 78 88 <div id="daterangepicker" class="selectbox pull-right"> … … 114 124 } 115 125 ?>" 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">Há» tên</th> 116 <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>126 117 127 <th class="<?php 118 128 if ($sorting_field == 'acc_balanced') { … … 143 153 </th> 144 154 <th style="width: 140px;">Tá»nh/TP</th> 145 155 <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> 146 156 </tr> 147 157 </thead> … … 166 176 <?php echo $user['fullname']; ?> 167 177 </td> 178 <td class="hidden-480 "><?php echo number_format($user['acc_balanced'], 0); ?></td> 179 <td class=" "><?php echo $user['created_time']; ?></td> 180 <td class=" "><?php echo isset($user['expire_date']) && strtotime($user['expire_date']) > 0 ? date('d/m/Y', strtotime($user['expire_date'])) : ''; ?></td> 181 <td><?php echo $user['province']; ?></td> 168 182 <td class=" "> 169 183 <?php if (strtotime($user['expire_date']) > time() && $user['p_id'] != 5 ): ?> 170 <span class="label label-sm label-success">Äã ÄÄng kÜ </span>184 <span class="label label-sm label-success">Äã ÄÄng kÜ VIP</span> 171 185 <?php elseif(strtotime($user['expire_date']) > time() && $user['p_id'] == 5): ?> 172 <span class="label label-sm label-info">Dùng thá» </span>186 <span class="label label-sm label-info">Dùng thá» 7 ngà y</span> 173 187 <?php elseif(strtotime($user['expire_date']) < time() && $user['p_id'] == 5): ?> 174 188 <span class="label label-sm label-warning">Dùng thá» hạn chế</span> … … 177 191 <?php endif; ?> 178 192 </td> 179 <td class="hidden-480 "><?php echo number_format($user['acc_balanced'], 0); ?></td>180 <td class=" "><?php echo $user['created_time']; ?></td>181 <td class=" "><?php echo isset($user['expire_date']) && strtotime($user['expire_date']) > 0 ? date('d/m/Y', strtotime($user['expire_date'])) : ''; ?></td>182 <td><?php echo $user['province']; ?></td>183 184 193 </tr> 185 194 <?php endforeach; ?>
Note: See TracChangeset
for help on using the changeset viewer.