Changeset 643


Ignore:
Timestamp:
Dec 4, 2014 12:43:57 PM (10 years ago)
Author:
namnd
Message:
 
Location:
pro-violet-viettel/sourcecode
Files:
5 edited

Legend:

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

    r642 r643  
    387387                        $packagelogs = array();
    388388                        foreach ($result as $packagelog):
    389                                 $packagelog['created_time'] = date('d-m-Y H:i:s', strtotime($packagelog['created_time']));
     389                                $packagelog['vip_name'] = 'VIP '.$packagelog['p_code'];
     390                                $packagelog['created_time'] = date('d/m/Y H:i:s', strtotime($packagelog['created_time']));
    390391                                array_push($packagelogs, $packagelog);
    391392                        endforeach;
  • pro-violet-viettel/sourcecode/application/modules/frontend/views/user_profile.php

    r642 r643  
    244244                                    <!--<form action="<?php echo base_url();?>frontend/user/packageRegister"  class="form-horizontal" id="package_register"> -->
    245245                                    <form action="<?php echo base_url();?>frontend/user/packageRegister" method="POST" class="form-horizontal" id="package_register">
    246                                         <h4 class="header blue bolder smaller">ThÃŽng tin dịch vụ <a style="float:right;" onclick="regisHistory(<?php echo $us_id; ?>, 1);" data-toggle="modal"><i class="icon-archive"></i> Lịch sá»­ đăng kÜ dịch vụ</a></h4>
     246                                        <h4 class="header blue bolder smaller">ThÃŽng tin dịch vụ &nbsp;&nbsp;&nbsp;<a onclick="regisHistory(<?php echo $us_id; ?>, 1);" data-toggle="modal"><i class="icon-archive"></i> Lịch sá»­ đăng kÜ dịch vụ</a></h4>
    247247                                                                                <div class="col-sm-6">
    248248                                            <h4><b>Thời hạn sá»­ dụng</b></h4> <h3><b><span class="blue"><?php echo isset($expire_date) && strtotime($expire_date)>0 ? date('d/m/Y', strtotime($expire_date)) : '';?> </span></b></h3>
  • pro-violet-viettel/sourcecode/application/modules/services/models/services_model.php

    r642 r643  
    1212
    1313if ( ! defined('_SBG_MO_SYNTAX_ERR')) define('_SBG_MO_SYNTAX_ERR', -1);
    14 if ( ! defined('_SBG_MO_SYNTAX_ERR_MSG')) define('_SBG_MO_SYNTAX_ERR_MSG', 'SBG Online khong co dich vu nay, ban vui long kiem tra lai. Tran trong.');
    1514
    1615if ( ! defined('_SBG_CARD_PAY_FAIL')) define('_SBG_CARD_PAY_FAIL', -1);
     
    3029if ( ! defined('_SBG_CHARGING_GENERAL_ERROR')) define('_SBG_CHARGING_GENERAL_ERROR', 440);
    3130if ( ! defined('_SBG_CHARGING_NUMBER_NOT_REGISTED')) define('_SBG_CHARGING_NUMBER_NOT_REGISTED', 501);
    32 
    33 if ( ! defined('_SBG_CHARGING_FAIL_NOT_ENOUGH_MSG')) define('_SBG_CHARGING_FAIL_NOT_ENOUGH_MSG', 'Tai khoan chinh cua ban khong du de thuc hien nap :amount: vao tai khoan :username: tren SBG Online.');
    34 if ( ! defined('_SBG_CHARGING_FAIL_MORETHAN_LIMIT_MSG')) define('_SBG_CHARGING_FAIL_MORETHAN_LIMIT_MSG', 'So tien nap lon nhat tren SBG Online la 50.000VND.');
    35 if ( ! defined('_SBG_CHARGING_FAIL_NOT_VIETTEL_MSG')) define('_SBG_CHARGING_FAIL_NOT_VIETTEL_MSG', 'Chuc nang nap tien qua SMS cua SBG Online chi ap dung cho thue bao Viettel');
    3631
    3732if ( ! defined('_SBG_SEND_MT_FAIL')) define('_SBG_SEND_MT_FAIL', -1);
  • pro-violet-viettel/sourcecode/application/views/layout/frontend/header.php

    r642 r643  
    3838                        {
    3939                                cursor: pointer;
     40                                font-size: 13px;
     41                                font-weight: normal;
    4042                        }
    4143                </style>
  • pro-violet-viettel/sourcecode/assets/js/frontend/user.js

    r642 r643  
    226226                                for (var i in result)
    227227                                {
    228                                         content += '<tr><td class="center">'+result[i].source+'</td><td class="center">'+result[i].p_code+'</td><td>'+result[i].created_time+'</td></tr>';
     228                                        content += '<tr><td class="center">'+result[i].source+'</td><td class="center">'+result[i].vip_name+'</td><td>'+result[i].created_time+'</td></tr>';
    229229                                       
    230230                                }
Note: See TracChangeset for help on using the changeset viewer.