Changeset 540 for pro-violet-viettel/sourcecode/application/modules/admin
- Timestamp:
- Nov 17, 2014 5:52:47 PM (11 years ago)
- Location:
- pro-violet-viettel/sourcecode/application/modules/admin
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
pro-violet-viettel/sourcecode/application/modules/admin/controllers/cardlog.php
r437 r540 56 56 $id = $cl['us_id']; 57 57 $username = $this->get_username($id); 58 $servicename = $this->get_servicename($cl['service_id']); 58 59 $cl['username'] = $username; 60 $cl['servicename'] = $servicename; 59 61 array_push($cardlogs, $cl); 60 62 endforeach; … … 88 90 } 89 91 92 private function get_servicename($service_id) 93 { 94 $this->load->model('webservice_model'); 95 $service = $this->webservice_model->search_by_id($service_id); 96 return $service['service_name']; 97 } 98 90 99 } -
pro-violet-viettel/sourcecode/application/modules/admin/controllers/smslog.php
r437 r540 57 57 $id = $smsl['us_id']; 58 58 $username = $this->get_username($id); 59 $servicename = $this->get_servicename($smsl['service_id']); 59 60 $smsl['username'] = $username; 61 $smsl['servicename'] = $servicename; 60 62 array_push($smslogs, $smsl); 61 63 endforeach; … … 88 90 89 91 } 92 93 private function get_servicename($service_id) 94 { 95 $this->load->model('webservice_model'); 96 $service = $this->webservice_model->search_by_id($service_id); 97 return $service['service_name']; 98 } 90 99 } -
pro-violet-viettel/sourcecode/application/modules/admin/views/cardlog/listview.php
r430 r540 25 25 <!-- PAGE CONTENT BEGINS --> 26 26 <div style="padding-bottom:4px" class="table-header"> 27 Danh sách log27 Danh sách Card Log 28 28 </div> 29 29 <!-- PAGE CONTENT BEGINS --> … … 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 == ' us_id') {echo $sorting_order;} else {echo "sorting";} ?>" id="us_id" 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">Tà i khoản</th>65 <th class="<?php if ($sorting_field == 'service_id') {echo $sorting_order;} else {echo "sorting";} ?>" id="serivice_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 == 'pin_code') {echo $sorting_order;} else {echo "sorting";} ?>" id="pin_code" role="columnheader" tabindex="0" aria-controls="sample-table-2" rowspan="1" colspan="1" style="width: 176px;" aria-label="Mã pin: activate to sort column ascending">Mã pin</th> 67 67 <th class="<?php if ($sorting_field == 'serial_number') {echo $sorting_order;} else {echo "sorting";} ?>" id="serial_number" role="columnheader" tabindex="0" aria-controls="sample-table-2" rowspan="1" colspan="1" style="width: 176px;" aria-label="Sá» seri: activate to sort column ascending">Sá» seri</th> … … 85 85 86 86 <td> 87 < a href="#"><?php echo $cardlog['sender']; ?></a>87 <?php echo $cardlog['sender']; ?> 88 88 </td> 89 <td><?php echo $cardlog[' username']; ?></td>89 <td><?php echo $cardlog['servicename']; ?></td> 90 90 <td><?php echo $cardlog['pin_code']; ?></td> 91 91 <td><?php echo $cardlog['serial_number']; ?></td> -
pro-violet-viettel/sourcecode/application/modules/admin/views/smslog/listview.php
r430 r540 25 25 <!-- PAGE CONTENT BEGINS --> 26 26 <div style="padding-bottom:4px" class="table-header"> 27 Danh sách log27 Danh sách SMS Log 28 28 </div> 29 29 <!-- PAGE CONTENT BEGINS --> … … 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 == ' us_id') {echo $sorting_order;} else {echo "sorting";} ?>" id="us_id" 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">Tà i khoản</th>66 <th class="<?php if ($sorting_field == ' mobody') {echo $sorting_order;} else {echo "sorting";} ?>" id="mobody" role="columnheader" tabindex="0" aria-controls="sample-table-2" rowspan="1" colspan="1" style="width: 176px;" aria-label="MO: activate to sort column ascending">MO</th>67 <th class="<?php if ($sorting_field == ' mtbody') {echo $sorting_order;} else {echo "sorting";} ?>" id="mtbody" role="columnheader" tabindex="0" aria-controls="sample-table-2" rowspan="1" colspan="1" style="width: 176px;" aria-label="MT: activate to sort column ascending">MT</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 <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> 68 68 <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 69 <i class="icon-time bigger-110 hidden-480"></i> … … 84 84 85 85 <td> 86 < a href="#"><?php echo $smslog['sender']; ?></a>86 <?php echo $smslog['sender']; ?> 87 87 </td> 88 <td><?php echo $smslog[' username']; ?></td>89 <td><?php echo $smslog[' mobody']; ?></td>90 <td><?php echo $smslog[' mtbody']; ?></td>88 <td><?php echo $smslog['servicename']; ?></td> 89 <td><?php echo $smslog['commandcode']; ?></td> 90 <td><?php echo $smslog['info']; ?></td> 91 91 <td><?php echo $smslog['created_time']; ?></td> 92 92 </tr> … … 117 117 init_page(); 118 118 } 119 120 121 119 </script>
Note: See TracChangeset
for help on using the changeset viewer.