최근게시물 [] <-- 요거 없애려고 하는데요. > 그누4 질문답변

그누4 질문답변

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

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

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

본문

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

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

소스는 아래와같아요.

<?
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>

댓글 전체

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>";

요렇게...
전체 66,554 |RSS
그누4 질문답변 내용 검색

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1402호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT