아이프레임 문제 때문에요 > 그누4 질문답변

그누4 질문답변

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

아이프레임 문제 때문에요 정보

아이프레임 문제 때문에요

본문

아이프레임을 이용해서 게시판과 최신글을 달았는데요
 
이게 최신글 클릭할경우 게시판으로 들어가지면서 내용이 표시되어야 하는데
 
이게 쉽게 안되네요 일단 소스 보여드릴께요
 
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<script language="JavaScript">
  function shop_make(URL)
  { 
    parent.news.location=URL;
  }
</script>
<table width=100% cellpadding=0 cellspacing=0>
<colgroup width=14>
<colgroup>
<colgroup width=37>
<colgroup width=14>
  <tr>
    <td width="54"><img src="<?=$latest_skin_path?>/img/notic.gif" width="83" height="24"></td>
      <td width="171" background="<?=$latest_skin_path?>/img/board_bg.gif"><div align="right"><a href='http://soydesign.co.kr/메인7-3.htm' target="1"><align="right"><img src="<?=$latest_skin_path?>/img/board_more.gif" width="38" height="13" border="0"></a></div></td>
  </tr>
<? for ($i=0; $i<count($list); $i++) { ?>
<tr>
    <td colspan=4 align=center>
        <table width=95%>
        <tr>
            <td height=20><img src='<?=$latest_skin_path?>/img/latest_icon.gif' align=absmiddle>
   
            <?
             echo $list[$i]['icon_reply'] . " ";
             echo "<a href='http://soydesign.co.kr/메인7-3.htm'  ('{$list[$i]['href']}')\" target='_parent'>";
echo  $view[content];
 
   
            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:9pt; 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>
 
 
 
 
 
 
소스는 이렇구요.
 
메인화면에 최신글 클릭시
 
다른 페이지로 넘어가면서(게시판 있는 페이지)
 
로 넘어가면서 내용이 표시 되겠죠
 
어디서 보니깐 view 를 통해서 해결 하셨다는분이 있는데
 
어떻게 이용하는지 모르겠더라구요
 
좀 도와주세요 졸작이 앞으로 20일 앞이에요.;

댓글 전체

전체 66,554 |RSS
그누4 질문답변 내용 검색

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1402호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT