메뉴 건너뛰기

창고/data

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;

                    }



필요한 부분만 지우던가 하면된다