최근게시물중 노이미지출력문제 문의드립니다.

홈페이지 작업중 최근게시물 출력을 하는데 최근게시물에 이미지와 제목 그리고 게시물의 내용이 약간나오게
되는데 게시판에 이미지를 등록할때는 정상적으로 이미지가 출력이 되는데 이미지가 등록되지않을때는
정해진 고정이미지가 출력되게 하고 싶은데 잘안되네요^^
아래는 사용할려는 소스입니다.
어떤 소스를 추가해야하는지 알려주시면 너무 고맙겠습니다.

------------------------------------------------------------------------

<?
$image_width = 100; // 너비
$image_height = 100; // 높이
?>

<table width=100% cellpadding=0 cellspacing=1 border=0>


<? for ($i=0; $i<count($list); $i++) { ?>
<tr bgcolor=#ffffff>
<td width=110 rowspan=3><a href='<?="./?doc=$cfg[bbs_dir]/gnuboard.php&bo_table=$bo_table&wr_id={$list[$i][wr_id]}"?>'><?if ($list[$i][file_image1]){?><?=$list[$i][file1_v]?><?}else{?><img src='<?=$latest_skin?>/imsi.gif' border=0 width=101 height=86><?}?></a></td>
<td width='*' height=22 valign=top>
<table width=100% height=22 cellpadding=0 cellspacing=1 border=0>

<tr><td>
<u>[우리가 요즘 관심을 가져야할 핫이슈가 있는곳입니다.]</u>
</td>
</tr>
<tr><td height=22><span class=subject><b><font color=31309C>이슈제목: <a href='<?="./?doc=$cfg[bbs_dir]/gnuboard.php&bo_table=$bo_table&wr_id={$list[$i][wr_id]}"?>'><?//=$list[$i][subject]?><?=cut_str($list[$i][subject],60,"…");?></a></font></b></span></td>

</tr>
</table>
</td>

<tr>
<td style='padding:0 30 0 0;' width='*' height=25 valign=middle><p align=justify><a href='<?="./?doc=$cfg[bbs_dir]/gnuboard.php&bo_table=$bo_table&wr_id={$list[$i][wr_id]}"?>'><?=cut_str($list[$i][wr_content],200,"…");?></a></td>
</tr>

<? } ?>

<? if (count($list) == 0) { echo "<tr><td colspan=3 align=center height=50>자료가 없습니다.</td></tr>"; } ?>
</table>

--------------------------------------------------------------------------------
|

댓글 1개

정말 간단한 노하우~
노이미지를 수정해서 올려주세요.
ㅎㅎㅎ 3초만에 끝납니다.
댓글을 작성하시려면 로그인이 필요합니다.

그누3질답

+
제목 글쓴이 날짜 조회
20년 전 조회 441
20년 전 조회 877
20년 전 조회 1,775
20년 전 조회 899
20년 전 조회 494
20년 전 조회 511
20년 전 조회 564
20년 전 조회 667
20년 전 조회 1,098
20년 전 조회 612
20년 전 조회 440
20년 전 조회 502
20년 전 조회 870
20년 전 조회 538
20년 전 조회 518
20년 전 조회 671
20년 전 조회 512
20년 전 조회 522
20년 전 조회 485
20년 전 조회 576