- Timestamp:
- Dec 3, 2014 2:59:16 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pro-violet-viettel/sourcecode/application/modules/services/controllers/recharge.php
r627 r636 9 9 $this->load->helper('lockfile'); 10 10 $this->load->model('services_model'); 11 $this->load->helper('language'); 12 $this->lang->load('messages', 'message'); 11 13 } 12 14 … … 33 35 $result['tmp'] = $maxReach; 34 36 35 $lockedMsg = 'QuÜ vá» Äã nháºp sai thÃŽng tin thẻ cà o '. $maxReach .' lần liên tiếp.<br />Xin chá» '. $timeToUnlock .' phút sau Äá» thao tác lại!'; 36 $chargErrMsg = 'Mã thẻ hoặc Serial khÃŽng Äúng hoặc Äã ÄÆ°á»£c sá» dụng. QuÜ vá» vui lòng kiá»m tra lại!'; 37 //$lockedMsg = 'QuÜ vá» Äã nháºp sai thÃŽng tin thẻ cà o '. $maxReach .' lần liên tiếp.<br />Xin chá» '. $timeToUnlock .' phút sau Äá» thao tác lại!'; 38 $aryPatterns = array('/:maxReach:/', '/:timeToUnlock:/'); 39 $lockedMsg = preg_replace($aryPatterns, array($maxReach, $timeToUnlock), lang('_SBG_CHARGING_FROM_CARD_LOCKED_MSG')); 40 //$chargErrMsg = 'Mã thẻ hoặc Serial khÃŽng Äúng hoặc Äã ÄÆ°á»£c sá» dụng. QuÜ vá» vui lòng kiá»m tra lại!'; 41 $chargErrMsg = lang('_SBG_CHARGING_FROM_CARD_FAIL_MSG'); 37 42 $errMsg = ''; 38 43 … … 59 64 60 65 if ($chargCard == _SBG_CARD_PAY_SUCCESS){ 61 $result['username'] = $user['cellphone'];66 //$result['username'] = $user['cellphone']; 62 67 $result['acc_balanced'] = $user['acc_balanced']; 63 $result['amount'] = $amount; 68 //$result['amount'] = $amount; 69 $aryPatterns = array('/:amount:/', '/:username:/', '/:acc_balanced:/'); 70 $result['message'] = preg_replace($aryPatterns, array($amount, $user['cellphone'], $user['acc_balanced']), lang('_SBG_CHARGING_FROM_CARD_SUCCESS_MSG')); 64 71 $this->objUserModel->insertPaidlog($user['cellphone'], $user['cellphone'], $paidType, $amount, $paidTime); 65 72 releaseLockFile($lockFilePreFix, $lockFilePath);
Note: See TracChangeset
for help on using the changeset viewer.