|
|
|
@ -979,6 +979,12 @@ class Information extends CI_Controller
|
|
|
|
|
array('information' => $information, 'author' => $author),
|
|
|
|
|
true);
|
|
|
|
|
$template = str_replace('<!--@STRUCTURED-DATA-ARTICLE-BLOCK@-->', $article_structured_data_content, $template);
|
|
|
|
|
$product_code = get_meta($information->ic_id, 'meta_product_code');
|
|
|
|
|
if (!empty($product_code)) {
|
|
|
|
|
// <input name="cli_no" type="hidden" value="cht-63">
|
|
|
|
|
$product_code_input = "<input name='cli_no' type='hidden' value='$product_code'>";
|
|
|
|
|
$template = str_replace('<!--@INPUT_PRODUCT_CODE@-->', $product_code_input, $template);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//信息推荐
|
|
|
|
|
$template_recommand = $recommand_information; //$this->recommand_information($information); 从外面传进来,pc和移动只需要查一次,减少数据库负担
|
|
|
|
|