GNU5, PHP

GNU4 첨부파일이 이미지일 경우 목록에서 그림아이콘으로 표시

페이지 정보

작성자 IN-BEST 댓글 0건 조회 10,611회 작성일 12-10-09 06:28

본문

스킨 list.skin.php 파일에서 [code] echo " " . $list[$i][icon_file]; [/code] 위 소스부분을 [code] $image = urlencode($list[$i][file][0][file]); if (preg_match("/\.(gif|jpg|jpeg|png|GIF|JPG|JPEG|PNG)$/i", $image)) { echo " 그림파일첨부"; } else{ echo " " . $list[$i][icon_file]; } [/code] 로 수정하여 주세요.

댓글목록

등록된 댓글이 없습니다.