|
|
|
|
@ -50,6 +50,7 @@ class InfoMetas_model extends CI_Model {
|
|
|
|
|
on im3.im_ic_id = im.im_ic_id and im2.im_key = 'AMP_SCHEMA'
|
|
|
|
|
WHERE im.im_key = 'AMP_JSON'
|
|
|
|
|
and c.ic_sitecode = ?
|
|
|
|
|
and c.ic_status = 1
|
|
|
|
|
and CONVERT(varchar, im2.im_value) = '1'
|
|
|
|
|
";
|
|
|
|
|
$query = $this->HT->query($sql, array($site_code));
|
|
|
|
|
@ -72,6 +73,7 @@ class InfoMetas_model extends CI_Model {
|
|
|
|
|
on im3.im_ic_id = im.im_ic_id and im2.im_key = 'AMP_SCHEMA'
|
|
|
|
|
WHERE im.im_key = 'AMP_JSON'
|
|
|
|
|
and c.ic_sitecode = ?
|
|
|
|
|
and c.ic_status = 1
|
|
|
|
|
and CONVERT(varchar, im2.im_value) <> '1'
|
|
|
|
|
";
|
|
|
|
|
$query = $this->HT->query($sql, array($site_code));
|
|
|
|
|
|