최신글에서 이름 출력시 에러..

링크에서처럼 최신글에서 이름을 표시하기 위해 <?=$list[$i][name]?> 문구만 넣으면 브라우저 상태줄에 에러 표시가 납니다.

저렇게만 넣고, 링크는 안걸었는데도 해당 이름에 마우스를 대면 마우스가 손 모양으로 변하구요.
클릭하면 에러표시가 납니다.
우측의 날짜처럼 마우스가 아예 변하지 않아야 하는거 아닌가요? 링크 안걸었거던요.
그냥 저렇게만 넣었는데...

왜그럴까요?
아시는분 계시면 조언좀 해주세요...
|

댓글 6개

2005.04.22(nasca)님 말씀대로 하니까 에러 안뜨네요. 감사합니다.
카이루님도 감사드립니다.

좋은 주말 되세요~
이거 해결해서 저도 편하게 주말 쉬겠네요. ^^
1.php 소스파일에서
include "./config.php";
다음줄에 layer를 추가시켜 주세요.

include "./bbs/gblayer.php";
latest.skin.php
---------------------------------
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>

<table width=100% cellpadding=0 cellspacing=0 align=center border=0>

<tr>
<td height=36 background='<?=$latest_skin?>/mainbar-free.gif' align=right><a href='<?="./free.html"?>'><img src='<?=$latest_skin?>/icon_more.gif' border=0 align=absmiddle></a>&nbsp;</td>
</tr>
<tr>
<td>
<table width=100% bgcolor=#FFFFFF cellpadding=0 cellspacing=0 border=0>

<? for ($i=0; $i<count($list); $i++) { ?>
<? if ($i) { echo "<tr><td colspan=2 height=1></td></tr>"; } ?>
<tr>
<td width=20 align=right><img src='<?=$latest_skin?>/icon_li.gif'>&nbsp;</td>
<td width='' height=20><a href='<?="./?doc=bbs/gnuboard.php&bo_table=$bo_table&wr_id={$list[$i][wr_id]}"?>'><span class=content><?=$list[$i][subject]?> <span style='font-size:8pt;'><?=$list[$i][commentcnt]?></span></span></a> <?=$list[$i][icon_new]?></td>
<td width=80 height=21 align=left><?=$list[$i][name]?></td>
<td width=60 height=21 align=center><?=$list[$i][date]?>&nbsp;&nbsp;</td>
</tr>
<? } ?>

<? if (count($list) == 0) { echo "<tr><td colspan=2 align=center height=50>자료가 없습니다.</td></tr>"; } ?>

</table>
</td>
</tr>
</table>
1.php
----------------------
<?PHP
// 이 상수가 정의되지 않으면 각각의 개별 페이지는 별도로 실행될 수 없음
define("_GNUBOARD_", TRUE);

// gnu3 디렉토리에 설치 되어있다고 가정
include './config.php';

// gnu3 디렉토리 내의 lib 디렉토리를 지정
$tmp = dir("./lib");

while ($entry = $tmp->read()) {
// 3.24 수정
if ($entry{0} == ".") continue; // 첫문자가 "."이면 무시한다
include "./lib/" . $entry;
}

// DB연결을 위해 dbconfig.php를 인클루드 시킴
include "./dbconfig.php";

// DB연결자
$connect = @mysql_connect($cfg[mysql_host], $cfg[mysql_user], $cfg[mysql_pass]);
$select_db = @mysql_select_db($cfg[mysql_db], $connect);

?>



<?latest('mainfree', 'free', 5, 48); ?>
http://www.horseriding.co.kr/gnu3/?doc=1.php
그누보드는 ?doc=1.php 이런식으로 작동하는데 조금 요상하네요 ^^;;;;
소스를 공개하시는게 좋을듯 싶은데요

<SPAN onmousedown="gblayeraction(event, 'gblayer2', 'visible')" style="CURSOR: hand">남양주승마</SPAN>
html 소스를 보면 이런식으로 나오니깐요....
댓글을 작성하시려면 로그인이 필요합니다. 로그인

그누3질답

+
제목 글쓴이 날짜 조회
20년 전 조회 1,053
20년 전 조회 892
20년 전 조회 900
20년 전 조회 734
20년 전 조회 921
20년 전 조회 1만
20년 전 조회 866
20년 전 조회 968
20년 전 조회 807
20년 전 조회 848
20년 전 조회 871
20년 전 조회 1,708
20년 전 조회 934
20년 전 조회 917
20년 전 조회 1,079
20년 전 조회 1,019
20년 전 조회 912
20년 전 조회 966
20년 전 조회 777
20년 전 조회 927
🐛 버그신고