묻고답하기

리뉴얼하는데 예전에 있던 게시판을 따올려고 합니다.(제로보드는 아니지만..)
게시판만 따와서 새로운 페이지에 삽입할 라면 어떻게 해야하는지요..
근대 제가 작업한게 아니고 php를 몰라서요..ㅠ.ㅜ
board.php가 문서이름이고 ?뒤에가 테이블 짠것이라는데..(그래서 어떻게 게시판을 따오는 것인지..)
부탁드려요..


http://주소/board/board.php3?table=consult&query=list&p=1

http://주소/board/board.php3?table=info&query=list&p=1


혹시나해서 board.php3파일을 올려봅니다..

<?
/******************************************************************************/

if ( !$table || !is_file("./board/table/$table/list.cgi") )
{
        $msg = "[ ERROR ]\n\n존재하지 않는 보드입니다.\n\n";
        include("./board/include/ERROR.php3");
        exit;
}
$MicroTsmp = split(" ",microtime());
$START_TIME = $MicroTsmp[0]+$MicroTsmp[1];

if ( $HTTP_COOKIE_VARS["hit_$table$l"] != "check" && $query == "view" ) :
setcookie("hit_$table$l", "check", 0, "/");
endif;

include ("./board/table/$table/var.php3");
include ("./board/table/$table/board_name.php3");
if ( $PERMISION != "NO" ) :
include ("./board/include/PERMISION.php3");
endif;
/******************************************************************************/
/******************************************************************************/

if($table=="info") {
        $leftimg = "sub3_menu011.gif";
        $topimg  = "sub3.swf";        
    $bottom  = "sub304_title1.gif";        
        $path    = "board/board.php3?table=info&query=list&p=1";
} else if($table =="consult") {
        $leftimg = "sub4_menu11.gif";
        $topimg  = "sub4.swf";
        $bottom  = "sub4_title1.gif";
        $path    = "board/board.php3?table=consult&query=list&p=1";

} else if($table =="free"){
        $leftimg = "sub5_menu11.gif";
        $topimg  = "sub5.swf";
    $bottom  = "sub5_title1.gif";
        $path    ="board/board.php3?table=free&query=list&p=1";
} else if($table == "notice"){
        $leftimg = "sub8_menu11.gif";
        $topimg  = "sub8.swf";
        $bottom  = "sub8_title1.gif";        
        $path    ="board/board.php3?table=notice&query=list&p=1";
} else if($table == "consult1") {
        $leftimg = "sub4_menu11.gif";
        $topimg  = "sub4.swf";
        $bottom  = "sub4_title1.gif";
        $path    = "board/board.php3?table=consult1&query=list&p=1";

}

$url = "http://gook119.co.kr/";
$severpath = "/web/gook/html/";
?>
<html>

<head>
<title>문서입니다.</title>

</head>
<body leftmargin=0 topmargin=0 marginwidth=0 marginheight=0 onload="setVariables(); checkLocation();">
<table border="0" cellpadding="0" cellspacing="1" width="778" height= "100%" bgcolor=#cccccc>
    <tr>
        <td width=778 align="top" valign="top" height=100%>
            <table border="0" cellpadding="0" cellspacing="0" width="776" height= "100%" bgcolor="white">
                <tr>
                    <td width="776" height=60><? include $severpath."top.inc"; ?></td>
                    <td></td>
</tr>
                <tr>                    
          <td width="776" height="121">
            <script language="javascript">
              function chg(name,img){
                 name.src = img;
               }
        </script>
            <p><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="776" height="121">
                <param name=movie value="<?=$url?>images/<?=$topimg?>">
                <param name=quality value=high>
                <embed src="<?=$url?>images/<?=$topimg?>" quality="high" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="776" height="121">
                </embed>
              </object></p>
                    </td>
                    <td></td>
                </tr>
                <tr>
                    <td width="768" valign="top">
                        <table border="0" bordercolor=red cellpadding="0" cellspacing="0" width="774" height=100%>
                            <tr>
                                <td width="155" bgcolor="#F4F4F4" valign="top">
                                    <p> </p>
                                                <a href="<?=$url?><?=$path?>" ><img src="<?=$url?>images/<?=$leftimg?>" border="0" name="q11" width="140" height="22"></a><br>
                                                                                <?if($table=="info"){?>
                                    <a href="<?=$url?>sub301.html" onmouseover="chg(q12,'<?=$url?>images/sub3_menu021.gif')" onmouseOut="chg(q12,'<?=$url?>images/sub3_menu02.gif')" onfocus=this.blur()><img src="<?=$url?>images/sub3_menu02.gif" border="0" name="q12" width="140" height="22"></a><br>
                                    <a href="<?=$url?>sub302.html" onmouseover="chg(q13,'<?=$url?>images/sub3_menu031.gif')" onmouseOut="chg(q13,'<?=$url?>images/sub3_menu03.gif')" onfocus=this.blur()><img src="<?=$url?>images/sub3_menu03.gif" border="0" name="q13" width="140" height="36"></a><br>
                                    <a href="<?=$url?>sub303.html" onmouseover="chg(q14,'<?=$url?>images/sub3_menu041.gif')" onmouseOut="chg(q14,'<?=$url?>images/sub3_menu04.gif'+ '+ ')" onfocus=this.blur()><img src="<?=$url?>images/sub3_menu04.gif" border="0" name="q14" width="140" height="38"></a><br><? } ?>
                                    <div id="branding" style="width:149px; height:127px; position:absolute; left:2px; top:323px; z-index:1;" p align="center"><img src="<?=$url?>images/sub_gook.gif" width="149" height="127" border="0"></p></div>
                                        
                                </td>
                                <td width="10"></td>
                                <td width="598" valign="top">
                                    <table border="0" cellpadding="0" cellspacing="0" width="600">
                                        <tr>
                                            <td width="600">
                                                <p><br><br></p>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td width="600">
                                                <p><img src="<?=$url?>images/<?=$bottom?>" width="598" height="28" border="0"></p>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td></td>
                                        </tr>
                                        <tr>
                                            <td width="600">
                                                <table border="0" cellpadding="0" cellspacing="0" width="590" height="350">
                                                    <tr>
                                                        <td width="26">
                                                        </td>
                                                        <td width="564" valign="top">
<?
if ( $INCLUDE_HTML != "checked" ) :
echo "<P ALIGN=$ALIGN>
<TABLE WIDTH='$BOARD_WIDTH' BORDER='0' CELLSPACING='0' CELLPADDING='0'>
<TR><TD align=center>";
else :
if ( is_file("./html/INC_HEADER.php3")) {
include ("./html/INC_HEADER.php3");
}
endif;
if ( $BOARD_TOP == "checked" ) :
include ("./board/include/BOARD_TOP.php3");
endif;
if (is_file("./board/table/$table/board_header.php3")) :
include ("./board/table/$table/board_header.php3");
endif;

if ( !$p ) { $p = 1; }
switch ( $query )
{
        case ( "list" ) :
        include ("./board/skin/$SKIN/list.php3");
        break;

        case ( "view" ) :
        include ("./board/skin/$SKIN/view.php3");
        break;

        case ( "write" ) :
        if ($ADMINONLY == "checked" ) {
                include ("./config/mkpass.php3");
                include ("./board/table/$table/board_pass.php3");
                if ($HTTP_COOKIE_VARS[ROOT_PASS] != $ROOT_PASS && $HTTP_COOKIE_VARS[BOARD_PASS] != $BOARD_PASS) {
                include ("./board/include/ADMIN_ONLY_WRITE.php3");
                }
                else {
                include ("./board/skin/$SKIN/write.php3");
                }
        }
        else {
        include ("./board/skin/$SKIN/write.php3");
        }
        break;

        case ( "multi" ) :
        include ("./board/skin/$SKIN/multi.php3");
        break;

        case ( "modify" ) :
        include ("./board/skin/$SKIN/write.php3");
        break;

        case ( "delete" ) :
        include ("./board/include/DELETE_FORM.php3");
        break;

        case ( "search" ) :
        include ("./board/skin/$SKIN/search.php3");
        break;

        case ( "sec_log" ) :
        include ("./board/include/SELOG_FORM.php3");
        break;

        case ( "member_log" ) :
        if ($ADMINONLY == "checked" ) {
                include ("./config/mkpass.php3");
                include ("./board/table/$table/board_pass.php3");
                if ($HTTP_COOKIE_VARS[ROOT_PASS] != $ROOT_PASS && $HTTP_COOKIE_VARS[BOARD_PASS] != $BOARD_PASS) {
                include ("./board/include/ADMIN_ONLY_WRITE.php3");
                }
                else {
                include ("./board/skin/$SKIN/write.php3");
                }
        }
        else {
        include ("./board/skin/$SKIN/write.php3");
        }
        break;

        case ( "msg_del" ) :
        include ("./board/include/OPINION_DEL_FORM.php3");
        break;

        default :
        include ("./board/skin/$SKIN/list.php3");
}
if (is_file("./board/table/$table/board_footer.php3")) :
include ("./board/table/$table/board_footer.php3");
endif;
if ( $INCLUDE_HTML != "checked" ) :
echo "</TD></TR></TABLE></DIV>";
else :
if ( is_file("./html/INC_FOOTER.php3")) {
include ("./html/INC_FOOTER.php3");
}
endif;
/******************************************************************************/
?>
                                                </td></tr></table>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td width="600"> </td>
                                        </tr>
                                    </table>
                                </td>
                                <td width="10" valign="top"> </td>
                            </tr>
                            <tr>
                                <td width="153" height= "10" bgcolor="#F4F4F4"> </td>
                                <td width="621" height= "10" colspan="3"></td>
                            </tr>
                        </table></td>
                    <td></td>
                </tr>
                <tr><td width="776" height=54>
                
                                <!-- ////////////////////// copyright ////////////////////////////-->
                                <? include $severpath."copy.inc"; ?>                            
                                <!-- ////////////////////// copyright ////////////////////////////-->
                  
                   </td>
                    <td></td>
</tr>
            </table></td></tr></table>
</body>

</html>
글쓴이 제목 최종 글
XE 공지 글 쓰기,삭제 운영방식 변경 공지 [16] 2019.03.05 by 남기남
mgkw0n 제로카운터에서 통계는 나오는데 오늘 방문자수 표시가...함 바주세요~^^ [2] 2007.08.10
김선경 게시판주소는 어떻게 알수 있나요?(꼭 부탁드려요..) [5] 2007.08.10
한일도 제발좀 도와주세요....(부탁드립니다...) [2] 2007.08.10
김태용 포트 80이 막혔다는데 다른 포트 설정은 어떻게 해야 되는지 알고 싶습니다. [2] 2007.08.10
지마니 제로보드 글쓰기란을 두개로 하고 싶은데..  
가이 질문이 3가지 있습니다. 급해요! 도와주세요! 질문 3가지요! 답변좀! [3] 2007.08.10
Asurada $id값에 따라 그림파일 이름 바꾸기??? [5] 2007.08.10
이상화 폰트들이 이상해요. [2] 2007.08.10
장근영 서브메뉴가 브라우저 크기를 조절하게 되면 오른쪽으로 밀려납니다 [1] 2007.08.10
키드키드 테이블로 메뉴도 만들고 다만들떄요.. [2] 2007.08.10
taeho 혹시 vb6(프린트 MSFLEXGRID)에 대해 아시는분..  
레드 모든 이미지들이.. [1] 2007.08.10
김남순 제로보드 안에다 게시판 넣는 방법 좀 알려주세요 [2] 2007.08.10
이태운 드롭다운메뉴 관련 질문^^ [1] 2007.08.10
오두막 마우스 오버시 이미지가 흐린 상태에서 선명하게 바뀌는 걸 알고 싶습니다.. [1] 2007.08.10
김학관 php파일이 제대로 안 불러지네요.. [1] 2007.08.10
쥬엘 노프레임에서요. [1] 2007.08.10
Siny™ 창틀 없는 창 띄우는 방법은 없나요?  
neo 웹페이지 상에서.. [1] 2007.08.10
Saturn byus.net 에 관해서 질문...... [1] 2007.08.10
김경환 고수님들 좋은 방법없을까여.... [1] 2007.08.10
민승기 웹호스팅..퍼미션이 마법에 걸린것 같아요 ''ㅂ''  
미자 테이블에서 <form> 태그 사용시 테이블이 깨집니다.. [2] file 2007.08.10
미자 윈도우 2000에서 웹서버에 익명에세스불가..  
Quality 스킨폴더에 압축을 풀어도.. [1] 2007.08.10
에리™ 자바 스크립이나 html중에 타이핑효과 내는것이 있나요~? [2] 2007.08.10
이무광 드림위버에서 웹폰트쓰기!!  
짱니미 질문이요!! [1] 2007.08.10
Patⓡiⓒk [php]좀 급한건데요.. 회원 ID 가져오기에 관하여 [1] 2007.08.10
Asurada iframe 자동크기조절 기능 일부 페이지 작동불가;; [2] 2007.08.10