Changeset 629
- Timestamp:
- Nov 26, 2014 2:21:24 PM (10 years ago)
- Location:
- pro-violet-viettel/sourcecode
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
pro-violet-viettel/sourcecode/application/libraries/vservices.php
r457 r629 57 57 if (count($aryParams) > 0) $this->_curlObj->post($aryParams); 58 58 59 $result = $this->_curlObj->execute(); 59 $result = $this->_curlObj->execute(); 60 60 61 write_file('log.txt', var_export($result, true)."\n".var_export($this->_apiUrl. $module .'/'.$action, true)."\n".var_export($aryParams, true)); 61 $logMsg = date('YmdHis') .' - File: '. __FILE__ . ' - line:'. __LINE__ .' - API Result: '. var_export($result, true). ' - Action: '. var_export($this->_apiUrl. $module .'/'.$action, true) .' - PARAMS: '. .var_export($aryParams, true); 62 write_file('./log/apicalling.log', $logMsg, FOPEN_WRITE_CREATE); 62 63 63 64 return $result; -
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; -
pro-violet-viettel/sourcecode/application/views/layout/frontend/sidebar.php
r503 r629 58 58 </nav> 59 59 60 <div class="sidebar-collapse" id="sidebar-collapse"> 61 <i class="icon-double-angle-left" data-icon1="icon-double-angle-left" data-icon2="icon-double-angle-right"></i> 62 </div> 63 60 64 <ul class="logo-group list-inline"> 61 65 <li><img src="<?php echo $base_url;?>assets/img/logo_Violet.png" width="64" class="img-responsive"></li> -
pro-violet-viettel/sourcecode/assets/css/custom.css
r628 r629 10 10 margin-bottom: -2px; 11 11 white-space: nowrap; 12 } 13 14 .menu-min > nav > ul > li > a > span { 15 display: none; 16 } 17 .menu-min > .navbar-minimal > .navbar-menu > li > a { 18 padding: 16px 0 0 0; 19 margin-left: -6px 20 } 21 .menu-min > .navbar-minimal > .navbar-menu > li > a:hover { 22 color: #fff; 23 background-color: transparent; 24 } 25 26 .sidebar-collapse { 27 border-bottom: 0; 28 background-color: transparent; 29 text-align: center; 30 padding: 3px 0; 31 position: relative; 12 32 } 13 33
Note: See TracChangeset
for help on using the changeset viewer.