최신 게시물인데 이미지가 안뜹니다.. 정보
최신 게시물인데 이미지가 안뜹니다..본문
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<table cellpadding="0" cellspacing="0" width="100%" style="table-layout: fixed;" background="<?=$latest_skin_path?>/img/top_bar_bg.gif">
<tr>
<td height=28><a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>'> <font color="#333333"><b><?=$cat_row[$j]?></b></font></a></td>
<td height=28 background="<?=$latest_skin_path?>/img/top_bar_divi.gif" width="14"> </td>
<td align="right"><a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>&sca=<?=$cat_row[$j]?>'>More</a> </td>
</tr>
</table>
<table cellpadding="0" cellspacing="0" width="100%">
<tr><td height=5></td></tr></table>
<table width=100% cellpadding=0 cellspacing=0 style="table-layout: fixed;">
<? for ($i=0; $i<count($list); $i++) { ?>
<tr>
<td align=center>
<table width=95% style="table-layout: fixed;">
<tr>
<td height=20><img src='<?=$latest_skin_path?>/img/latest_icon.gif' align=absmiddle>
<nobr>
<?
echo $list[$i][icon_reply] . " ";
echo "<a href='{$list[$i][href]}'>";
if ($list[$i][is_notice])
echo "<font style='font-family:돋움; font-size:9pt; color:#FF4200;'><strong>{$list[$i][subject]}</strong></font>";
else
echo "<font style='font-family:돋움; font-size:9pt; color:#6A6A6A;'>{$list[$i][subject]}</font>";
echo "</a>";
//##add06-04-12
$qry=" SELECT count(*) as coment_cnt FROM $tmp_write_table WHERE wr_parent=".$list[$i][wr_parent]." and wr_is_comment >0 $ssh_wr_nogood ";
$cnt_val= sql_fetch($qry);
if ($cnt_val[coment_cnt]>0) {$list[$i][comment_cnt]="(".$cnt_val[coment_cnt].")";}
//##add06-04-12
if ($list[$i][comment_cnt])
echo " <a href=\"{$list[$i][comment_href]}\"><span style='font-family:돋움; font-size:8pt; color:#9A9A9A;'>{$list[$i][comment_cnt]}</span></a>";
// if ($list[$i]['link']['count']) { echo "[{$list[$i]['link']['count']}]"; }
// if ($list[$i]['file']['count']) { echo "<{$list[$i]['file']['count']}>"; }
echo " " . $list[$i][icon_new];
?>
</nobr>
</td></tr>
</table></td>
</tr>
<? } ?>
<? if (count($list) == 0) { ?><tr><td colspan=4 align=center height=50><font color=#6A6A6A>게시물이 없습니다.</a></td></tr><? } ?>
</table>
최신 게시물 소스 인데요. 제목 앞에 그 해당 글의 첨부된 이미지가 뜨게 수정 부탁드릴께요^^
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<table cellpadding="0" cellspacing="0" width="100%" style="table-layout: fixed;" background="<?=$latest_skin_path?>/img/top_bar_bg.gif">
<tr>
<td height=28><a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>'> <font color="#333333"><b><?=$cat_row[$j]?></b></font></a></td>
<td height=28 background="<?=$latest_skin_path?>/img/top_bar_divi.gif" width="14"> </td>
<td align="right"><a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>&sca=<?=$cat_row[$j]?>'>More</a> </td>
</tr>
</table>
<table cellpadding="0" cellspacing="0" width="100%">
<tr><td height=5></td></tr></table>
<table width=100% cellpadding=0 cellspacing=0 style="table-layout: fixed;">
<? for ($i=0; $i<count($list); $i++) { ?>
<tr>
<td align=center>
<table width=95% style="table-layout: fixed;">
<tr>
<td height=20><img src='<?=$latest_skin_path?>/img/latest_icon.gif' align=absmiddle>
<nobr>
<?
echo $list[$i][icon_reply] . " ";
echo "<a href='{$list[$i][href]}'>";
if ($list[$i][is_notice])
echo "<font style='font-family:돋움; font-size:9pt; color:#FF4200;'><strong>{$list[$i][subject]}</strong></font>";
else
echo "<font style='font-family:돋움; font-size:9pt; color:#6A6A6A;'>{$list[$i][subject]}</font>";
echo "</a>";
//##add06-04-12
$qry=" SELECT count(*) as coment_cnt FROM $tmp_write_table WHERE wr_parent=".$list[$i][wr_parent]." and wr_is_comment >0 $ssh_wr_nogood ";
$cnt_val= sql_fetch($qry);
if ($cnt_val[coment_cnt]>0) {$list[$i][comment_cnt]="(".$cnt_val[coment_cnt].")";}
//##add06-04-12
if ($list[$i][comment_cnt])
echo " <a href=\"{$list[$i][comment_href]}\"><span style='font-family:돋움; font-size:8pt; color:#9A9A9A;'>{$list[$i][comment_cnt]}</span></a>";
// if ($list[$i]['link']['count']) { echo "[{$list[$i]['link']['count']}]"; }
// if ($list[$i]['file']['count']) { echo "<{$list[$i]['file']['count']}>"; }
echo " " . $list[$i][icon_new];
?>
</nobr>
</td></tr>
</table></td>
</tr>
<? } ?>
<? if (count($list) == 0) { ?><tr><td colspan=4 align=center height=50><font color=#6A6A6A>게시물이 없습니다.</a></td></tr><? } ?>
</table>
최신 게시물 소스 인데요. 제목 앞에 그 해당 글의 첨부된 이미지가 뜨게 수정 부탁드릴께요^^
댓글 전체
감사합니다!
^^