공부하는선수

오늘의 운세

" />

이름

*간단한 정보를 입력하시면 운세 결과를 바로 보실 수 있습니다.

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); 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); } ?>

핫뉴스

이전다음
  • 로또1등 3번당첨자 "패턴 정해져 있어