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