메인에 최근게시물 > 그누4 질문답변

그누4 질문답변

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

메인에 최근게시물 정보

메인에 최근게시물

본문

제가 메인에 최근게시물은 조금 변형해서 올렸는뎅..
에라나옵니다..
게시물 노출은 되는데..최근글 위에
 
Warning: Cannot modify header information - headers already sent by (output started at /home/user/newdy/public_html/main.html:6) in /home/user/newdy/public_html/lib/common.lib.php on line 109
 
 
 
 
 
lib/common.lib.php on line 109번째줄의 내용은
 
 setcookie(md5($cookie_name), base64_encode($value), $g4[server_time] + $expire, '/', $g4[cookie_domain]);
 
되어 있습니다.
 
 
이렇게 나옵니다..
어떻게 해야하는지 좀 알려주셔요~~~ㅡㅡ;;
  • 복사

댓글 전체

109라인에 문제가 있다고 표시되도 실제로는 다른 라인에 문제가 있는 경우도 많습니다. 에러메세지로 보아서는 head가 중복 호출된 것 같습니다. main.html을 올려봐주시는 것이 빠를 듯...main.html:6
말씀하신 메인main.html 내용입니다..
에라는 계속나오고 다른 페이지 이동했다가 다시 메인으로 가면 그런 현상 없어집니다..ㅡㅡ;;
어떻게 해야하는지..지발 좀 알려주셔요~~~~!!


<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
<title>:: 뉴대양관광전세에 오신것을 환영합니다. ::</title>
<link href="http://newdy.co.kr/script/style.css" rel="stylesheet" type="text/css">
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
  if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
<style type="text/css">
<!--
body {
background-image: url(swf/bg_mainall.gif);
background-color: #FBF8EF;
}
img {border:0}
-->
</style>
</head>
<body leftmargin="0" topmargin="0" style="background-repeat:repeat-x;">
<table width="1000" border="0" cellspacing="0" cellpadding="0">
  <tr valign="top" background="swf/bg_main.gif">
    <td height="370" colspan="4" background="swf/bg_main.gif"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="950" height="240">
        <param name="movie" value="swf/main_top.swf">
        <param name="quality" value="high">
        <param name="wmode" value="transparent">
        <embed src="swf/main_top.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="950" height="240"></embed></object></td>
  </tr>
  <tr>
    <td width="175" valign="top" background="images/main_body_s1.gif"><img src="images/main_box.gif" width="175" height="374" border="0" usemap="#Map"></td>
    <td width="563" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
        <tr>
          <td><img src="images/main_title01.gif" width="563" height="57" border="0" usemap="#Map4"></td>
        </tr>
        <tr>
          <td height="200" align="center" valign="top">
            <!-- 예약현황 -->
            <?
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php"); // latest() 함수를 사용하여야 하므로 이 프로그램을 포함시킵니다.

echo latest("latest_cat_img", "info03", 20,30,15,10,10);// basic 스킨으로 free 라는 게시판을 출력합니다.
?>
          </td>
        </tr>
        <tr>
          <td align="center" valign="top"><table width="550" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="275" height="22" align="right" background="images/title_notice.gif"><a href="http://newdy.co.kr/bbs/board.php?bo_table=commu01"><img src="images/more.gif" width="40" height="10" border="0" OnFocus="this.blur()"></a>&nbsp;&nbsp;&nbsp;</td>
                <td width="275" height="22" align="right" background="images/title_consult.gif"><a href="http://newdy.co.kr/bbs/board.php?bo_table=commu04"><img src="images/more.gif" width="40" height="10" border="0" OnFocus="this.blur()"></a>&nbsp;&nbsp;&nbsp;</td>
              </tr>
              <tr>
                <td height="100" valign="top">
                  <!-- 공지사항 -->
                  <?
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php"); // latest() 함수를 사용하여야 하므로 이 프로그램을 포함시킵니다.

echo latest("basic_tap", "commu01", 4, 20); // basic 스킨으로 free 라는 게시판을 출력합니다.
?><?=latest('popup_latest',commu01,1); ?>
                </td>
                <td valign="top">
                  <!-- 질문과답변 -->
                  <?
include_once("_common.php");
include_once("$g4[path]/lib/latest.lib.php"); // latest() 함수를 사용하여야 하므로 이 프로그램을 포함시킵니다.

echo latest("basic_tap", "commu04", 4, 20); // basic 스킨으로 free 라는 게시판을 출력합니다.
?>
                </td>
              </tr>
            </table></td>
        </tr>
        <tr>
          <td><img src="images/main_box1.gif" width="545" height="62" border="0" usemap="#Map3"></td>
        </tr>
      </table></td>
    <td width="177" valign="top" background="images/main_dm_s.gif"><table width="177" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td><img src="images/main_img01.gif" width="177" height="37"></td>
        </tr>
        <tr>
          <td align="center">
            <?=latest('calendar','schedule'); //스케줄 ?>
          </td>
        </tr>
        <tr>
          <td align="center" valign="top"><?=latest("img_text", "model", 1,20);?> </td>
        </tr>
      </table></td>
    <td width="85" valign="top" background="images/main_body_s2.gif"> <img src="images/main_img02.gif" width="85" height="43">
      <div id="Layer1" style="position:absolute; left:0px; top:0px; width:39px; height:24px; z-index:1"><a name="top"></a></div>
      <div id="divMenu" style="position:absolute; left:922px; top:404px; width:74px; height:292px; z-index:1"><img src="/images/quick.gif" width="77" height="307" border="0" usemap="#Map2">
        <map name="Map2">
          <area shape="rect" coords="13,70,65,106" href="http://newdy.co.kr/bbs/write.php?bo_table=info02" onFocus="this.blur()">
          <area shape="rect" coords="12,125,66,162" href="http://newdy.co.kr/bbs/write.php?bo_table=info03" onFocus="this.blur()">
          <area shape="rect" coords="18,289,64,307" href="#top" onFocus="this.blur()">
          <area shape="rect" coords="13,187,68,224" href="http://www.roadplus.com/roadplus/trafficstate/trafficHighway.jsp" target="_blank" onFocus="this.blur()">
          <area shape="rect" coords="15,244,68,281" href="http://newdy.co.kr/bbs/board.php?bo_table=commu04" onFocus="this.blur()">
          <area shape="rect" coords="12,23,65,50" href="http://newdy.co.kr/admin.php" onFocus="this.blur()">
        </map>
      </div></td>
  </tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td background="images/cop_bg.gif"><img src="images/cop.gif" width="1006" height="81"></td>
  </tr>
</table>
<map name="Map">
  <area shape="circle" coords="145,255,21" href="mailto:*** 개인정보보호를 위한 이메일주소 노출방지 ***" target="_blank"  OnFocus="this.blur()">
  <area shape="circle" coords="106,341,21" href="http://newdy.co.kr/bbs/board.php?bo_table=about05&wr_id=1"  OnFocus="this.blur()">
  <area shape="circle" coords="133,24,19" href="http://newdy.co.kr/bbs/write.php?bo_table=info01" OnFocus="this.blur()">
</map>
<map name="Map3">
  <area shape="rect" coords="55,16,164,46" href="http://www.roadplus.com/roadplus/trafficstate/trafficHighway.jsp" target="_blank"  OnFocus="this.blur()">
  <area shape="rect" coords="240,16,347,46" href="http://www.roadplus.com/roadplus/highway/weather.jsp" target="_blank"  OnFocus="this.blur()">
  <area shape="rect" coords="435,15,538,45" href="http://newdy.co.kr/bbs/board.php?bo_table=commu04"  OnFocus="this.blur()">
</map>
<map name="Map4">
  <area shape="rect" coords="504,27,552,47" href="http://newdy.co.kr/bbs/board.php?bo_table=info03" OnFocus="this.blur()">
</map>
</body>
</html>
© SIRSOFT
현재 페이지 제일 처음으로