document_srl) return;
// 아이콘 목록을 담을 변수 미리 설정
$buffs = array();
$check_files = false;
$content = $this->content;
if ($sort=="new" || $sort=="file" ) {
// 비밀글 체크
if($this->isSecret()) $buffs[] = "secret";
// 최신 시간 설정
$time_check = date("YmdHis", time()-$time_interval);
// 새글 체크
if($this->regdate>$time_check) $buffs[] = "new";
else if($this->last_update>$time_check) $buffs[] = "update";
}
if ($sort=="file") {
// 사진 이미지 체크
preg_match_all('!
]*?)>!is', $content, $matches);
$cnt = count($matches[0]);
if($cnt) {
for($i=0;$i<$cnt;$i++) {
if(preg_match('/editor_component=/',$matches[0][$i])&&!preg_match('/image_(gallery|link)/i',$matches[0][$i])) continue;
$buffs[] = "image";
$check_files = true;
break;
}
}
// 동영상 체크
if(preg_match('!