최근게시물의 첨부이미지 없을 시에 엑박 뜨는데 수정방법좀 부탁드립니다. 정보
최근게시물의 첨부이미지 없을 시에 엑박 뜨는데 수정방법좀 부탁드립니다.본문
최근게시물의 첨부이미지 없을 시에 엑박 뜨는데 수정방법좀 부탁드립니다.
참고로 전 단순하게
제목 출력쪽에
echo $img = "<img src={$g4[path]}/data/file/{$bo_table}/{$list[$i][file][0][file]} border=0 align=top style=vertical-align:top width=83 height=78> ";
이렇게 넣었거든요..
근데 이미지가 첨부안되었을 시에는
엑박말고 아예 안보이게 하는 소스를 부탁드립니다
스크립트를 전혀 쓸 줄 몰라서요 ㅠㅜ
참고주소는
http://www.renderbit.co.kr/gnuboard4/bbs/board.php?bo_table=news
입니다.
참고로 전 단순하게
제목 출력쪽에
echo $img = "<img src={$g4[path]}/data/file/{$bo_table}/{$list[$i][file][0][file]} border=0 align=top style=vertical-align:top width=83 height=78> ";
이렇게 넣었거든요..
근데 이미지가 첨부안되었을 시에는
엑박말고 아예 안보이게 하는 소스를 부탁드립니다
스크립트를 전혀 쓸 줄 몰라서요 ㅠㅜ
참고주소는
http://www.renderbit.co.kr/gnuboard4/bbs/board.php?bo_table=news
입니다.
댓글 전체
if( $list[$i][file][0][file] ) echo $img = "<img src={$g4[path]}/data/file/{$bo_table}/{$list[$i][file][0][file]} border=0 align=top style=vertical-align:top width=83 height=78> ";
감사합니다 ^^