|
|
@ -112,7 +112,7 @@ class webgetbokun extends CI_Controller
|
|
|
|
|
|
|
|
|
|
|
|
//seo
|
|
|
|
//seo
|
|
|
|
$this->tpBokun_model->ic_seo_title = character_limiter($title, 100);
|
|
|
|
$this->tpBokun_model->ic_seo_title = character_limiter($title, 100);
|
|
|
|
$this->tpBokun_model->ic_seo_description = iconv("GBK","UTF-8",character_limiter(strip_tags($activityDeatil->description), 200));
|
|
|
|
$this->tpBokun_model->ic_seo_description = $title; //iconv("GBK","UTF-8",character_limiter(strip_tags($activityDeatil->description), 200));
|
|
|
|
$tempKeywords = $activityDeatil->keywords;
|
|
|
|
$tempKeywords = $activityDeatil->keywords;
|
|
|
|
if (is_array($tempKeywords) && count($tempKeywords) > 0) {
|
|
|
|
if (is_array($tempKeywords) && count($tempKeywords) > 0) {
|
|
|
|
$this->tpBokun_model->ic_seo_keywords = implode(",", $tempKeywords);
|
|
|
|
$this->tpBokun_model->ic_seo_keywords = implode(",", $tempKeywords);
|
|
|
|