- 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/user/listview.php
r765 r767 106 106 echo "sorting"; 107 107 } 108 ?>" 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>108 ?>" 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">Sá» Äiá»n thoại</th> 109 109 <th class="<?php 110 110 if ($sorting_field == 'cellphone') { … … 113 113 echo "sorting"; 114 114 } 115 ?>" 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> 115 ?>" 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> 116 117 <th class="<?php 117 118 if ($sorting_field == 'acc_balanced') { … … 121 122 } 122 123 ?>" 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> 123 <th style="width: 140px;">Tá»nh/TP</th> 124 <th class="<?php 124 <th class="<?php 125 125 if ($sorting_field == 'created_time') { 126 126 echo $sorting_order; … … 142 142 Ngà y hết hạn 143 143 </th> 144 <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> 144 <th style="width: 140px;">Tá»nh/TP</th> 145 145 146 </tr> 146 147 </thead> … … 148 149 <tbody role="alert" aria-live="polite" aria-relevant="all"> 149 150 150 <?php151 foreach ($users as $user) { 152 ?>151 <?php 152 foreach ($users as $user): 153 ?> 153 154 <tr class="odd"> 154 155 <td class="center sorting_1"> … … 163 164 </td> 164 165 <td class=" "> 165 <?php echo $user['cellphone']; ?> 166 <?php echo $user['fullname']; ?> 167 </td> 168 <td class=" "> 169 <?php if (strtotime($user['expire_date']) > time() && $user['p_id'] != 5 ): ?> 170 <span class="label label-sm label-success">Äã ÄÄng kÜ</span> 171 <?php elseif(strtotime($user['expire_date']) > time() && $user['p_id'] == 5): ?> 172 <span class="label label-sm label-info">Dùng thá»</span> 173 <?php elseif(strtotime($user['expire_date']) < time() && $user['p_id'] == 5): ?> 174 <span class="label label-sm label-warning">Dùng thá» hạn chế</span> 175 <?php else: ?> 176 <span class="label label-sm label-danger">Hết hạn</span> 177 <?php endif; ?> 166 178 </td> 167 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> 168 182 <td><?php echo $user['province']; ?></td> 169 <td class=" "><?php echo $user['created_time']; ?></td>170 <td class=" "><?php echo isset($user['expire_date']) && strtotime($user['expire_date']) > 0 ? date('d/m/Y', strtotime($user['expire_date'])) : ''; ?></td>171 172 <td class=" ">173 <?php if (strtotime($user['expire_date']) > time()) { ?>174 <span class="label label-sm label-success">Äã ÄÄng kÜ</span>175 <?php } else { ?>176 <span class="label label-sm label-warning">Dùng thá»</span>177 <?php } ?>178 </td>179 183 180 184 </tr> 181 <?php }?>185 <?php endforeach; ?> 182 186 183 187 </tbody></table>
Note: See TracChangeset
for help on using the changeset viewer.