article as $item) { $art_title = iconv("utf-8", "euc-kr", $item->art_title); $art_title = str_replace("[카드뉴스]", "", $art_title); $art_title = trim($art_title); $art_doc = iconv("utf-8", "euc-kr", $item->art_doc); $art_filename = iconv("utf-8", "euc-kr", $item->art_filename); $art_newskey = iconv("utf-8", "euc-kr", $item->art_newskey2); $art_date = iconv("utf-8", "euc-kr", $item->art_date); $art_servicedate = iconv("utf-8", "euc-kr", $item->art_servicedate); $yyyy = substr($art_servicedate,0,4); $mm = substr($art_servicedate,4,2); $dd = substr($art_servicedate,6,2); $CDN_IMG_URL = "http://sccdn.chosun.com/news/html/" . $yyyy . "/" . $mm . "/" . $dd . "/"; $FILE_XML = @simplexml_load_file($art_filename, 'SimpleXMLElement', LIBXML_NOCDATA); if(!empty($FILE_XML)) { foreach($FILE_XML->WebContent->AppendDataList as $item) { $art_thumbnail = $CDN_IMG_URL . $item->AppendData[0]->ServerDataFileName; } } $arr = array('title'=>$art_title, 'finename'=>$art_filename, 'servicedate'=>$art_servicedate, 'date'=>$art_date,'newskey'=>$art_newskey,'thumbnail'=>$art_thumbnail, 'doc'=>$art_doc); array_push($list, $arr); } ?>

스포츠조선

떠먹여주는 콘텐츠 spoon뉴스

= 0 && $i < 11) { ?>
$page_count ? $page_count : $end_page_num; // PREV if ($current_page > $block_size) { ?> < $end_page_num) { ?> >