|
|
|
@ -176,6 +176,9 @@ class Information extends CI_Controller
|
|
|
|
|
|
|
|
|
|
// info_meta
|
|
|
|
|
$item_meta_amp = $this->InfoMetas_model->get($item->is_ic_id, 'AMP');
|
|
|
|
|
$item_meta_ampbody = $this->InfoMetas_model->get($item->is_ic_id, 'AMP_BODY');
|
|
|
|
|
$item_meta_ampcss = $this->InfoMetas_model->get($item->is_ic_id, 'AMP_CSS');
|
|
|
|
|
$item_meta_ampscript = $this->InfoMetas_model->get($item->is_ic_id, 'AMP_SCRIPT');
|
|
|
|
|
$item_meta_ampjson = $this->InfoMetas_model->get($item->is_ic_id, 'AMP_JSON');
|
|
|
|
|
$item_meta_ampstatus = $this->InfoMetas_model->get($item->is_ic_id, 'AMP_STATUS');
|
|
|
|
|
$item_meta_pcstatus = $this->InfoMetas_model->get($item->is_ic_id, 'AMP_BODY_PC_STATUS');
|
|
|
|
@ -185,6 +188,12 @@ class Information extends CI_Controller
|
|
|
|
|
|
|
|
|
|
if (!empty($item_meta_amp))
|
|
|
|
|
$this->InfoMetas_model->Add($this->InfoContents_model->insert_id, 'AMP', $item_meta_amp);
|
|
|
|
|
if (!empty($item_meta_ampbody))
|
|
|
|
|
$this->InfoMetas_model->Add($this->InfoContents_model->insert_id, 'AMP_BODY', $item_meta_ampbody);
|
|
|
|
|
if (!empty($item_meta_ampcss))
|
|
|
|
|
$this->InfoMetas_model->Add($this->InfoContents_model->insert_id, 'AMP_CSS', $item_meta_ampcss);
|
|
|
|
|
if (!empty($item_meta_ampscript))
|
|
|
|
|
$this->InfoMetas_model->Add($this->InfoContents_model->insert_id, 'AMP_SCRIPT', $item_meta_ampscript);
|
|
|
|
|
if (!empty($item_meta_ampjson))
|
|
|
|
|
$this->InfoMetas_model->Add($this->InfoContents_model->insert_id, 'AMP_JSON', $item_meta_ampjson);
|
|
|
|
|
if (!empty($item_meta_ampstatus))
|
|
|
|
|