Index: pro-violet-viettel/sourcecode/application/modules/frontend/controllers/home.php
===================================================================
--- pro-violet-viettel/sourcecode/application/modules/frontend/controllers/home.php	(revision 539)
+++ pro-violet-viettel/sourcecode/application/modules/frontend/controllers/home.php	(revision 540)
@@ -39,9 +39,8 @@
         $password = $this->input->post('password', TRUE);
         $autologin = ($this->input->post('remember_me') == 'on') ? 1 : 0;
+		$src = 'SBG';
         $token = md5($username . self::TOKENPW);
-
         $this->load->model(array('user_model'));
-        $data = $this->user_model->checkLogin('violet', $token, $username, $password);
-
+        $data = $this->user_model->checkLogin($src, $token, $username, $password);
         if ($data == null) {
             $this->session->set_flashdata('login_error', TRUE);
@@ -107,13 +106,13 @@
     public function change_profile() {
         $this->load->model('user_model');
-        $sentNumber = '01662860000';
+        $sentNumber = '0979947802';
         $serviceID = 1;
         $password = '123456';
         $commandcode = "SBG";
-        $receiveID = '0979947802';
+        $receiveID = '01662860000';
         $info = "SBG TD";
         $receiveTime = date("Y-m-d H:i:s");
         $status = 0;
-        $data = $this->user_model->changeProfile($sentNumber, $receiveID, $password, $serviceID, $commandcode, $info, $receiveTime, $status);
+        $data = $this->user_model->changeProfile($sentNumber, $receiveID, $password, $status);
         echo $data;
     }
@@ -134,4 +133,35 @@
     }
 
+	
+	public function register_vip()
+	{
+		$this->load->model('user_model');
+		$sentNumber = '01662860000';
+		$serviceID = 1;
+		$commandcode = "SBG";
+		$vipNum = 1;
+		$mainAccBalanced = 15000;
+		$info = "SBG DK VIP1";
+		$receiveTime = date("Y-m-d H:i:s");
+		$status = 0;
+		$data = $this->user_model->registerVip($sentNumber, $vipNum, $serviceID, $commandcode, $info, $status);
+		echo $data;
+	}
+	
+	public function recharge_account()
+	{
+		$this->load->model('user_model');
+		$sentNumber = '0979947802';
+		$receiveID = '01662860000';
+		$serviceID = 1;
+		$commandcode = "SBG";
+		$vipNum = 1;
+		$mainAccBalanced = 15000;
+		$amount = 10000;
+		$info = "SBG NAP 01662860000 10000";
+		$status = 0;
+		$data = $this->user_model->rechargeAccount($sentNumber, $receiveID, $mainAccBalanced, $amount, $serviceID, $commandcode, $info, $status);
+		echo $data;
+	}
 }
 
Index: pro-violet-viettel/sourcecode/application/modules/frontend/views/user_profile.php
===================================================================
--- pro-violet-viettel/sourcecode/application/modules/frontend/views/user_profile.php	(revision 539)
+++ pro-violet-viettel/sourcecode/application/modules/frontend/views/user_profile.php	(revision 540)
@@ -222,5 +222,5 @@
                                         </div>
                                         <div class="col-sm-4">
-                                            <button type="button" id="btn-charge" onclick="return chargeCard(<?php echo @$us_id; ?>);" class="btn btn-success">
+                                            <button type="button" 	 onclick="return chargeCard(<?php echo @$us_id; ?>);" class="btn btn-success">
                                                 <i class="icon-ok bigger-110"></i>
                                                 Tiáº¿p tá»¥c
@@ -363,5 +363,5 @@
                 <div class="alert alert-block alert-success">						
                     <p>
-                        QuÃ­ vá» ÄÃ£ náº¡p thÃ nh cÃŽng <b>10.000 </b>VND vÃ o tÃ i khoáº£n <b>0168942155</b>, tÃ i khoáº£n hiá»n táº¡i cá»§a quÃ­ vá» lÃ  <b>20.000 </b>VND.
+                        QuÃ­ vá» ÄÃ£ náº¡p thÃ nh cÃŽng <b>10.000 </b>VNÄ vÃ o tÃ i khoáº£n <b>0168942155</b>, tÃ i khoáº£n hiá»n táº¡i cá»§a quÃ­ vá» lÃ  <b>20.000 </b>VNÄ.
                     </p>
                 </div>
