메인페이지에 최신글 리스트 보이게 하는법 정보
메인페이지에 최신글 리스트 보이게 하는법본문
오류가 나는곳의 주소를 알려주시면 더 빠르고 정확하게 답변 받을 수 있습니다.
오류 주소 : sj-ad.net/test
위 경로로 접속하시면.
보이시는 제일 오른쪽
공지사항 이라고 출력이 되는데요.
그런부분 없이.
그냥
글과 글 올라온 날짜만 나오게 하고싶은데.
어찌 해야할까요?
부탁드려요.
오류 주소 : sj-ad.net/test
위 경로로 접속하시면.
보이시는 제일 오른쪽
공지사항 이라고 출력이 되는데요.
그런부분 없이.
그냥
글과 글 올라온 날짜만 나오게 하고싶은데.
어찌 해야할까요?
부탁드려요.
댓글 전체
그누보드 디렉터리에서 skin 폴더 들어가시면 latest 폴더 있습니다. 보니까 basic 스킨 쓰시는 것 같네요. latest폴더에 basic폴더 들어가셔서 latest.skin.php 수정하시면 됩니다.
상단에 이 부분 다 지우시구요.
<table width=100% cellpadding=0 cellspacing=0>
<tr>
<td width=14><img src='<?=$latest_skin_path?>/img/latest_t01.gif'></td>
<td width='100%' 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 width=37 background='<?=$latest_skin_path?>/img/bg_latest.gif'><a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>'><img src='<?=$latest_skin_path?>/img/more.gif' border=0></a></td>
<td width=14><img src='<?=$latest_skin_path?>/img/latest_t02.gif'></td>
</tr>
</table>
글 올라온 날짜는
<?=date("Y.m.d", strtotime($list[$i][wr_datetime]))?>
이걸 날짜 출력되기를 원하시는 부분에 넣으시면 됩니다.
상단에 이 부분 다 지우시구요.
<table width=100% cellpadding=0 cellspacing=0>
<tr>
<td width=14><img src='<?=$latest_skin_path?>/img/latest_t01.gif'></td>
<td width='100%' 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 width=37 background='<?=$latest_skin_path?>/img/bg_latest.gif'><a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>'><img src='<?=$latest_skin_path?>/img/more.gif' border=0></a></td>
<td width=14><img src='<?=$latest_skin_path?>/img/latest_t02.gif'></td>
</tr>
</table>
글 올라온 날짜는
<?=date("Y.m.d", strtotime($list[$i][wr_datetime]))?>
이걸 날짜 출력되기를 원하시는 부분에 넣으시면 됩니다.
고맙습니다. ^^