최근게시물 [] <-- 요거 없애려고 하는데요.

최근게시물 [] <-- 요거 없애려고 하는데요.

최근게시물 소스에서 어느부분을 수정하면 없어지나요?

소스는 아래와같아요.

<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>

<table width=387 border=0 align="left" cellpadding=0 cellspacing=0>
<tr>
<td width="5" height="5"><img src="<?=$latest_skin_path?>/img/box01_tl.gif" width="5" height="5"></td>
<td background="<?=$latest_skin_path?>/img/box01_top.gif"></td>
<td width="5" height="5"><img src="<?=$latest_skin_path?>/img/box01_tr.gif" width="5" height="5"></td>
</tr>
<tr>
<td background="<?=$latest_skin_path?>/img/box01_left.gif"></td>
<td valign="top" ><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td valign="top" style="padding-bottom:5px"><table width="100%" height="25" border="0" cellpadding="0" cellspacing="0">
<tr>
<td><img src="<?=$latest_skin_path?>/img/box_bullet00.gif" width="9" height="9" align="absmiddle">
<strong><a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>'><?=$board[bo_subject]?></a></strong></td>
<td width="47" align="right"><a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>'><img src="<?=$latest_skin_path?>/img/box01_more.gif" width="47" height="13" border="0"></a></td>
</tr>
</table></td>
</tr>
<tr>
<td valign="top"><table width=100% border=0 align="left" cellpadding=0 cellspacing=0 bgcolor="F5F5F5">
<tr>
<td width="5" height="5"><img src="<?=$latest_skin_path?>/img/f5f5f5_box_tl.gif" width="5" height="5"></td>
<td></td>
<td width="5" height="5"><img src="<?=$latest_skin_path?>/img/f5f5f5_box_tr.gif" width="5" height="5"></td>
</tr>
<tr>
<td></td>
<td valign="top" style="padding:5px"><table width="100%" border="0" cellspacing="0" cellpadding="0">

<!-- 최신글 목록 -->
<? for ($i=0; $i<count($list); $i++) { ?>
<tr>
<td colspan=4 align=left>
<table width=100% border="0">
<tr>
<td height=15><img src='<?=$latest_skin_path?>/img/box01_bullet.gif' align=absmiddle>
<?

//날짜표시


echo "<a href='{$list[$i]['href']}'>";
if ($list[$i]['is_notice'])
echo "<font style='font-family:돋움; font-size:9pt; color:#2C88B9;'>[{$latest_date}]&nbsp;<strong>{$list[$i]['subject']}</strong></font>";
else
echo "<font style='font-family:돋움; font-size:9pt; color:#6A6A6A;'>[{$latest_date}]&nbsp;{$list[$i]['subject']}</font>";
echo "</a>";

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'];
echo " " . $list[$i]['icon_file'];
echo " " . $list[$i]['icon_link'];
echo " " . $list[$i]['icon_hot'];
echo " " . $list[$i]['icon_secret'];
?></td></tr>
<tr><td height="1" background="<?=$latest_skin_path?>/img/box01_dot.gif"></td></tr>
<!-- <tr><td bgcolor=#EBEBEB height=1></td></tr> -->
</table></td>
</tr>
<? } ?>

<? if (count($list) == 0) { ?><tr><td colspan=4 align=left height=66><font color=#6A6A6A>게시물이 없습니다.</a></td></tr><? } ?>

</table>

</td>
<td></td>
</tr>
<tr>
<td width="5" height="5"><img src="<?=$latest_skin_path?>/img/f5f5f5_box_bl.gif" width="5" height="5"></td>
<td></td>
<td width="5" height="5"><img src="<?=$latest_skin_path?>/img/f5f5f5_box_br.gif" width="5" height="5"></td>
</tr>
</table></td>
</tr>
</table></td>
<td background="<?=$latest_skin_path?>/img/box01_right.gif"></td>
</tr>
<tr>
<td width="5" height="5"><img src="<?=$latest_skin_path?>/img/box01_bl.gif" width="5" height="5"></td>
<td background="<?=$latest_skin_path?>/img/box01_bottom.gif"></td>
<td width="5" height="5"><img src="<?=$latest_skin_path?>/img/box01_br.gif" width="5" height="5"></td>
</tr>
</table>
|

댓글 6개

{$list[$i]['comment_cnt']}

이넘이 아마 /lib/common.lib.php 파일에 정의 되어있지 않나 싶습니다.
{$list[$i]['wr_comment']} 라고 고쳐보심이.
if ($list[$i]['is_notice'])
echo "<font style='font-family:돋움; font-size:9pt; color:#2C88B9;'>[{$latest_date}]&nbsp;<strong>{$list[$i]['subject']}</strong></font>";
else
echo "<font style='font-family:돋움; font-size:9pt; color:#6A6A6A;'>[{$latest_date}]&nbsp;{$list[$i]['subject']}</font>";
echo "</a>";

요런 부분을

if ($list[$i]['is_notice'])
echo "<font style='font-family:돋움; font-size:9pt; color:#2C88B9;'>{$latest_date}&nbsp;<strong>{$list[$i]['subject']}</strong></font>";
else
echo "<font style='font-family:돋움; font-size:9pt; color:#6A6A6A;'>{$latest_date}&nbsp;{$list[$i]['subject']}</font>";
echo "</a>";

요렇게...
>[{$latest_date}]& 이부분을

>{$latest_date}& 이렇게 빼시면 됨
감사드립니다.
지윤지영님이 하라는데로 했더니 잘&#46124;어요..너무감사해요.
댓글을 작성하시려면 로그인이 필요합니다. 로그인

그누4 질문답변

그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기 기존 게시물은 열람만 가능합니다.

+
제목 글쓴이 날짜 조회
17년 전 조회 1,517
17년 전 조회 1,514
17년 전 조회 1,559
17년 전 조회 1,495
17년 전 조회 1,506
17년 전 조회 1,513
17년 전 조회 1,509
17년 전 조회 1,405
17년 전 조회 1,257
17년 전 조회 959
17년 전 조회 1,080
17년 전 조회 1,150
17년 전 조회 1,513
17년 전 조회 1,503
17년 전 조회 1,576
17년 전 조회 1,519
17년 전 조회 1,296
17년 전 조회 1,433
17년 전 조회 1,571
17년 전 조회 1,592
🐛 버그신고