- Timestamp:
- Mar 1, 2015 8:44:12 PM (10 years ago)
- Location:
- pro-violet-viettel/sourcecode/application/modules/admin/views
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
pro-violet-viettel/sourcecode/application/modules/admin/views/smslog/index.php
r461 r769 24 24 return false; 25 25 }); 26 /* 26 27 $('#keyword').bind('input', function(){ 27 28 filter(); 28 }); 29 });*/ 30 $('#keyword').keyup(function (event) { 31 if (event.keyCode == '13') { 32 filter(); 33 } 34 return false; 35 }); 29 36 30 37 $( '.sorting, .sorting_desc, .sorting_asc' ).click(function( index ) { -
pro-violet-viettel/sourcecode/application/modules/admin/views/smslog/listview.php
r573 r769 63 63 </th> 64 64 <th class="<?php if ($sorting_field == 'sender') {echo $sorting_order;} else {echo "sorting";} ?>" id="sender" role="columnheader" tabindex="0" aria-controls="sample-table-2" rowspan="1" colspan="1" style="width: 176px;" aria-label="Ngưá»i gá»i: activate to sort column ascending">Ngưá»i gá»i</th> 65 < th class="<?php if ($sorting_field == 'service_id') {echo $sorting_order;} else {echo "sorting";} ?>" id="service_id" role="columnheader" tabindex="0" aria-controls="sample-table-2" rowspan="1" colspan="1" style="width: 176px;" aria-label="Dá»ch vụ: activate to sort column ascending">Dá»ch vụ</th>65 <!--<th class="<?php if ($sorting_field == 'service_id') {echo $sorting_order;} else {echo "sorting";} ?>" id="service_id" role="columnheader" tabindex="0" aria-controls="sample-table-2" rowspan="1" colspan="1" style="width: 176px;" aria-label="Dá»ch vụ: activate to sort column ascending">Dá»ch vụ</th> 66 66 <th class="<?php if ($sorting_field == 'commandcode') {echo $sorting_order;} else {echo "sorting";} ?>" id="commandcode" role="columnheader" tabindex="0" aria-controls="sample-table-2" rowspan="1" colspan="1" style="width: 176px;" aria-label="Mã lá»nh: activate to sort column ascending">Mã lá»nh</th> 67 <th class="<?php if ($sorting_field == 'info') {echo $sorting_order;} else {echo "sorting";} ?>" id="info" role="columnheader" tabindex="0" aria-controls="sample-table-2" rowspan="1" colspan="1" style="width: 176px;" aria-label="ThÃŽng tin: activate to sort column ascending">ThÃŽng tin</th> 67 --> 68 <th class="<?php if ($sorting_field == 'info') {echo $sorting_order;} else {echo "sorting";} ?>" id="info" role="columnheader" tabindex="0" aria-controls="sample-table-2" rowspan="1" colspan="1" style="width: 176px;" aria-label="ThÃŽng tin: activate to sort column ascending">Cú pháp</th> 68 69 <th class="<?php if ($sorting_field == 'created_time') {echo $sorting_order;} else {echo "sorting";} ?>" id="created_time" class="hidden-480" role="columnheader" tabindex="0" aria-controls="sample-table-2" rowspan="1" colspan="1" style="width: 176px;" aria-label="Thá»i gian: activate to sort column ascending"> 69 70 <i class="icon-time bigger-110 hidden-480"></i> 70 71 Thá»i gian gá»i 72 </th> 73 <th class="<?php if ($sorting_field == 'reply') {echo $sorting_order;} else {echo "sorting";} ?>" id="reply" role="columnheader" tabindex="0" aria-controls="sample-table-2" rowspan="1" colspan="1" style="width: 176px;" aria-label="Trả lá»i: activate to sort column ascending">Trả lá»i</th> 74 <th class="<?php if ($sorting_field == 'response_time') {echo $sorting_order;} else {echo "sorting";} ?>" id="response_time" class="hidden-480" role="columnheader" tabindex="0" aria-controls="sample-table-2" rowspan="1" colspan="1" style="width: 176px;" aria-label="Thá»i gian: activate to sort column ascending"> 75 <i class="icon-time bigger-110 hidden-480"></i> 76 Thá»i gian trả lá»i 71 77 </th> 72 78 </tr> … … 86 92 <?php echo $smslog['sender']; ?> 87 93 </td> 88 < td><?php echo $smslog['servicename']; ?></td>94 <!--<td><?php echo $smslog['servicename']; ?></td> 89 95 <td><?php echo $smslog['commandcode']; ?></td> 96 --> 90 97 <td><?php echo $smslog['info']; ?></td> 91 98 <td><?php echo $smslog['created_time']; ?></td> 99 <td><?php echo trim(preg_replace('/\s+/', ' ', $smslog['mtbody'])); ?></td> 100 <td><?php echo $smslog['response_time']; ?></td> 92 101 </tr> 93 102 <?php endforeach; ?> -
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.