최근 게시에서 무조건 리스트로 가기 정보
최근 게시에서 무조건 리스트로 가기
본문
최근 게시물에서 어떤 걸 눌러도 무조건 리스트( list.skin.php )로 가게하고싶은데.
<a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>'>
아래 너무복잡해서 모르겠습니다. 몇시간째하고있는데. 위소스를
어디 넣어야할지 감이 안옵니다,.
답변 부탁드립다.
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<!-- 최신글 목록 -->
<? for ($i=0; $i<count($list); $i++) { ?>
<tr>
<td colspan=4 align=center>
<table width=100% border="0">
<tr>
<td height=15><img src='<?=$latest_skin_path?>/img/box01_bullet.gif' align=absmiddle>
<?
<? for ($i=0; $i<count($list); $i++) { ?>
<tr>
<td colspan=4 align=center>
<table width=100% border="0">
<tr>
<td height=15><img src='<?=$latest_skin_path?>/img/box01_bullet.gif' align=absmiddle>
<?
//날짜표시
$date1 = substr($list[$i][datetime],0,10); //날짜표시형식변경
$date = explode("-", $date1);
$year = $date[0];
$month = $date[1];
$day = $date[2];
$latest_date = $month."/".$day."";
$date1 = substr($list[$i][datetime],0,10); //날짜표시형식변경
$date = explode("-", $date1);
$year = $date[0];
$month = $date[1];
$day = $date[2];
$latest_date = $month."/".$day."";
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:#2C88B9;'>[{$latest_date}] <strong>{$list[$i]['subject']}</strong></font>";
else
echo "<font style='font-family:돋움; font-size:9pt; color:#6A6A6A;'>[{$latest_date}] {$list[$i]['subject']}</font>";
echo "</a>";
echo "<a href='{$list[$i]['href']}'>";
if ($list[$i]['is_notice'])
echo "<font style='font-family:돋움; font-size:9pt; color:#2C88B9;'>[{$latest_date}] <strong>{$list[$i]['subject']}</strong></font>";
else
echo "<font style='font-family:돋움; font-size:9pt; color:#6A6A6A;'>[{$latest_date}] {$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>";
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']}]"; }
//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>
<? } ?>
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=center height=66><font color=#6A6A6A>게시물이 없습니다.</a></td></tr><? } ?>
</table>
댓글 전체
<? for ($i=0; $i<count($list); $i++) { ?>
=>>
<? for ($i=0; $i<count($list); $i++) {
$list[$i]['href'] = "$g4[bbs_path]/board.php?bo_table=$bo_table";
?>
=>>
<? for ($i=0; $i<count($list); $i++) {
$list[$i]['href'] = "$g4[bbs_path]/board.php?bo_table=$bo_table";
?>