{@ $documentcontent = $oDocument->getContent(); $documentcontent = str_replace ("(.+?)`",$documentcontent,$out, PREG_PATTERN_ORDER); } {@ $documentcontent = str_replace ($val,"more
$val
",$documentcontent); } {@ $val2 = str_replace ("&접기","",$val); $val2 = str_replace ("&접기","",$val); $val2 = strip_tags ($val2); } {@ $val3 = str_replace (" {@ $video_id = explode('v=',$val2); $youtu_id = explode('&',$video_id[1]); $youtube_id = explode('?',$youtu_id[0]); $list_id = explode('list=',$val2); $youtuli_id = explode('&',$list_id[1]); $youtubeli_id = explode('?',$youtuli_id[0]); $documentcontent = str_replace($val,"
",$documentcontent); } {@ $video_id = str_replace('http://youtu.be/','',$val2); $documentcontent = str_replace($val,"
",$documentcontent); } {@ $video_id = explode('v=',$val2); $youtu_id = explode('&',$video_id[1]); $youtube_id = explode('?',$youtu_id[0]); $youtube_id = $youtube_id[0]; $documentcontent = str_replace($val,"
",$documentcontent); } {@ $video_id = str_replace('http://www.ted.com','http://embed.ted.com',$val2); $documentcontent = str_replace($val,"
",$documentcontent); } {@ $video_id = str_replace('http://vimeo.com','//player.vimeo.com/video',$val2); $documentcontent = str_replace($val,"
",$documentcontent); } {@ $video_id = str_replace('Movie#','Movie#slideshow/',$val2); $documentcontent = str_replace($val,"앨범에서 보기",$documentcontent); } {@ $documentcontent = str_replace($val,"앨범에서 보기",$documentcontent); } {@ $video_id = str_replace('drive.google.com/file/d','www.googledrive.com/host',$val2); $video_id = str_replace('&type=video','&type=video',$video_id); $video_id = str_replace('/edit?usp=sharing','',$video_id); $documentcontent = str_replace($val,"
",$documentcontent); } {@ $video_id = str_replace('drive.google.com/file/d','www.googledrive.com/host',$val2); $video_id = str_replace('&type=video','',$video_id); $video_id = str_replace('&type=video','',$video_id); $video_id = str_replace('/edit?usp=sharing','',$video_id); $documentcontent = str_replace($val,"
",$documentcontent); } {@ $documentcontent = str_replace($val," 파일 다운로드",$documentcontent); }
{@ $video_id = $val2; $documentcontent = str_replace($val,"
",$documentcontent); } {@ $documentcontent = str_replace($val,"
",$documentcontent); $documentcontent = str_replace ("class=\"myimg\"","",$documentcontent); } {$documentcontent} {@ $val2 = str_replace ("&접기","",$val); $val2 = str_replace ("&접기","",$val); $val2 = strip_tags ($val2); }