|
|
|
|
@ -2271,7 +2271,10 @@ class Information extends CI_Controller {
|
|
|
|
|
$meta_addon_picture_mobile = get_meta($information->ic_id, 'meta_addon_picture_mobile');
|
|
|
|
|
|
|
|
|
|
$article_image_list = [$meta_addon_picture, $meta_addon_picture_mobile];
|
|
|
|
|
$article_image_json = json_encode($article_image_list);
|
|
|
|
|
$article_image_list = array_values(array_filter($article_image_list, function($value) {
|
|
|
|
|
return !empty($value);
|
|
|
|
|
}));
|
|
|
|
|
$article_image_json = json_encode($article_image_list, JSON_UNESCAPED_SLASHES);
|
|
|
|
|
|
|
|
|
|
$data['meta_news_createdate'] = $this->get_publish_date_in_6_month($information);
|
|
|
|
|
$data['ads_by_google'] = $ads_by_google;
|
|
|
|
|
|