Changeset 630 for pro-violet-viettel/sourcecode/application
- Timestamp:
- Nov 26, 2014 4:24:07 PM (10 years ago)
- Location:
- pro-violet-viettel/sourcecode/application
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
pro-violet-viettel/sourcecode/application/libraries/vservices.php
r629 r630 46 46 47 47 public function actionExecute ($action, $aryParams = array(), $module = 'space') { 48 $this->_curlObj->create($this->_apiUrl. $module .'/'.$action); 48 $url = $this->_apiUrl. $module .'/'.$action; 49 50 $this->_curlObj->create($url); 49 51 $this->_curlObj->option(CURLOPT_BUFFERSIZE, 10); 50 $this->_curlObj->options(array(CURLOPT_BUFFERSIZE => 10)); 52 $this->_curlObj->option(CURLOPT_HEADER, 0); 53 $this->_curlObj->option(CURLOPT_FAILONERROR, FALSE); 51 54 52 55 if ($this->_httpUser && $this->_httpPasswd) { … … 59 62 $result = $this->_curlObj->execute(); 60 63 61 $logMsg = date('Y mdHis') .' - File: '. __FILE__ . ' - line:'. __LINE__ .' - API Result: '. var_export($result, true). ' - Action: '. var_export($this->_apiUrl. $module .'/'.$action, true) .' - PARAMS: '. .var_export($aryParams, true);64 $logMsg = date('Y-m-d H:i:s') .' - File: '. __FILE__ . ' - line:'. __LINE__ .' - API Result: '. var_export($result, true). ' - Action: '. var_export($url, true) .' - PARAMS: '. var_export($aryParams, true)."\n"; 62 65 write_file('./log/apicalling.log', $logMsg, FOPEN_WRITE_CREATE); 63 66 -
pro-violet-viettel/sourcecode/application/modules/frontend/views/lecture_editor.php
r625 r630 4 4 $this->load->view('layout/frontend/sidebar'); 5 5 ?> 6 <div class="main-container-inner">7 8 6 <div class="main-content"> 9 10 7 <div class="page-content no-padding"> 11 8 <!-- PAGE CONTENT BEGINS --> -
pro-violet-viettel/sourcecode/application/modules/services/controllers/viettel.php
r579 r630 76 76 $pattern = '/<[^>]*[^\/]>/i'; 77 77 $aryOutput = preg_split ($pattern, $soapOutput, -1, PREG_SPLIT_NO_EMPTY | PREG_SPLIT_DELIM_CAPTURE); 78 79 $xml = '<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"> 80 <S:Body> 81 <messageReceiverResponse xmlns="http://tempuri.org/"> 82 <return>'.$aryOutput[1].'</return> 83 </messageReceiverResponse> 84 </S:Body> 85 </S:Envelope>'; 86 78 $aryData = array(); 79 $aryData['message'] = $aryOutput[1]; 80 $xml = $this->load->view('mo', $aryData, TRUE); 87 81 header('Content-Type: text/xml; charset: utf-8'); 88 82 echo $xml; -
pro-violet-viettel/sourcecode/application/modules/services/views/mo.php
r460 r630 1 <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> 2 <soap:Body> 3 <MOReceiver xmlns="http://tempuri.org/"> 4 <username>sbg</username> 5 <password>sbg571285</password> 6 <requestID>4</requestID> 7 <userID>841695061706</userID> 8 <receiverID>841695061706</receiverID> 9 <serviceID>8062</serviceID> 10 <commandCode>SBG</commandCode> 11 <contentType>0</contentType> 12 <info>SBG DK</info> 13 <receiveTime><?php echo date('Y-m-d H:i:s') ?></receiveTime> 14 </MOReceiver> 15 </soap:Body> 16 </soap:Envelope> 1 <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"> 2 <S:Body> 3 <messageReceiverResponse xmlns="http://tempuri.org/"> 4 <return><?php echo $message;?></return> 5 </messageReceiverResponse> 6 </S:Body> 7 </S:Envelope> -
pro-violet-viettel/sourcecode/application/views/layout/frontend/sidebar.php
r629 r630 3 3 4 4 <div class="main-container-inner"> 5 <a class="menu-toggler" id="menu-toggler" href="#">6 <span class="menu-text"></span>7 </a>8 9 5 <div class="sidebar sidebar-fixed" id="sidebar"> 10 11 <div class="sidebar-shortcuts" id="sidebar-shortcuts">12 <!--div class="sidebar-shortcuts-large" id="sidebar-shortcuts-large" style="line-height:normal">13 <!--div data-percent="66%" class="progress progress-striped active" style="margin-bottom:0">14 <div style="width:66%;" class="progress-bar"></div>15 </div>16 <span>66 GB / 100 GB</span>17 </div-->18 19 <div class="sidebar-shortcuts-mini" id="sidebar-shortcuts-mini">20 <span class="btn btn-success"></span>21 22 <span class="btn btn-info"></span>23 24 <span class="btn btn-warning"></span>25 26 <span class="btn btn-danger"></span>27 </div>28 </div><!-- #sidebar-shortcuts -->29 6 30 7 <nav class="navbar navbar-minimal animate open" role="navigation" style="background:transparent">
Note: See TracChangeset
for help on using the changeset viewer.