답변 3개 / 댓글 2개
채택된 답변
+20 포인트
기본 갤러리 게시판 리스트 내용입니다.
Copy
if ($list[$i]['is_notice']) { // 공지사항 ?> <strong style="width:<?php echo $board['bo_gallery_width'] ?>px;height:<?php echo $board['bo_gallery_height'] ?>px">공지</strong> <?php } else { $thumb = get_list_thumbnail($board['bo_table'], $list[$i]['wr_id'], $board['bo_gallery_width'], $board['bo_gallery_height']); if($thumb['src']) { $img_content = '<img src="'.$thumb['src'].'" alt="'.$thumb['alt'].'" width="'.$board['bo_gallery_width'].'" height="'.$board['bo_gallery_height'].'">'; } else { $img_content = '<span style="width:'.$board['bo_gallery_width'].'px;height:'.$board['bo_gallery_height'].'px">no image</span>'; } echo $img_content; }
답변에 대한 댓글 2개
답변을 작성하려면 로그인이 필요합니다.
