load->view ( 'main'); } public function mo() { $aryParams = array(); $aryParamsName = array( 'username', 'password', 'requestID', 'userID', 'receiverID', 'serviceID', 'commandCode', 'info', 'receiveTime'); foreach ($aryParams as $key => $value) { $aryParams[$value] = $this->input->post($value,TRUE); } $this->load->model('Sms_model', 'objSMS'); $separator = '|'; $errCode = 1; $messageType = 0; $message = $this->objSMS->getSMSByServiceId();; header('Content-type:text/html'); echo $errCode,$separator,$messageType,$separator,$message; } public function mt() { } } /* End of file viettel.php */ /* Location: ./application/modules/service/controllers/viettel.php */