|
|
|
@ -940,6 +940,17 @@ class Information extends CI_Controller
|
|
|
|
|
$information->ic_content = str_replace('<!--@BREADCRUMB-BLOCK@-->', $breadcrumb_content, $information->ic_content);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// CH: 1; AH: 28; GH : 33
|
|
|
|
|
$price_tag_list = $this->parse_price_tag($information->ic_content, 1);
|
|
|
|
|
|
|
|
|
|
foreach ($price_tag_list as $price_tag) {
|
|
|
|
|
$information->ic_content = str_replace(
|
|
|
|
|
$price_tag['placeholder'],
|
|
|
|
|
$price_tag['price_number'],
|
|
|
|
|
$information->ic_content
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//---day tours--- 20210922 zp
|
|
|
|
|
//本地 278035929
|
|
|
|
|
//网前 278008224
|
|
|
|
@ -1332,10 +1343,12 @@ class Information extends CI_Controller
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// <div>#ah-mtc-3,st,2#</div>
|
|
|
|
|
// CH: 1; AH: 28; GH : 33
|
|
|
|
|
public function test_price()
|
|
|
|
|
{
|
|
|
|
|
$price_rule = base64_decode($this->input->get('price_rule')); //'<div">#ah-mtc-3,st,2#</div>';
|
|
|
|
|
$dept_sn = $this->input->get('dept_sn'); //'<div">#ah-mtc-3,st,2#</div>';
|
|
|
|
|
$price_rule = base64_decode($this->input->get('price_rule'));
|
|
|
|
|
$dept_sn = $this->input->get('dept_sn');
|
|
|
|
|
$price_item_array = $this->price_pregmatch($price_rule);
|
|
|
|
|
echo 'price_item_array: ';
|
|
|
|
|
var_dump($price_item_array);
|
|
|
|
@ -1713,6 +1726,17 @@ class Information extends CI_Controller
|
|
|
|
|
);
|
|
|
|
|
$information->ic_content = str_replace('<!--@TOUR-FORM-TAG@-->', $tour_form_content, $information->ic_content);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// CH: 1; AH: 28; GH : 33
|
|
|
|
|
$price_tag_list = $this->parse_price_tag($information->ic_content, 33);
|
|
|
|
|
|
|
|
|
|
foreach ($price_tag_list as $price_tag) {
|
|
|
|
|
$information->ic_content = str_replace(
|
|
|
|
|
$price_tag['placeholder'],
|
|
|
|
|
$price_tag['price_number'],
|
|
|
|
|
$information->ic_content
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 动态加载反馈标签,每个城市三十条反馈。
|
|
|
|
|
// HTLM: <div><!--@FEEDBACK-30_Bangkok@--></div>
|
|
|
|
|