diff --git a/application/models/information_model.php b/application/models/information_model.php index 3d8c1948..f2d6ec66 100644 --- a/application/models/information_model.php +++ b/application/models/information_model.php @@ -56,7 +56,8 @@ class Information_model extends CI_Model { $this->search_title = "AND ic_id=" . $this->HT->escape($keyword); } else { $sql_keyword = '%' . $this->HT->escape_like_str($keyword) . '%'; - $this->search_title = "AND (ic_url_title like N'$sql_keyword' OR ic_title like N'$sql_keyword' OR ic_id in (select im_ic_id from infoMetas where im_key='meta_product_code' and convert(nvarchar(100),im_value) like N'$sql_keyword') )"; + $old_keyword = $this->HT->escape_like_str($keyword); //用来搜索产品编码 + $this->search_title = "AND (ic_url_title like N'$sql_keyword' OR ic_title like N'$sql_keyword' OR ic_id in (select im_ic_id from infoMetas where im_key='meta_product_code' and convert(nvarchar(100),im_value) = N'$old_keyword') )"; } return $this->GetList(); } diff --git a/application/third_party/ctmobilefirst/models/api_model.php b/application/third_party/ctmobilefirst/models/api_model.php index 80c2be2c..300cc4aa 100644 --- a/application/third_party/ctmobilefirst/models/api_model.php +++ b/application/third_party/ctmobilefirst/models/api_model.php @@ -954,7 +954,7 @@ class Api_model extends CI_Model { dbo.CItyInfo2 ON P1.PAG_CII_SN = dbo.CItyInfo2.CII2_CII_SN AND dbo.CItyInfo2.CII2_LGC = 1 WHERE (p2.PAG2_LGC =".$this->CTLGC.") AND (p1.pag_dei_sn=".$this->dei_sn.") AND - (p2.PAG2_Check = 2) and (PAG_Code='".$pagcode."')"; + (PAG_Code='".$pagcode."')"; $query =$this->HT->query($sql); if ($query->num_rows() > 0) { diff --git a/application/views/mobile_first/chinatravel-form-tourqi-new.php b/application/views/mobile_first/chinatravel-form-tourqi-new.php index e0d07c40..024f3158 100644 --- a/application/views/mobile_first/chinatravel-form-tourqi-new.php +++ b/application/views/mobile_first/chinatravel-form-tourqi-new.php @@ -3,358 +3,359 @@
Price is based on a 2-person tour with 4-star hotels in low season.
-from US $ p/p
-Code:
-