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

hotfix/paypal-note
赵鹏 4 years ago
commit af3c6f8df6

@ -967,9 +967,11 @@ class Information extends CI_Controller
$data['meta_addon_picture_url'] = get_meta($information->ic_id, 'meta_addon_picture_url'); $data['meta_addon_picture_url'] = get_meta($information->ic_id, 'meta_addon_picture_url');
} }
$breadcrumb_data = $this->Information_model->get_path_exclude_self($information->is_id, $information->is_path);
$ads_by_google = !empty(get_meta($information->ic_id, 'meta_google_ad_article')); $ads_by_google = !empty(get_meta($information->ic_id, 'meta_google_ad_article'));
$data['ads_by_google'] = $ads_by_google; $data['ads_by_google'] = $ads_by_google;
$data['author'] = $this->Operator_model->get_author_nikename($information->ic_author); //获取作者信息 $data['author'] = $this->Operator_model->get_author_nikename($information->ic_author); //获取作者信息
$data['breadcrumb_data'] = $breadcrumb_data;
$template_H1 = $this->load->view($template_path . '-h1', $data, TRUE); $template_H1 = $this->load->view($template_path . '-h1', $data, TRUE);
$template = str_replace('<!--@HEAD_1@-->', $template_H1, $template); $template = str_replace('<!--@HEAD_1@-->', $template_H1, $template);

@ -7,6 +7,12 @@
alt="<?php echo !empty($information->ic_title)?$information->ic_title:'H1 title asiahighlights mobile first template'; ?>" class="img-responsive"> alt="<?php echo !empty($information->ic_title)?$information->ic_title:'H1 title asiahighlights mobile first template'; ?>" class="img-responsive">
<?php } ?> <?php } ?>
<div class="topbannerbg"> <div class="topbannerbg">
<div class="infocategory" style="display: none">
<a href="/" data-count="<?php echo count($breadcrumb_data) ?>">Home</a>
<?php foreach ($breadcrumb_data as $index => $item) {?>
<a href="<?php echo $item['ic_url'] ?>" data-index="<?php echo $index ?>" data-is-id="<?php echo $item['is_id'] ?>"><?php echo $item['ic_url_title'] ?></a>
<?php }?>
</div>
<div class="infotoptitle"> <div class="infotoptitle">
<h1 class="whitefont"><?php echo !empty($information->ic_title)?$information->ic_title:'H1 title asiahighlights mobile first template'; ?></h1> <h1 class="whitefont"><?php echo !empty($information->ic_title)?$information->ic_title:'H1 title asiahighlights mobile first template'; ?></h1>
<div class="authorupdate">By <strong><?php echo !empty($author)?$author->OPI_FirstName:'author nickname'; ?></strong>Updated <?php echo date("M. j, Y",time()); ?></div> <div class="authorupdate">By <strong><?php echo !empty($author)?$author->OPI_FirstName:'author nickname'; ?></strong>Updated <?php echo date("M. j, Y",time()); ?></div>

Loading…
Cancel
Save