|
|
|
|
@ -343,6 +343,16 @@ class Information_model extends CI_Model
|
|
|
|
|
return $this->GetList();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 获取所有标识 index 的页面
|
|
|
|
|
function get_index_list() {
|
|
|
|
|
$index_query = $this->HT->query("
|
|
|
|
|
select ic_url, ic_datetime, im_value from infoContents ic
|
|
|
|
|
inner join infoStructures is1 ON ic.ic_id = is1.is_ic_id
|
|
|
|
|
left join infoMetas im on ic.ic_id = im.im_ic_id AND im.im_key = 'meta_index_set'
|
|
|
|
|
where ic_status = 1 and is1.is_sitecode = ?",
|
|
|
|
|
array($this->config->item('site_code')));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function GetList($filed = "", $site_code = "")
|
|
|
|
|
{
|
|
|
|
|
$this->topNum ? $sql = "SELECT TOP " . $this->topNum : $sql = "SELECT ";
|
|
|
|
|
|