Ignore:
Timestamp:
Nov 20, 2014 4:35:00 PM (10 years ago)
Author:
namnd
Message:
 
Location:
pro-violet-viettel/sourcecode/application/modules/admin
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • pro-violet-viettel/sourcecode/application/modules/admin/controllers/user.php

    r579 r584  
    3232                $data['itemsoptions'] = array(10, 25, 50, 100);
    3333                $data['perpage'] = 10;
    34                 $data['statusoptions'] = array(0=>"Tất cả", 1=>"Kích hoạt", 2=>"Tạm ngưng");
     34                $data['statusoptions'] = array(0=>"Tất cả", 1=>"Đã đăng kÜ", 2=>"Dùng thá»­");
    3535                $data['status'] = 0;
    3636                if ($this->input->post('status'))
  • pro-violet-viettel/sourcecode/application/modules/admin/models/user_model.php

    r579 r584  
    7474        return $data;
    7575        }
     76       
    7677}
  • pro-violet-viettel/sourcecode/application/modules/admin/views/user/listview.php

    r573 r584  
    119119                                </td>
    120120                                                                <td class=" ">
    121                                     <a href="#"><?php echo @$user['username']; ?></a>
     121                                    <a><?php echo @$user['username']; ?></a>
    122122                                </td>
    123123                                <td class=" ">
     
    126126                                <td class="hidden-480 "><?php echo $user['acc_balanced']. " VNĐ"; ?></td>
    127127                                <td class=" "><?php echo $user['created_time']; ?></td>
    128                                                                 <td class=" "><?php echo $user['expire_date']; ?></td>
     128                                                                <td class=" "><?php echo isset($user['expire_date']) && strtotime($user['expire_date'])>0 ? date('d/m/Y', strtotime($user['expire_date'])) : '';?></td>
    129129                                                                <td class=" ">
    130130                                                                <?php  if(strtotime($user['expire_date'])>time()){ ?>
    131                                                                         <span class="label label-sm label-success">Đã kích hoạt</span>
     131                                                                        <span class="label label-sm label-success">Đã đăng kÜ</span>
    132132                                                                <?php }else{ ?>
    133                                                                         <span class="label label-sm label-warning">Tạm ngưng</span>
     133                                                                        <span class="label label-sm label-warning">Dùng thá»­</span>
    134134                                                                <?php } ?>
    135135                                                                </td>
Note: See TracChangeset for help on using the changeset viewer.