Beispiel #1
0
 public function __construct()
 {
     parent::__construct();
     $this->load->database();
     $this->suppliercode = GetSupplierCode();
     $this->url = config_item(_SITEMINDER_STAGE . '_url');
     save_log_data();
 }
Beispiel #2
0
 public function fetchLogDetails($post)
 {
     $strSQL = "SELECT `Id`," . "`XMLService`," . "`RQLog21`," . "`RPLog21`," . "`SupRQLog`," . "`SupRPLog`," . "`CreateDate`," . "`ConfirmNo`" . " FROM xmllog21s" . " WHERE" . " Id = '" . $post['ID'] . "'" . " AND" . " SupplierCode = '" . GetSupplierCode() . "'";
     $rs = $this->db->query($strSQL);
     if ($rs === FALSE) {
         return array();
     }
     return @array_shift($rs->result_array());
 }