右侧推荐删除 aside 标签

master
Jimmy Liow 12 months ago
parent a66966400b
commit 55e7e47418

@ -1216,7 +1216,7 @@ class Information extends CI_Controller
$meta_show_advertise = get_meta($information->ic_id, 'meta_show_advertise'); $meta_show_advertise = get_meta($information->ic_id, 'meta_show_advertise');
// //广告改叫tips防止被插件屏蔽 // //广告改叫tips防止被插件屏蔽
if (!empty($template_recommand['Tips Right TOP']) && ($meta_show_advertise == 'yes' || empty($meta_show_advertise))) { if (!empty($template_recommand['Tips Right TOP']) && ($meta_show_advertise == 'yes' || empty($meta_show_advertise))) {
$template = str_replace('<!--@TIPS-RIGHT-TOP@-->', "<div class='right_brand_info'><aside>" . $template_recommand['Tips Right TOP']->it_content . "</aside></div>", $template); $template = str_replace('<!--@TIPS-RIGHT-TOP@-->', "<div class='right_brand_info'>" . $template_recommand['Tips Right TOP']->it_content . "</div>", $template);
} }
if (!empty($template_recommand['Tips Right']) && ($meta_show_advertise == 'yes' || empty($meta_show_advertise))) { if (!empty($template_recommand['Tips Right']) && ($meta_show_advertise == 'yes' || empty($meta_show_advertise))) {
$template = str_replace('<!--@TIPS-RIGHT@-->', "<div class='right_tour'>" . $template_recommand['Tips Right']->it_content . "</div>", $template); $template = str_replace('<!--@TIPS-RIGHT@-->', "<div class='right_tour'>" . $template_recommand['Tips Right']->it_content . "</div>", $template);

Loading…
Cancel
Save