Ignore:
Timestamp:
Nov 21, 2014 2:44:49 PM (10 years ago)
Author:
namnd
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pro-violet-viettel/sourcecode/application/modules/frontend/models/user_model.php

    r582 r599  
    8484                if (! is_null ( $collaborator ) || $collaborator != '') {
    8585                        if (! $this->isExistcollaborator ( $collaborator )) {
    86                                 $sms = "Khong tim thay cong tac vien nao co so dien thoai [" . $collaborator . "] tren soanbaigiang.smas.vn";
     86                                $sms = "Khong tim thay cong tac vien nao co so dien thoai [" . $collaborator . "] tren SBG Online.";
    8787                                $collaboratorMsg = $status . '|'.$sms;
    8888                                return $status . '|' . $sms;
     
    101101                if(!($data) || is_null($data))
    102102                {
    103                         $sms = "Tam thoi Qui vi khong the dang ky duoc. Xin thu lai sau. Cam on!";
     103                        $sms = "Tam thoi ban khong the dang ky duoc. Xin thu lai sau. Cam on!";
    104104                        $collaboratorMsg = $status . '|'.$sms;
    105105                        return $status . '|' . $sms;
     
    119119                                $this->db->query ( 'UNLOCK TABLES' );
    120120                                $this->db->insert ( 'tbluser', $user );
    121                                 $sms = "Chuc mung Qui vi da dang ky thanh cong tai khoan Soan bai giang Online. Hay dang nhap vao soanbaigiang.smas.vn voi ten truy nhap " . $username . ", mat khau " . $password . " de su dung.";
     121                                $sms = "Chuc mung ban da dang ky thanh cong tai khoan SBG Online. Hay dang nhap vao soanbaigiang.smas.vn voi ten truy nhap " . $username . ", mat khau " . $password . " de su dung. Tran trong.";
    122122                                $status = 1;
    123                                 $collaboratorMsg = $status . '|'. 'So dien thoai '.$username.' da dang ky dich vu';
     123                                $collaboratorMsg = $status . '|'. 'Ban da dang ky thanh cong dich vu SBG Online cho so dien thoai '.$username;
    124124                                break;
    125125                        case 2 :
    126126                        case 4 :
    127                                 $sms = "So dien thoai cua Qui vi da duoc dang ky";
     127                                $sms = "So dien thoai cua ban da duoc dang ky tai khoan tren SBG Online, vui long kiem tra lai. Tran trong.";
    128128                                $status = 0;
    129                                 $collaboratorMsg = $status . '|'. 'So dien thoai '.$username.' da duoc dang ky';
     129                                $collaboratorMsg = $status . '|'. 'So dien thoai '.$username.' da duoc dang ky tai khoan tren SBG Online.';
    130130                                break;
    131131                        default :
     
    192192               
    193193                if ($checkSentNumber) {
    194                         $sms = "So Dien thoai " . $sentNumber . " da dang ky tren he thong SBG Online soanbaigiang.smas.vn nen Qui vi khong the doi sang so dien thoai nay duoc.";
     194                        $sms = "So Dien thoai " . $sentNumber . " da dang ky tren he thong SBG Online. Tran trong.";
    195195                        $status = 0;
    196196                        return $status . '|' . $sms;
     
    204204                        $token = md5 ( $us_id . self::TOKENPW );
    205205                        $isCorrectPassword = $this->checkPassword($src, $us_id, $token, $password);
    206                         if(!$isCorrectPassword) return '0|Mat khau cua qui vi khong dung';
     206                        if(!$isCorrectPassword) return '0|Mat khau cua ban khong dung. Vui long kiem tra lai.';
    207207
    208208                        $data = $this->vservices->actionExecute ( 'update', array (
     
    218218                        if(!($data) || is_null($data))
    219219                        {
    220                                 $sms = "Tam thoi Qui vi khong the thay doi duoc so dien thoai. Xin thu lai sau. Cam on!";
     220                                $sms = "Tam thoi ban khong the thay doi duoc so dien thoai. Xin thu lai sau. Cam on!";
    221221                                $status = 0;
    222222                                return $status . '|' . $sms;
     
    230230                                        $user ['cellphone'] = $sentNumber;
    231231                                        $this->updateUser ( $us_id, $user );
    232                                         $sms = "Qui vi da doi so dien thoai tren soanbaigiang.smas.vn sang so dien thoai " . $sentNumber;
     232                                        $sms = "Ban da doi thanh cong tai khoan " .$username. " tren SBG Online sang so dien thoai " . $sentNumber. ". Tran trong.";
    233233                                        $status = 1;
    234234                                        break;
    235235                                case 2:
    236                                         $sms = "So Dien thoai " . $sentNumber . " da dang ky tren he thong SBG Online soanbaigiang.smas.vn nen Qui vi khong the doi sang so dien thoai nay duoc.";
     236                                        $sms = "So Dien thoai " . $sentNumber . " da dang ky tren he thong SBG Online. Tran trong";
    237237                                        $status = 0;
    238238                                        break;
    239239                                case 5 :
    240                                         $sms = "Tai khoan ".$username." chua dang ky tai khoan tren he thong SBG Online soanbaigiang.smas.vn";
     240                                        $sms = "So dien thoai ".$username." chua dang ky tai khoan tren he thong SBG Online. Tran trong.";
    241241                                        $status = 0;
    242242                                        break;
     
    247247                        }
    248248                } else {
    249                         $sms = "Tai khoan ".$username." chua dang ky tai khoan tren he thong SBG Online soanbaigiang.smas.vn";
     249                        $sms = "Tai khoan ".$username." chua dang ky tai khoan tren he thong SBG Online. Tran trong.";
    250250                        $status = 0;
    251251                }
     
    280280                        if(!($data) || is_null($data))
    281281                        {
    282                                 $sms = "Tam thoi Qui vi khong the lay lai hoac thay doi mat khau. Xin thu lai sau. Cam on!";
     282                                $sms = "Tam thoi ban khong the lay lai hoac thay doi mat khau. Xin thu lai sau. Cam on!";
    283283                                $status = 0;
    284284                                return $status . '|' . $sms;
     
    291291                                        $this->updateUser ( $us_id, $user );
    292292                                        if ($isForgotPassword) {
    293                                                 $sms = "Mat khau moi cua quy vi tren soanbaigiang.smas.vn la " . $pass;
     293                                                $sms = "Mat khau moi cua ban tren SBG online la " . $pass. ". Tran trong.";
    294294                                        } else {
    295                                                 $sms = "Qui vi da doi thanh cong mat khau tren soanbaigiang.smas.vn.";
     295                                                $sms = "Ban da doi thanh cong mat khau tren SBG Online. Mat khau moi cua ban la " .$password. ". Tran trong.";
    296296                                        }
    297297                                        $status = 1;
    298298                                        break;
    299299                                case 5 :
    300                                         $sms = "Tai khoan ".$username." chua dang ky tai khoan tren he thong SBG Online soanbaigiang.smas.vn";
     300                                        $sms = "So dien thoai ".$username." chua dang ky tai khoan tren he thong SBG Online";
    301301                                        $status = 0;
    302302                                        break;
     
    307307                        }
    308308                } else {
    309                         $sms = "Tai khoan ".$username." chua dang ky tai khoan tren he thong SBG Online soanbaigiang.smas.vn";
     309                        $sms = "So dien thoai ".$username." chua dang ky tai khoan tren he thong SBG Online";
    310310                        $status = 0;
    311311                }
     
    337337                if (!$package)
    338338                {
    339                         $sms = "Goi dich vu qui vi dang ky khong ton tai";
     339                        $sms = "Khong co goi dich vu ban da dang ki tren SBG Online";
    340340                        $status = 0;
    341341                        return $status . '|' . $sms;
     
    356356                               
    357357                                $this->updateUser ( $us_id, $user );
    358                                 $sms = "Chuc mung Qui vi da dang ky su dung Soan Bai giang truc tuyen tren soanbaigiang.smas.vn. Qui vi co the su dung dich vu den ngay " . date ( 'd/m/Y', strtotime ( $user ['expire_date'] ) );
     358                                $sms = "Chuc mung ban da dang ky thanh cong dich vu SBG Online. Thoi han su dung dich vu cua ban la ".date ( 'd/m/Y', strtotime ( $user ['expire_date'] ) ).". Tran trong." ;
    359359                                $status = 1;
    360360                        } else {
    361                                 $sms = "Tai khoan cua qui vi khong du de dang ky su dung dich vu Soan Bai giang truc tuyen tren soanbaigiang.smas.vn. Hay nap tien va dang ky lai. Cam on!";
     361                                $sms = "Tai khoan cua ban khong du de dang ky dich vu SBG Online. Vui long nap tien va dang ky lai. Tran trong.";
    362362                                $status = 0;
    363363                        }
    364364                } else {
    365                         $sms = "Tai khoan [" . $username . "] chua dang ky tai khoan tren he thong SBG Online soanbaigiang.smas.vn.";
     365                        $sms = "So dien thoai " .$username. " chua dang ky tai khoan tren he thong SBG Online. De dang ky, soan tin SBG DK gui 8062 (500d).";
    366366                        $status = 0;
    367367                }
     
    378378                        $user ['updated_time'] = date ( 'Y-m-d H:i:s' );
    379379                        $this->updateUser ( $us_id, $user );
    380                         $sms = "Qui vi da nap thanh cong " . $amount . " VND vao tai khoan " . $username . " tren soanbaigiang.smas.vn";
     380                        $sms = "Ban da nap thanh cong " . $amount . "VND vao tai khoan " . $username . " tren SBG Online. Tran trong.";
    381381                        $status = 1;
    382382                } else {
    383                         $sms = "Tai khoan " . $username . " chua dang ky tai khoan tren he thong SBG Online soanbaigiang.smas.vn.";
     383                        $sms = "So dien thoai " .$username. " chua dang ky tai khoan tren he thong SBG Online. De dang ky, soan tin SBG DK gui 8062 (500d).";
    384384                        $status = 0;
    385385                }
Note: See TracChangeset for help on using the changeset viewer.