|
|
|
@ -22,7 +22,7 @@ class Information extends CI_Controller {
|
|
|
|
|
$this->load->model('InfoSMS_model');
|
|
|
|
|
|
|
|
|
|
if (is_series_site()) {
|
|
|
|
|
$this->load->model('InfoTags_model');
|
|
|
|
|
//$this->load->model('InfoTags_model');
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$this->load->library('Accesscheck');
|
|
|
|
@ -271,10 +271,10 @@ class Information extends CI_Controller {
|
|
|
|
|
$data['all_tags'] = array();
|
|
|
|
|
if (is_series_site()) {
|
|
|
|
|
//信息标签
|
|
|
|
|
$this->InfoTags_model->ic_id = null;
|
|
|
|
|
$data['all_tags'] = $this->InfoTags_model->list_tag();
|
|
|
|
|
$this->InfoTags_model->ic_id = $data['information']->ic_id;
|
|
|
|
|
$data['my_tags'] = $this->InfoTags_model->list_tag();
|
|
|
|
|
//$this->InfoTags_model->ic_id = null;
|
|
|
|
|
//$data['all_tags'] = $this->InfoTags_model->list_tag();
|
|
|
|
|
//$this->InfoTags_model->ic_id = $data['information']->ic_id;
|
|
|
|
|
//$data['my_tags'] = $this->InfoTags_model->list_tag();
|
|
|
|
|
//差集
|
|
|
|
|
foreach ($data['all_tags'] as &$it)
|
|
|
|
|
{
|
|
|
|
|