테스트 사이트 - 개발 중인 베타 버전입니다

최신글 링크경로 변경 방법좀 알려주세요.

· 13년 전 · 1530 · 4
고수님들, 제발 도와주세요 ㅠ
게시판 페이지는 아이프레임을 써서 세팅하고, 최신글을 메인페이지에 불러오는 것까지는 됐어요.
근데 최신글을 클릭하면 제가 만든 게시판페이지(예:2.html)로 가는게 아니라 클릭한 그누보드의 게시판만 뜨는 페이지로 이동해 버려요. (이래서야 홈피라고 할수가 없잖아요..)
이거 링크변경을 어디서 하면 되나요???

latest.skin.php 코드를 손대야 하나요?
아래 첨부하오니 어디를 고치면 되는지 좀 알려주세요. 부탁드려요~~
해결이 안돼 주일에도 일하고 있습니다. ㅠㅠㅠㅠ

<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>

<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'>&nbsp;&nbsp;<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>

<table width=100% cellpadding=0 cellspacing=0>
<? for ($i=0; $i<count($list); $i++) { ?>
<tr>
<td colspan=4 align=center>
<table width=95%>
<tr>
<td height=25><img src='<?=$latest_skin_path?>/img/latest_icon.gif' align=absmiddle>&nbsp;&nbsp;
<?
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;'><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>
<tr><td bgcolor=#EBEBEB height=1></td></tr>
</table></td>
</tr>
<? } ?>

<? if (count($list) == 0) { ?><tr><td colspan=4 align=center height=50><font color=#6A6A6A>게시물이 없습니다.</a></td></tr><? } ?>

</table>

댓글 작성

댓글을 작성하시려면 로그인이 필요합니다.

로그인하기

댓글 4개

13년 전
common.php 나 common.lib.php 손보셔야되요.
이해가 조금 안되는데요.
이를테면 생성한 게시판만 뜬다는 뜻 아닌가요?
즉 head.php와 tail.php가 포함된 페이지가 아니라 생성된 게시판만 뜬다는 뜻 같은 생각이 드는데 말이죠.
만약 이와 같이 말이 맞는다면 생성하신 게시판의 설정부분에 보시면 head.php와 tail.php 설정하는 부분이 있는데 그 부분에 만들어 놓으신 head.php와 tail.php를 설정하시면 될 것 같은데요.
아 저도 잘못 이해하였을 수도 있죠 ㅎㅎ
하여튼 잘 만드시길 ...
아뇨..이번에는 head와 tail 부분을 만들지 않았어요.
게시판이 여러개인데 공통된 head와 tail부분을 적용할수가 없어서요...
제 이야기는...게시판 페이지는 상단부, 좌측메뉴등을 갖춘 홈페이지의 모습에서 아이프레임으로 게시판 세팅이 되었는데, 메인에서 최신글을 클릭하면 제 홈피가 뜨는게 아니라 그누보드의 게시판 글만 떠서요...이걸 홈피로 어떻게 링크 변경하면 되는지 모르겠어요 ㅠ
같은 질문을 뉘오타겟이란 닉넴으로 예전에 하지않았나요?
거기에 답변했는데 어떻게 안 되는 것인지 답변이 없으니 질문을 잘못 이해한 것인지....

게시글 목록

번호 제목
284508
284499
284492
284490
284484
284481
284478
284476
284474
284472
284470
284458
284457
284454
284453
284447
284446
284444
284441
284440