|
|
|
@ -205,7 +205,7 @@ class InfoContents_model extends CI_Model
|
|
|
|
|
public function get_ic_contents2($ic_id)
|
|
|
|
|
{
|
|
|
|
|
$sql = "SELECT top 1 ic_id, ic_content, ic_title, ic_url, ic_photo, ic_sitecode, ic_seo_description from infoContents where ic_id=?";
|
|
|
|
|
$query = $this->INFORMATION->query($sql, array($ic_id));
|
|
|
|
|
$query = $this->HT->query($sql, array($ic_id));
|
|
|
|
|
if ($query->result()) {
|
|
|
|
|
$row = $query->row();
|
|
|
|
|
return $row;
|
|
|
|
|