최근게시물 팝업창 페이지오류 > 그누4 질문답변

그누4 질문답변

그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기
기존 게시물은 열람만 가능합니다.

최근게시물 팝업창 페이지오류 정보

최근게시물 팝업창 페이지오류

본문

<td width="3"></td><td><span style='color:#777777;font-weight:bold;'>ㆍ</span><a href="javascript:window.open(<?=$list[$i][href]?>,'win1', 'width=200,height=400')"> <span class="th8"><?if ($list[$i][is_notice])

이렇게하니까 페이지오류뜨는데 어디가잘못된건가여??
  • 복사

댓글 전체

우선 팝업창은 뜨네요 감사합니다 채택하구.. 하나 질문이있는데

<td width="3"></td><td><span style='color:#777777;font-weight:bold;'>ㆍ</span><a href="javascript:window.open('<?=$list[$i][href]?>','win1', 'width=600,height=700');"><span class="th8"><?if ($list[$i][is_notice])

이렇게바꾸면 최신글을 클릭하고 난 다음에 팝업창이뜨고나서 [object] 라고 써지면서

홈페이지가바뀌네요 뭐가 잘못됬나요??


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




<table align="center" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="3" background="<?=$latest_skin_path?>/img/latest_t_1.gif"></td>
<td background="<?=$latest_skin_path?>/img/latest_t_bg.gif">
<!--타이틀 시작: 실선 색상을 바꾸려면 215, 215, 215를 고치세요.-->
<table align="center" cellpadding="0" cellspacing="0" width="100%" border="0">
<tr height="30">
<td width="10"></td>
<td><a href='event.html'><font color="#57697c" ><b><?=$board[bo_subject]?></b></font></a></td>
<td width="40"><a href='event.html'><img src="<?=$latest_skin_path?>/img/more.gif" border="0"></a>
<td width="5"></td>
</tr>
</table>
<!--타이틀 끝-->
</td>
<td width="3" background="<?=$latest_skin_path?>/img/latest_t_2.gif"></td>
</tr>
<tr>
<td width="3" background="<?=$latest_skin_path?>/img/latest_m_1.gif"></td>
<td>
<table align="center" cellpadding="0" cellspacing="0" width="100%" border="0">
<? for ($i=0; $i<count($list); $i++) {?>
<tr>
<!--게시물 아래 점선 색상을 바꾸고 싶으시면 211,211,211부분을, 게시물 추출부분 세로 길이를 늘리시려면 25을 수정하세요-->
<td width="100%" height="23" valign=middle style="border-bottom-width:0px; border-bottom-color:rgb(211,211,211); border-bottom-style:dotted;">

<?
//날짜표시
$subject = $list[$i][subject];
$b_subject = "<strong>".$list[$i][subject]."<strong>";
?>
<table align="center" cellpadding="0" cellspacing="0" width="100%" height="100%" border="0">
<tr>
<td width="3"></td><td><span style='color:#777777;font-weight:bold;'>ㆍ</span><a href="javascript:window.open('<?=$list[$i][href]?>','win1', 'width=600,height=700');"><span class="th8"><?if ($list[$i][is_notice])

echo $b_subject;
else
echo $subject;
?></span></a>
<span style="font-size:7pt;font-family:tahoma;color:#EE5A00;vertical-align:1px;"><?=$list[$i][comment_cnt]?> <?
echo " " . $list[$i][icon_new];
echo " " . $list[$i][icon_hot];
echo " " . $list[$i][icon_file];
echo " " . $list[$i][icon_link];
echo " " . $list[$i][icon_secret];
?>
</span>
</td>
<td width="80" align="center"><?=$list[$i][name]?></td>
<td width="30" align="right"><span style='font:normal 11px tahoma; color:#BABABA;'><?=$list[$i][datetime2]?></span></td>
<td width='5'></td>
</tr>
</table>
<!--게시물 추출 글자 설정 끝-->
</td>
</tr>
<? } ?>
</table>
</td>
<td width="3" background="<?=$latest_skin_path?>/img/latest_m_2.gif"></td>
</tr>
<tr height="3">
<td width="3" background="<?=$latest_skin_path?>/img/latest_b_1.gif"></td>
<td background="<?=$latest_skin_path?>/img/latest_b_bg.gif"></td>
<td width="3" background="<?=$latest_skin_path?>/img/latest_b_2.gif"></td>
</tr>
</table>
© SIRSOFT
현재 페이지 제일 처음으로