]+encoding)="(.+?)"/','\\1="'.$out_enc.'"',$source); } return simplexml_load_string($source); } $adkey = "outlink_search"; $gisa_id = $_GET["id"]; $gisa_name = $_GET["name"]; if ($gisa_id == "") { ?> Header as $item) { $createdate = iconv("UTF-8","euc-kr",$item->CreateDate); $modifydate = iconv("UTF-8","euc-kr",$item->ModifyDate); $crmrelationname = iconv("UTF-8","euc-kr",$item->CmsRelationName); $newstitle = iconv("UTF-8","euc-kr",$item->NewsTitle); $subtitle = iconv("UTF-8","euc-kr",$item->SubTitleList); $photocount = iconv("UTF-8","euc-kr",$item->PhotoCount); settype($photocount, "integer"); $gijaname = iconv("UTF-8","euc-kr",$item->GijaID); $tmparr2 = array($modifydate, $crmrelationname, $newstitle, $subtitle, $photocount, $gijaname); array_push($list2, $tmparr2); } $ennewstitle = urlencode($newstitle); $modifydate = strtr($modifydate, "T", " "); $createdate = strtr($createdate, "T", " "); $list3 = array(); foreach($results2->NewsMetadata as $item) { $credit = iconv("UTF-8","euc-kr",$item->Credit); $largeclass = iconv("UTF-8","euc-kr",$item->NewsClassList->NewsClass->LargeClass['name']); $middleclass = iconv("UTF-8","euc-kr",$item->NewsClassList->NewsClass->MiddleClass['name']); $smallclass = iconv("UTF-8","euc-kr",$item->NewsClassList->NewsClass->SmallClass['name']); $tmparr3 = array($credit, $largeclass, $middleclass, $smallclass); array_push($list3, $tmparr3); } //자동차 리턴시키는 루틴 if ($list3[0][3] == "리뷰24") { ?> <? echo $newstitle; ?> : 스포츠조선
    WebContent as $item) { $webbody = iconv("UTF-8","euc-kr",$item->WebBody); $photosize = iconv("UTF-8","euc-kr",$item->AppendDataList->AppendData['ImageSizeType']); $tmparr4 = array($webbody, $photosize); array_push($list4, $tmparr4); } $strLine = $list4[0][0]; include 'include_replace.htm'; ?>

    기사입력
    기사입력  | 최종수정
    0) { if ($list4[0][1] == "1") { $strLine = ereg_replace($file_id . "1.jpg" . "[^>]+>", $file_id . "1.jpg' width='540'>
    ", $strLine); } elseif ($list4[0][1] == "2") { $strLine = ereg_replace($file_id . "1.jpg" . "[^>]+>", $file_id . "1.jpg' width='250'>
    ", $strLine); } elseif ($list4[0][1] == "3") { $strLine = ereg_replace($file_id . "1.jpg" . "[^>]+>", $file_id . "1.jpg' width='180'>
    ", $strLine); } else { $strLine = ereg_replace($file_id . "1.jpg" . "[^>]+>", $file_id . "1.jpg'>
    ", $strLine); } } if (substr($newstitle, 0, 5) == "[포토" OR substr($newstitle, 0, 5) == "[띠별" OR substr($newstitle, 0, 5) == "[2014") { ?>

    "); $midpoint1 = strpos($strLine,"

    "); if ($midpoint1 == "") { $midpoint1 = strpos($strLine,"

    "); } if ($midpoint1 == "") { $midpoint1 = strpos($strLine,"
    \n
    "); } $midpoint1 = $midpoint1 + 8; $strLine2 = substr($strLine,$midpoint1,$midpoint2); $midpoint3 = strpos($strLine2,"

    "); if ($midpoint3 == "") { $midpoint3 = strpos($strLine2,"

    "); } if ($midpoint3 == "") { $midpoint3 = strpos($strLine2,"
    \n
    "); $kk = 1; } $midpoint3 = $midpoint1 + $midpoint3 + 8 + $kk; $endpoint = strlen($strLine); ?>
    • 기사리스트
    • |
    • 기사리스트