xe파일중에 아래의 파일을 찾는다
xe/modules/document/document.item.php
document.item.php 파일 내용중에서 아래부분을 찾아...
// Check if secret post is
if($this->isSecret()) $buffs[] = "secret";
// Set the latest time
$time_check = date("YmdHis", $_SERVER['REQUEST_TIME']-$time_interval);
// Check new post
새글체크--> if($this->get('regdate')>$time_check) $buffs[] = "new";
업데이트--> else if($this->get('last_update')>$time_check) $buffs[] = "update";
/*
$content = $this->get('content');
이 // Check image files
미 preg_match_all('!<img([^>]*?)>!is', $content, $matches);
지 $cnt = count($matches[0]);
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;
}
// Check video files
동 if(preg_match('!<embed([^>]*?)>!is', $content) || preg_match('/editor_component=("|\')*multimedia_link/i',
영 $content) ) {
상 $buffs[] = "movie";
$check_files = true;
}
*/
// Check the attachment
파일체크--> if($this->hasUploadedFiles()) $buffs[] = "file";
return $buffs;
}
필요한 부분만 지우던가 하면된다
댓글 0
번호 | 제목 | 조회 수 | 날짜 |
---|---|---|---|
124 | dji 비행 시뮬레이터 | 598 | 2018.11.03 |
123 | 팬텀 4 Pro/Pro+ 사용자 매뉴얼 v1.2 | 229 | 2018.10.06 |
122 | digital back 페이즈원 | 290 | 2018.08.26 |
121 | 이지티켓(호남선 고속) https://www.hticket.co.kr | 1365 | 2018.08.26 |
120 |
db이상으로 재등록
![]() | 0 | 2018.08.26 |
119 | 한국자생 식물원 http://www.kbotanic.co.kr | 176 | 2018.08.26 |
118 | 평강식물원 http://www.peacelandkorea.com | 81 | 2018.08.26 |
117 | 구로케이블TV http://kuro.cnm.co.kr | 95 | 2018.08.26 |
116 | photofunia(포토퍼니아) | 179 | 2018.08.26 |
115 |
소화전 펌프 기본 회로도
![]() | 340 | 2018.08.26 |
114 | 전선 전류허용표 | 1171 | 2018.08.26 |
113 | 원통(진부령 버스시간) | 611 | 2018.08.21 |
112 | 4로 스위치 회로도 | 968 | 2018.07.17 |
111 |
시퀀스 제어 회로
![]() | 0 | 2018.07.13 |
110 | 숨디모스 | 130 | 2018.07.11 |
» | 게시판 새글/업데이트/첨부파일 아이콘 없애기 | 1665 | 2018.06.29 |
108 | 귀화식물목록 | 448967 | 2018.06.26 |
107 | 가평군 현리 버스시간표 | 182 | 2018.06.19 |
106 | apm_setup myadmin에서 사용자 추가하기 | 540 | 2018.04.07 |
105 | phpdownloads | 353 | 2018.03.25 |