동영상 =number_format($start_row)?>-=number_format($end_row)?> | =number_format($total_count)?>건
foreach ($list as $val) {
$title = $val['title'];
$content = strip_tags($val['content']);
$title_txt = mb_strimwidth($title, '0', '60', '..', 'utf-8');
$content_txt = mb_strimwidth($content, '0', '140', '..', 'utf-8');
foreach($arr_search_keyword as $val3) {
$title_txt = str_replace($val3, '
'.$val3.'', $title_txt);
$content_txt = str_replace($val3, '
'.$val3.'', $content_txt);
}
$display_date_txt = gf_article_date_text($val['display_date']);
$share_title = str_replace("'", "\\'", $val['title']);
$share_title = str_replace('"', '\\"', $share_title);
$share_content = mb_strimwidth($content, '0', '250', '..', 'utf-8');
$share_content = htmlspecialchars($share_content);
$share_content = str_replace("'", "\\'", $share_content);
$share_content = str_replace('”', '"', $share_content);
$main_img = $val['main_img'];
switch ($val['content_type']) {
case '1': $view_url = '/m/news/news_view/'.$val['idx']; $share_key = 'news_'.$val['idx']; $add_title = $val['category_name']; $writer_name = $val['reporter_name']; $curl = $view_url;break;
case '2': $view_url = '/m/news/column_view/'.$val['idx']; $share_key = 'column_'.$val['idx']; $add_title = $val['column_name']; $writer_name = $val['column_name']; $curl = '/m/life/channel/'.$val['partner_idx']; break;
case '3': $view_url = '/m/life/life_view/'.$val['idx']; $share_key = 'life_'.$val['idx']; $add_title = $val['channel_name']; $writer_name = $val['channel_name']; $curl = '/m/life/channel/'.$val['partner_idx'];break;
}
?>
=$val['video_playtime']?>
}?>
require_once(APPPATH."views/m/search/search_footer_inc.php"); ?>
}?>
$title = ''; $content = ''; $main_img = '';
require_once(APPPATH."views/web/comm/share_box_inc.php"); ?>