Merge branch 'master' of github.com:hainatravel/information-system into master

hotfix/paypal-note
candice 2 years ago
commit e648f56ae3

@ -1973,7 +1973,9 @@ class Information extends CI_Controller
$data["ISPRODUCT"] = "no"; //判断是否是产品页
$data["addthis_widget"] = "";
$data["FloatIcon"]=""; //浮动图标替代addthis
if (empty(get_meta($information->ic_id, 'meta_product_code'))) {
$arrExitUrl = array("/","/culture","/guide","/tour","/citytour","/daytrip","/asia-tour","/china-trains");
if (empty(get_meta($information->ic_id, 'meta_product_code')) || in_array($information->ic_url,$arrExitUrl)) {
//$data["addthis_widget"] = $this->load->view($template_path . '-add-this', false, true); //社媒代码addthis
$data["FloatIcon"]="<div class=\"fixed-tm\"><a href=\"/forms/customize\" >Create My Trip</a></div>";
} else {

Loading…
Cancel
Save