최신글 출력 부분입니다. 정보
최신글 출력 부분입니다.본문
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<table border="0" cellpadding="0" cellspacing="0" width="100%" style="word-wrap:break-word;table-layout:fixed; word-break:break-all;">
<colgroup><col width="15px" /><col /><col width="50px" /></colgroup>
<tr>
<td><img src="<?=$latest_skin_path?>/img/latest_t01.gif"></td>
<td background="<?=$latest_skin_path?>/img/bg_latest.gif"><strong><a href="<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>"><?=$board[bo_subject]?></a></strong></td>
<td><a href="<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>"><img src="<?=$latest_skin_path?>/img/latest_t02.gif" border="0"></a></td>
</tr>
<? for ($i=0; $i<$rows; $i++) { ?>
<tr>
<td height="20" background="<?=$latest_skin_path?>/img/bg_left.gif"></td>
<td><img src='<?=$latest_skin_path?>/img/latest_icon.gif' align="absmiddle" />
<?
echo $list[$i]['icon_reply'] . " ";
echo "<a href='{$list[$i]['href']}'>";
if ($list[$i]['is_notice'])
echo "<font style=font: 9pt 돋움; color:#2C88B9;'><strong>{$list[$i]['subject']}</strong></font>";
else
echo "<font style='font: 9pt 돋움; color:#6A6A6A;'>{$list[$i]['subject']}</font>";
echo "</a>";
if ($list[$i]['comment_cnt'])
echo " <a href=\"{$list[$i]['comment_href']}\"><span style='font: 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'];
//echo " " . $list[$i]['icon_file'];
//echo " " . $list[$i]['icon_link'];
//echo " " . $list[$i]['icon_hot'];
//echo " " . $list[$i]['icon_secret'];
?></td>
<td background="<?=$latest_skin_path?>/img/bg_right.gif"><span style='font: 8pt 돋움; color:#BABABA;'> <?=$list[$i][datetime2]?></span></td>
</tr>
<? } ?>
<tr>
<td><img src="<?=$latest_skin_path?>/img/latest_b01.gif"></td>
<td background="<?=$latest_skin_path?>/img/bg_latest2.gif"></td>
<td><img src="<?=$latest_skin_path?>/img/latest_b02.gif"></td>
</tr>
</table>
에서 어느부분을 수정해야,
그부분의 글이 출력되는거죠,,
php는 꽝입니다,,..
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<table border="0" cellpadding="0" cellspacing="0" width="100%" style="word-wrap:break-word;table-layout:fixed; word-break:break-all;">
<colgroup><col width="15px" /><col /><col width="50px" /></colgroup>
<tr>
<td><img src="<?=$latest_skin_path?>/img/latest_t01.gif"></td>
<td background="<?=$latest_skin_path?>/img/bg_latest.gif"><strong><a href="<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>"><?=$board[bo_subject]?></a></strong></td>
<td><a href="<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>"><img src="<?=$latest_skin_path?>/img/latest_t02.gif" border="0"></a></td>
</tr>
<? for ($i=0; $i<$rows; $i++) { ?>
<tr>
<td height="20" background="<?=$latest_skin_path?>/img/bg_left.gif"></td>
<td><img src='<?=$latest_skin_path?>/img/latest_icon.gif' align="absmiddle" />
<?
echo $list[$i]['icon_reply'] . " ";
echo "<a href='{$list[$i]['href']}'>";
if ($list[$i]['is_notice'])
echo "<font style=font: 9pt 돋움; color:#2C88B9;'><strong>{$list[$i]['subject']}</strong></font>";
else
echo "<font style='font: 9pt 돋움; color:#6A6A6A;'>{$list[$i]['subject']}</font>";
echo "</a>";
if ($list[$i]['comment_cnt'])
echo " <a href=\"{$list[$i]['comment_href']}\"><span style='font: 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'];
//echo " " . $list[$i]['icon_file'];
//echo " " . $list[$i]['icon_link'];
//echo " " . $list[$i]['icon_hot'];
//echo " " . $list[$i]['icon_secret'];
?></td>
<td background="<?=$latest_skin_path?>/img/bg_right.gif"><span style='font: 8pt 돋움; color:#BABABA;'> <?=$list[$i][datetime2]?></span></td>
</tr>
<? } ?>
<tr>
<td><img src="<?=$latest_skin_path?>/img/latest_b01.gif"></td>
<td background="<?=$latest_skin_path?>/img/bg_latest2.gif"></td>
<td><img src="<?=$latest_skin_path?>/img/latest_b02.gif"></td>
</tr>
</table>
에서 어느부분을 수정해야,
그부분의 글이 출력되는거죠,,
php는 꽝입니다,,..
댓글 전체
질문을 이해할 수가 없습니다. 다른 분들도 마찬가지일거라 사료됩니다.