최근게시물에 날짜 나오게 하고싶어요. 정보
최근게시물에 날짜 나오게 하고싶어요.본문
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<table width=100% cellpadding=0 cellspacing=0>
<tr>
<td><a href="<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>"><img src='<?=$latest_skin_path?>/img/latest_t01.jpg' border="0"></a> </td>
</tr>
</table>
<table width=100% cellpadding=0 cellspacing=0>
<? for ($i=0; $i<count($list); $i++) { ?>
<tr>
<td colspan=4 align=left style="padding-left:10">
<table width=94%>
<tr>
<td height=17>
<?
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:#6a6a6a;'><strong>{$list[$i]['subject']}</strong></font>";
else
echo "<font style='font-family:돋움; font-size:9pt; color:#6A6A6A;'>{$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>
</table></td>
</tr>
<? } ?>
<? if (count($list) == 0) { ?><tr><td colspan=4 align=center height=50><font color=#6A6A6A>게시물이 없습니다.</a></td></tr><? } ?>
</table>
위 코드를 어떻게 수정하면될까요?
년월일 다 나오게하려면.....??
댓글 전체
<td width='5'></td>
latest 폴더에 basic 스킨을 써보세요.
basic 스킨에 <?=$list[$i][datetime2]?> 로 되어 있구요.. <?=$list[$i][datetime]?> 게 사용하시면 년월일 다나와요.