묻고답하기

리뉴얼하는데 예전에 있던 게시판을 따올려고 합니다.(제로보드는 아니지만..)
게시판만 따와서 새로운 페이지에 삽입할 라면 어떻게 해야하는지요..
근대 제가 작업한게 아니고 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 남기남
최금비 나모웹에디터로 홈페이지를 만드는데,,  
에리™ 프레임 안에서 새창뛰어서 닫기..  
송재필 게시판에 쓴글이 최신목록으로 다른 곳에 올라오는 것... [1] 2007.08.10
유연수 ★★★ 제로보드 노프레임 홈피만들기에서요 꼭좀 냉유여★★★ [1] 2007.08.10
최효준 게시판 프로그래밍에 관한 질문인데요..^^ [3] 2007.08.10
아다 이런걸 질문이라해도 될지 -_-;;; [1] 2007.08.10
이태운 노프레임에서요 스크롤바 안내릴 수 있나여? 냉유 ^^필독! [1] 2007.08.10
가시고기 안녕하십니까!!! 포토샵에 대한 질문입니다! 글씨가 자꾸 희미해지는데.. [2] 2007.08.10
CiZ 북마크게시판의 최근게시물을 추출하려면...아니면 랜덤 추출..;  
taeho <플래시>여기를 보실래요, 정말 심플하면서 멋진 무비요.. 어떻게 만들지요?? [1] 2007.08.10
김형태 라디오버튼으로 변경할수 있는 방법 좀......ㅡㅡ; file  
꽃ちゃん popup layer의 y (세로) 설정 방법 ???  
Ziwoogae 페이지를 들어가면 메시지를 띄우게 [1] 2007.08.10
레드 이 기능이 없어서...  
레드 이미지가 비트맵 파일루...ㅠ_ㅜ [1] 2007.08.10
Nsunha* 포토샵이 맛이 갔어요-_-a;; [1] 2007.08.10
하정선 제목하구 내용은 웹폰트가 먹히는데... [1] 2007.08.10
스티치 새창자동띄운후 창닫기 [크롬리스 접목시 문제발생]  
김이정 header와 footer에 대해서 가르쳐주세요 [2] 2007.08.10
홍효택 iframe 의 스크롤 질문입니다. [1] 2007.08.10
현규웅 미르카운터, 하루 한사람이 하나씩만 카운터오르는 것 쿠키삭제 안되나요?  
김상민 제로보드 최근게시물 메인에다가 다는방법좀... [1] 2007.08.10
최금비 나모웹에디터로 홈페이지를 만드는데... [1] 2007.08.10
KimSsang 노프레임에서 음악넣는 방법좀! [2] 2007.08.10
mgkw0n 제로카운터에서 통계는 나오는데 오늘 방문자수 표시가...함 바주세요~^^ [2] 2007.08.10
김선경 게시판주소는 어떻게 알수 있나요?(꼭 부탁드려요..) [5] 2007.08.10
한일도 제발좀 도와주세요....(부탁드립니다...) [2] 2007.08.10
김태용 포트 80이 막혔다는데 다른 포트 설정은 어떻게 해야 되는지 알고 싶습니다. [2] 2007.08.10
지마니 제로보드 글쓰기란을 두개로 하고 싶은데..  
가이 질문이 3가지 있습니다. 급해요! 도와주세요! 질문 3가지요! 답변좀! [3] 2007.08.10