Changeset 629 for pro-violet-viettel/sourcecode/application/modules
- Timestamp:
- Nov 26, 2014 2:21:24 PM (10 years ago)
- Location:
- pro-violet-viettel/sourcecode/application/modules
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pro-violet-viettel/sourcecode/application/modules/frontend/views/user_profile.php
r625 r629 194 194 <form id="frm3" class="form-horizontal" role="form"> 195 195 <h4 class="header blue bolder smaller">ThÃŽng tin tà i khoản</h4> 196 <div class="col-sm- 6">196 <div class="col-sm-12"> 197 197 <h4>Sá» tiá»n trong tà i khoản SBG Online: <b><span class="blue" id="topup-money"><?php echo number_format(@$acc_balanced, 0); ?> VNÄ <span></b></h4> 198 198 199 </div> 200 <div class="col-sm-6"> 201 <h3> </h3> 202 </div> 199 </div> 203 200 <h4 class="header blue bolder smaller">Nạp tiá»n bằng thẻ cà o</h4> 204 201 <div class="col-sm-8"> -
pro-violet-viettel/sourcecode/application/modules/services/models/services_model.php
r620 r629 125 125 } 126 126 127 if ($key == _SBG_MO_REGISTER || $key == _SBG_MO_PASSWORD_RECOVERY) {128 $debugMsg = var_export($aryContent, TRUE);129 write_file('regis_log', $debugMsg);130 }131 132 127 $aryResult = (bool)$result ? array('case' => $key, 'content' => $aryContent):array('case' => $key); 133 128 return $aryResult; … … 144 139 $case = $aryMOAnalys['case']; 145 140 $aryContents = isset($aryMOAnalys['content']) ? $aryMOAnalys['content']: null; 146 $debugMsg .= var_export($aryMOAnalys);147 141 $this->load->model('frontend/user_model', 'objUserModel'); 148 142 $debugMsg .= $case; … … 163 157 164 158 $sms = $this->objUserModel->register($userName, $collaborator, $collaboratorMsg); 165 write_file('mt_log', $collaborator);166 159 if ($case == _SBG_MO_REGISTER_FOR) { 167 160 $smsReturn = $collaboratorMsg; … … 268 261 $result = $client->send($xml, $action); 269 262 270 $debugMsg = 'Logged time: '. date('Y-m-d H:i:s') ."\n";271 $debugMsg .= 'Send:'."\n" .$xml ."\n\n";272 $debugMsg .= 'Result:'."\n". var_export($result, TRUE);273 write_file('topup_log', $debugMsg);274 275 263 if ($client->fault) { 276 264 return _SBG_CARD_PAY_FAIL; … … 309 297 $client->operation = $action; 310 298 $result = $client->send($xml, $action); 311 $debugMsg = var_export($xml, TRUE); 312 $debugMsg .= var_export($result, TRUE); 313 write_file('mt_log', $debugMsg); 314 299 315 300 if ($client->fault) { 316 301 return _SBG_CHARGING_FAIL; … … 366 351 $result = $client->send($xml, $action); 367 352 368 //write_file('mt_log', var_export($client->fault, true)."\n".var_export($xml, true));369 370 353 if ($client->fault || (int)$result['InsertMTResult'] != 1) { 371 354 return _SBG_SEND_MT_FAIL;
Note: See TracChangeset
for help on using the changeset viewer.