增加三个 why us 相关标签

hotfix/paypal-note
LiaoYijun 3 years ago
parent eecac847a4
commit 375ef052b4

@ -1223,6 +1223,18 @@ class Information extends CI_Controller
true);
$information->ic_content = str_replace('<!--@INQUIRY-FORM@-->', $inquiry_form_template, $information->ic_content);
}
// why-us 相关的标签
$why_us_mobile = $this->load->view($template_path . '-why-us-mobile', false, true);
$template = str_replace('<!--@WHY_US_MOBILE@-->', $why_us_mobile, $template);
$why_us_tour_detail_pc = $this->load->view($template_path . '-why-us-tour-detail-pc', false, true);
$template = str_replace('<!--@WHY_US_TOUR_DETAIL_PC@-->', $why_us_tour_detail_pc, $template);
$why_us_tour_list_pc = $this->load->view($template_path . '-why-us-tour-list-pc', false, true);
$template = str_replace('<!--@WHY_US_TOUR_LIST_PC@-->', $why_us_tour_list_pc, $template);
$breadcrumb_content = $this->load->view($template_path . '-breadcrumb', array('breadcrumb_data' => $breadcrumb_data), true);
$information->ic_content = str_replace('<!--@BREADCRUMB-BLOCK@-->', $breadcrumb_content, $information->ic_content);
//主样式表,内联模式
if (is_file('D:/wwwroot/origin-www.asiahighlights.com/css/mobile-first.css')) {//主样式表,内联模式,优先读取本地,没有在从网络读取,为了加速

@ -0,0 +1,3 @@
<div class="infoimage">
<img src="https://data.asiahighlights.com/image/about/covid-why-us-mobile.jpg" class="img-responsive visible-xs" alt="travel with confidence despite covid">
</div>

@ -0,0 +1,3 @@
<div class="infoimage">
<img src="https://data.asiahighlights.com/image/about/covid-why-us-tour-detail-pc.jpg" class="img-responsive hidden-xs" alt="travel with confidence despite covid">
</div>

@ -0,0 +1,4 @@
<div class="infoimage">
<img src="https://data.asiahighlights.com/image/about/covid-why-us-tour-list-pc.jpg" class="img-responsive hidden-xs" alt="travel with confidence despite covid">
</div>
Loading…
Cancel
Save