Ignore:
Timestamp:
Nov 3, 2014 5:26:33 PM (11 years ago)
Author:
namnd
Message:
 
Location:
pro-violet-viettel/sourcecode/application/modules/admin/views/admin_acc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • pro-violet-viettel/sourcecode/application/modules/admin/views/admin_acc/index.php

    r383 r390  
    2424            return false;
    2525        });
    26                 /*
    27                 $('#keyword').keyup(function (event) {
    28             if (event.keyCode == '13') {
    29                 filter();
    30             }
    31             return false;
    32         });*/
     26
    3327                $('#keyword').bind('input', function(){
    3428                        filter();
     
    5852                }
    5953            }
     54                        console.log($( this ).attr('class'));
    6055            $("#sorting_field").val($(this).attr("id"));
    6156            $("#sorting_order").val($(this).attr("class"));
  • pro-violet-viettel/sourcecode/application/modules/admin/views/admin_acc/listview.php

    r375 r390  
    3535        </h1>
    3636    </div><!-- /.page-header -->
    37 
     37       
    3838    <div class="row">
    3939        <div class="col-xs-12">
     
    7171                            </div>
    7272                        </div>
     73                                                <input type="hidden" name="sorting_order" id="sorting_order" value="<?php echo $sorting_order;?>" />
     74                                                <input type="hidden" name="sorting_field" id="sorting_field" value="<?php echo $sorting_field;?>"/>
    7375                    </form>
    7476                    <table class="table table-striped table-bordered table-hover dataTable" id="sample-table-2" aria-describedby="sample-table-2_info">
     
    8183                                    </label>
    8284                                </th>
    83                                 <th class="sorting" 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>
    84                                                                 <th class="sorting" role="columnheader" tabindex="0" aria-controls="sample-table-2" rowspan="1" colspan="1" style="width: 183px;" aria-label="Họ tên: activate to sort column ascending">Họ tên</th>
    85                                                                 <th class="sorting" role="columnheader" tabindex="0" aria-controls="sample-table-2" rowspan="1" colspan="1" style="width: 183px;" aria-label="Họ tên: activate to sort column ascending">Tên đăng nhập</th>
    86                                 <th class="sorting" role="columnheader" tabindex="0" aria-controls="sample-table-2" rowspan="1" colspan="1" style="width: 209px;" aria-label="Ngày đăng kÜ: activate to sort column ascending">
     85                                                                <th class="<?php if ($sorting_field == 'login_name') {echo $sorting_order;} else {echo "sorting";}?>" id="login_name" role="columnheader" tabindex="0" aria-controls="sample-table-2" rowspan="1" colspan="1" style="width: 183px;" aria-label="Họ tên: activate to sort column ascending">Tên đăng nhập</th>
     86                                                                <th class="<?php if ($sorting_field == 'full_name') {echo $sorting_order;} else {echo "sorting";}?>" id="full_name" role="columnheader" tabindex="0" aria-controls="sample-table-2" rowspan="1" colspan="1" style="width: 183px;" aria-label="Họ tên: activate to sort column ascending">Họ tên</th>
     87                                <th class="<?php if ($sorting_field == 'phone') {echo $sorting_order;} else {echo "sorting";}?>" id="phone" 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>
     88                                <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: 209px;" aria-label="Ngày đăng kÜ: activate to sort column ascending">
    8789                                    <i class="icon-time bigger-110 hidden-480"></i>
    8890                                    Ngày đăng kÜ
    8991                                </th>
    90                                 <th class="hidden-480 sorting" role="columnheader" tabindex="0" aria-controls="sample-table-2" rowspan="1" colspan="1" style="width: 158px;" aria-label="Trạng thái: activate to sort column ascending">Trạng thái</th><th class="sorting_disabled" role="columnheader" rowspan="1" colspan="1" style="width: 133px;" aria-label=""></th></tr>
     92                                <th class="hidden-480 sorting" id="status" role="columnheader" tabindex="0" aria-controls="sample-table-2" rowspan="1" colspan="1" style="width: 158px;" aria-label="Trạng thái: activate to sort column ascending">Trạng thái</th><th class="sorting_disabled" role="columnheader" rowspan="1" colspan="1" style="width: 133px;" aria-label=""></th></tr>
    9193                        </thead>
    9294
     
    105107
    106108                                <td class=" ">
    107                                     <a href="#"><?php echo $admin['phone']; ?></a>
     109                                    <a href="#"><?php echo $admin['login_name']; ?></a>
    108110                                </td>
    109111                                <td class="hidden-480 "><?php echo $admin['full_name']; ?></td>
    110                                                                 <td class="hidden-480 "><?php echo $admin['login_name']; ?></td>
     112                                                                <td class="hidden-480 "><?php echo $admin['phone']; ?></td>
    111113                                <td class=" "><?php echo $admin['created_time']; ?></td>
    112114
Note: See TracChangeset for help on using the changeset viewer.