방명록을 최신글로 뽑았는데 목록 클릭시 내용이 안나옵니다 정보
방명록을 최신글로 뽑았는데 목록 클릭시 내용이 안나옵니다본문
오류가 나는곳의 주소를 알려주시면 더 빠르고 정확하게 답변 받을 수 있습니다.
오류 주소 : http://kebsob.com
위페이지 좌측에 방명록(하늘색바탕)을 최신글로 뽑아 놨는데 목록의 이름을 클릭하면 해당글이
나오지가 않네요(빈페이지만...) 고수님들 꼭 답변 부탁합니다.
참고로 최신글스킨 소스 올립니다
latest.php
--------------------------------------------------------------------------------------------------------------------------------------
<style type="text/css">
<!--
img {border:0}
-->
</style><?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<!-- 공지사항 시작 -->
<table width="200" height="162" border="0" cellpadding="0" cellspacing="0">
<tr>
<td colspan="3"><a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>'><img src="<?=$latest_skin_path?>/img/notice_01.gif" width="200" height="34"></a></td>
</tr>
<tr>
<td><img src="<?=$latest_skin_path?>/img/notice_02.gif" width="9" height="113"></td>
<td background="<?=$latest_skin_path?>/img/notice_03.gif" width="182" height="113">
<table border="0" cellpadding="0" cellspacing="0" width="182" valign="top">
<tr><td height=4></td></tr>
<? for ($i=0; $i<count($list); $i++) { ?>
<tr>
<td width="14" height=18 align='center' valign='middle'><img src='<?=$latest_skin_path?>/img/top.gif' border=0></td>
<td width="168" height=18>
<?
echo $list[$i][icon_reply] . " ";
// 팝업창으로 내용 보기 echo "<a href=\"javascript:popup_window('$g4[bbs_path]/board.php?bo_table=$board[bo_table]&wr_id={$list[$i][wr_id]}','winBoard','left=30, top=30, width=700, height=500, scrollbars=yes,resizable=no')\">";
echo "<a href='{$list[$i][href]}'>";
if ($list[$i][is_notice])
echo "<font style='date' color='#ffffff'><strong>{$list[$i][name]}</strong></font>";
else
echo "<font style='date' color='#ffffff'>{$list[$i][name]}</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>
<? } ?>
<? if (count($list) == 0) { echo "<tr><td align=center valign=middle>등록된 내용이 없습니다.</td></tr>"; } ?>
</table>
</td>
<td><img src="<?=$latest_skin_path?>/img/notice_04.gif" width="9" height="113"></td>
</tr>
<tr>
<td colspan="3"><img src="<?=$latest_skin_path?>/img/notice_05.gif" width="200" height="15"></td>
</tr>
</table>
<!-- 공지사항 끝 -->
--------------------------------------------------------------------------------------------------------------------------------------
오류 주소 : http://kebsob.com
위페이지 좌측에 방명록(하늘색바탕)을 최신글로 뽑아 놨는데 목록의 이름을 클릭하면 해당글이
나오지가 않네요(빈페이지만...) 고수님들 꼭 답변 부탁합니다.
참고로 최신글스킨 소스 올립니다
latest.php
--------------------------------------------------------------------------------------------------------------------------------------
<style type="text/css">
<!--
img {border:0}
-->
</style><?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<!-- 공지사항 시작 -->
<table width="200" height="162" border="0" cellpadding="0" cellspacing="0">
<tr>
<td colspan="3"><a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>'><img src="<?=$latest_skin_path?>/img/notice_01.gif" width="200" height="34"></a></td>
</tr>
<tr>
<td><img src="<?=$latest_skin_path?>/img/notice_02.gif" width="9" height="113"></td>
<td background="<?=$latest_skin_path?>/img/notice_03.gif" width="182" height="113">
<table border="0" cellpadding="0" cellspacing="0" width="182" valign="top">
<tr><td height=4></td></tr>
<? for ($i=0; $i<count($list); $i++) { ?>
<tr>
<td width="14" height=18 align='center' valign='middle'><img src='<?=$latest_skin_path?>/img/top.gif' border=0></td>
<td width="168" height=18>
<?
echo $list[$i][icon_reply] . " ";
// 팝업창으로 내용 보기 echo "<a href=\"javascript:popup_window('$g4[bbs_path]/board.php?bo_table=$board[bo_table]&wr_id={$list[$i][wr_id]}','winBoard','left=30, top=30, width=700, height=500, scrollbars=yes,resizable=no')\">";
echo "<a href='{$list[$i][href]}'>";
if ($list[$i][is_notice])
echo "<font style='date' color='#ffffff'><strong>{$list[$i][name]}</strong></font>";
else
echo "<font style='date' color='#ffffff'>{$list[$i][name]}</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>
<? } ?>
<? if (count($list) == 0) { echo "<tr><td align=center valign=middle>등록된 내용이 없습니다.</td></tr>"; } ?>
</table>
</td>
<td><img src="<?=$latest_skin_path?>/img/notice_04.gif" width="9" height="113"></td>
</tr>
<tr>
<td colspan="3"><img src="<?=$latest_skin_path?>/img/notice_05.gif" width="200" height="15"></td>
</tr>
</table>
<!-- 공지사항 끝 -->
--------------------------------------------------------------------------------------------------------------------------------------
댓글 전체

http://kebsob.com/bbs/board.php?bo_table=visitors
방명록 스킨이라서 따로 view페이지가 존재하지 않습니다. list페이지만 있을 뿐이지요.
게시물 링크뒤에 "&wr_id=숫자"를 지워서 list.php로 바로 이동되게 하는게 좋을 것 같습니다.
방명록 스킨이라서 따로 view페이지가 존재하지 않습니다. list페이지만 있을 뿐이지요.
게시물 링크뒤에 "&wr_id=숫자"를 지워서 list.php로 바로 이동되게 하는게 좋을 것 같습니다.
그렇군요 감사합니다