GH 底部表单增加产品编号

hotfix/paypal-note
LiaoYijun 4 years ago
parent 6f220aa722
commit 97b1f41001

@ -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和移动只需要查一次减少数据库负担

@ -184,6 +184,7 @@ height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
placeholder="How many people, hotel style and changes to make... " style="margin-bottom:20px;"></textarea>
<input name="nullemail" placeholder="Your alternative email?" type="hidden">
<input id="url" name="url" type="hidden">
<!--@INPUT_PRODUCT_CODE@-->
<input id="sourcetype" name="sourcetype" type="hidden" value="32113">
<button class="sendButton" type="submit">
Send My Inquiry

@ -145,6 +145,7 @@ height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
placeholder="How many people, hotel style and changes to make... " style="margin-bottom:20px;"></textarea>
<input name="nullemail" placeholder="Your alternative email?" type="hidden">
<input id="url" name="url" type="hidden">
<!--@INPUT_PRODUCT_CODE@-->
<input id="sourcetype" name="sourcetype" type="hidden" value="32113">
<button class="sendButton" type="submit">
Send My Inquiry

Loading…
Cancel
Save