최근게시물 글옆에 날짜표시 > 그누4 질문답변

그누4 질문답변

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

최근게시물 글옆에 날짜표시 정보

최근게시물 글옆에 날짜표시

본문

수고하십니다.글옆에 날짜를 나오게 하려고 하는데 방법좀 답변주시면 감사하겠습니다.
아래 최근게시물 소스입니다.

<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<link rel="stylesheet" type="text/css" href="<?=$latest_skin_path?>/ez_basic.latest.skin.css"  />

<div class="ez_basic_latest_box">
<table width="80%" border="0" cellpadding="0" cellspacing="0">
<tr>
    <td height="5" colspan="4"></td>
</tr>
<tr>
    <td width=14>&nbsp;</td>
    <td width='100%'><img src='<?=$latest_skin_path?>/img/picons09.png' border=0 align="absmiddle">&nbsp;<strong><?=$board[bo_subject]?></a></strong></td>
    <td width=37><a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>'><img src='<?=$latest_skin_path?>/img/btn_more.gif' border=0></a></td>
    <td width=14><?=$list[$i][datetime]?></td>
</tr>
<tr>
    <td height="5" colspan="4"></td>
</tr>
<tr>
    <td height="1" colspan="4">
<div style="border-top:1px solid #ccc; padding:0px; margin:0 5px;"></div>
</td>
</tr>
<tr>
    <td height="5" colspan="4"></td>
</tr>
</table>

<ul>
<? for ($i=0; $i<count($list); $i++) { ?>
<li>
<?
echo $list[$i]['icon_reply'] . " ";
echo "<a href='{$list[$i]['href']}'>";
if ($list[$i]['is_notice'])
echo "{$list[$i]['subject']}";
else
echo "{$list[$i]['subject']}";
echo "</a>";

if ($list[$i]['comment_cnt'])
echo " <a href=\"{$list[$i]['comment_href']}\" id='cmt'>{$list[$i]['comment_cnt']}</a>";
echo " " . $list[$i][icon_new];
?>
</li>

<? } ?>
</ul>


<?

 if (count($list) == 0) {
for($i=0; $i < $rows; $i++) {

echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'><tr><td colspan=3 align=center height=25>자료가 없습니다.</td></tr></table>";

}
  }
?>
</div>

댓글 전체

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

회원로그인

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