diff --git a/application/controllers/information.php b/application/controllers/information.php index ef0da442..62a1527d 100644 --- a/application/controllers/information.php +++ b/application/controllers/information.php @@ -678,6 +678,13 @@ class Information extends CI_Controller array('information' => $information, 'author' => $author), true); $template = str_replace('', $article_structured_data_content, $template); + + + $article_top_image_content = $this->load->view( + $template_path . '-info-top-img', + array('information' => $information), + true); + $template = str_replace('', $article_top_image_content, $template); } else { $template = str_replace('', '', $template); $inquiry_form_template = $this->load->view($template_path . '-inquiry-form', array('meta_product_code' => $meta_product_code), true); diff --git a/application/views/mobile_first/ch-info-top-img.php b/application/views/mobile_first/ch-info-top-img.php new file mode 100644 index 00000000..83ae235b --- /dev/null +++ b/application/views/mobile_first/ch-info-top-img.php @@ -0,0 +1,6 @@ + +
+ <?php echo !empty($ic_title)?$ic_title:'H1 title Chinahighlights mobile first template'; ?> +
+ \ No newline at end of file diff --git a/application/views/mobile_first/ch-pc.php b/application/views/mobile_first/ch-pc.php index 9d043204..811ad491 100644 --- a/application/views/mobile_first/ch-pc.php +++ b/application/views/mobile_first/ch-pc.php @@ -187,12 +187,7 @@
- -
- <?php echo !empty($ic_title)?$ic_title:'H1 title Chinahighlights mobile first template'; ?> -
- +
diff --git a/application/views/mobile_first/ch.php b/application/views/mobile_first/ch.php index 0fc9cbcb..0c3bbdda 100644 --- a/application/views/mobile_first/ch.php +++ b/application/views/mobile_first/ch.php @@ -198,12 +198,7 @@ - -
- <?php echo !empty($ic_title)?$ic_title:'H1 title Chinahighlights mobile first template'; ?> -
- +