tail수정 좀 부탁드립니다 > 그누4 질문답변

그누4 질문답변

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

tail수정 좀 부탁드립니다 정보

tail수정 좀 부탁드립니다

본문

그림을 보시면 밑에 tail이 깨지는데요
이것저것 다해봤는데도 수정이 안됩니다...
이럴경우에는 어디를 수정하는건가요....
head.php랑tail.php를 수정하면 되는건가요??

댓글 전체

소스를 올리겠습니다...
head.php
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
include_once("$g4[path]/head.sub.php");
include_once("$g4[path]/lib/outlogin.lib.php");
include_once("$g4[path]/lib/poll.lib.php");
include_once("$g4[path]/lib/visit.lib.php");
include_once("$g4[path]/lib/connect.lib.php");
include_once("$g4[path]/lib/popular.lib.php");
//print_r2(get_defined_constants());
// 사용자 화면 상단과 좌측을 담당하는 페이지입니다.
// 상단, 좌측 화면을 꾸미려면 이 파일을 수정합니다.

$table_width = 900;

//print_r2($g4);
//$dir = dirname($HTTP_SERVER_VARS["PHP_SELF"]);
?>
<script language="javascript"  src="embeded.js" type="text/javascript"></script>
<script type="text/javascript" src="css/java.js"></script>
<table width="996" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="169" height="227" valign="top" style="background-image:url(/images/top_logo_bg.jpg); background-repeat:no-repeat;">
<script>doc_write(flash_movie("<?=$g4['path']?>/swf/index_logo.swf", "mainflash", 169, 96, "transparent"));</script>
<!--<script language="javascript">ShowFlash('http://www.nall.co.kr/swf/index_logo.swf', 169, 96)</script>-->
</td>
    <td><table width="835" height="227" border="0" cellpadding="0" cellspacing="0" style="background-image:url(/images/top_nevi_bg.jpg); background-repeat:no-repeat;">
      <tr>
        <td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td align="right" style="padding-right:7px;"><table height="29" border="0" cellpadding="0" cellspacing="0">
              <tr>  
                <td><a href="<?=$g4[path]?>/main.php"><img src="../images/top_btn_home.gif" border="0" /></a></td>
<? if ($is_member) { ?>
<td><a href="<?=$g4[bbs_path]?>/logout.php"><img src="../images/top_btn_logout.gif" border="0" /></td>
                <td><a href="<?=$g4[bbs_path]?>/member_confirm.php?url=register_form.php"><img src="../images/top_btn_modify.gif" border="0" /></a></td>
<? } else { ?>
                <td><a href="<?=$g4[bbs_path]?>/login.php?url=<?=$urlencode?>"><img src="../images/top_btn_login.gif"  border="0" /></td>
                <td><a href="<?=$g4[bbs_path]?>/register.php"><img src="../images/top_btn_join.gif" border="0" /></a></td>
<?}?>
                <td><a href='<?=$g4[shop_path]?>/cart.php'><img src="../images/top_btn_cart.gif" border="0" /></a></td>
                <td><a href='<?=$g4[shop_path]?>/orderinquiry.php'><img src="../images/top_btn_delivery.gif"  border="0" /></a></td>
                <td><a href='<?=$g4[shop_path]?>/faq.php'><img src="../images/top_btn_faq.gif" border="0" /></a></td>
<td><a href='<?=$g4[shop_path]?>/mypage.php'><img src="../images/top_btn_mypage.gif" border="0" /></a></td>
                <td><a href=# onClick="window.external.AddFavorite(parent.location.href, document.title);"><img src="../images/top_btn_favorite.gif" border="0" /></a></td>
              </tr>
            </table></td>
            <td width="249" height="28" style="background-image:url(../images/search_bg.gif); background-repeat:no-repeat;"><table width="100%" border="0" cellspacing="0" cellpadding="0">     
              <tr>
                <td width="75">&nbsp;</td>
                <td valign="top">
<form name='frmsearch1' style='margin:0px;' onsubmit='return search_submit(this);'>
        <input type='hidden' name='sfl' value='wr_subject||wr_content'>
        <input type='hidden' name='sop' value='and'>
        <input type='hidden' name='stx' value=''>
                  <input name=search_str type="text" size="14" width="110" value='<?=stripslashes(get_text($search_str))?>'>
              </td>
                <td width="58"><input type=image src='<?=$g4[path]?>/images/search_btn.gif' border=0 align=absmiddle width="49" height="19">&nbsp;
<!--<img src="../images/search_btn.gif" width="49" height="19" />--></td>
              </form></tr>
  <script>
        function search_submit(f) {
           
                f.action = '<?=$g4[shop_path]?>/search.php';
            } 
                </script>
            </table></td>
          </tr>
        </table></td>
      </tr><tr>
  <td><script>doc_write(flash_movie("<?=$g4['path']?>/swf/index_menu.swf", "mainflash", 829, 200, "transparent"));</script></td></tr>
      <!--<tr>
        <td><script language="javascript">ShowFlash('http://www.nall.co.kr/swf/index_menu.swf', 829, 200)</script>
</td>-->
      </tr>
    </table>
</td>
  </tr>
</table>
<table align=left width='120' cellpadding=0 cellspacing=0 border=0>
<tr>
    <td align=left valign=top width=120>
<!-- 상품분류 -->
        <table bgcolor=#EFF9D8 width=160 cellpadding=1 cellspacing=0>
        <tr><td><?include_once("$g4[path]/left.php");?></td></tr>
        </table><br>
    </td>
        <td valign=top width='<?=((int)$table_width-190)?>'>
tail.php입니다
<table width="100%" height="151" border="0" cellpadding="0" cellspacing="0" background="/images/bottom_bg.jpg" bgcolor="#BBDB78">
  <tr>
    <td width="185" rowspan="2">&nbsp;</td>
    <td width="819" height="75" align="left" valign="bottom"><table width="366" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td><img src="/images/copy_01.jpg" width="53" height="13" /></td>
        <td><img src="/images/copy_02.jpg" width="111" height="13" /></td>
        <td><img src="/images/copy_03.jpg" width="75" height="13" /></td>
        <td><img src="/images/copy_04.jpg" width="73" height="13" /></td>
        <td><img src="/images/copy_05.jpg" width="53" height="13" /></td>
        </tr>
    </table></td>
    <td rowspan="2" valign="bottom" bgcolor="#BBDB78"></td>
  </tr>
  <tr>
    <td align="left" valign="middle"><img src="/images/copyright.jpg" width="566" height="31" /></td>
  </tr>
</table>
<div id="floater" style="position:absolute; left:872px; top:93px; width:107px; z-index:1;"> <img src="/images/draft.gif" width="130" height="487" border="0" usemap="#Map">
<map name="Map"><area shape="rect" coords="7,290,125,335" href="#"><area shape="rect" coords="7,342,125,386" href="#"><area shape="rect" coords="7,388,124,432" href="#"><area shape="rect" coords="7,436,124,480" href="#"></map>
</div>
<script>
SlideBanner();
</script>
<?
include_once("$g4[path]/tail.sub.php");
?>
테이블이 잘못짜여져 있네요
해드와 테일이 테이블 하나로 짜여져야하는데
테이블이 따로 분리되었는것 같습니다
예)
해드에서 <table><tr><td>  내용물어쩌고 저쩌고 또 테이블짜고이런식으로
테일에 나머지 테이블을 완성시키는 테그가 들어가야 합니다
</td></tr></table>
이런식으로 하면 테이블 하나가 생성되죠...
이해가 되실련지...테일소스도 올려보세요^^
참고하세요^^
http://sir.co.kr/bbs/board.php?bo_table=g4_tiptech&wr_id=10998&page=3
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
include_once("$g4[path]/head.sub.php");
include_once("$g4[path]/lib/outlogin.lib.php");
include_once("$g4[path]/lib/poll.lib.php");
include_once("$g4[path]/lib/visit.lib.php");
include_once("$g4[path]/lib/connect.lib.php");
include_once("$g4[path]/lib/popular.lib.php");
//print_r2(get_defined_constants());
// 사용자 화면 상단과 좌측을 담당하는 페이지입니다.
// 상단, 좌측 화면을 꾸미려면 이 파일을 수정합니다.

$table_width = 900;

//print_r2($g4);
//$dir = dirname($HTTP_SERVER_VARS["PHP_SELF"]);
?>
<script language="javascript"  src="embeded.js" type="text/javascript"></script>
<script type="text/javascript" src="css/java.js"></script>
<table width="996" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="169" height="227" valign="top" style="background-image:url(/images/top_logo_bg.jpg); background-repeat:no-repeat;">
      <script>doc_write(flash_movie("<?=$g4['path']?>/swf/index_logo.swf", "mainflash", 169, 96, "transparent"));</script>
      <!--<script language="javascript">ShowFlash('http://www.nall.co.kr/swf/index_logo.swf', 169, 96)</script>-->
    </td>
    <td><table width="835" height="227" border="0" cellpadding="0" cellspacing="0" style="background-image:url(/images/top_nevi_bg.jpg); background-repeat:no-repeat;">
      <tr>
        <td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td align="right" style="padding-right:7px;"><table height="29" border="0" cellpadding="0" cellspacing="0">
              <tr> 
                <td><a href="<?=$g4[path]?>/main.php"><img src="../images/top_btn_home.gif" border="0" /></a></td>
                <? if ($is_member) { ?>
                <td><a href="<?=$g4[bbs_path]?>/logout.php"><img src="../images/top_btn_logout.gif" border="0" /></td>
                <td><a href="<?=$g4[bbs_path]?>/member_confirm.php?url=register_form.php"><img src="../images/top_btn_modify.gif" border="0" /></a></td>
                <? } else { ?>
                <td><a href="<?=$g4[bbs_path]?>/login.php?url=<?=$urlencode?>"><img src="../images/top_btn_login.gif"  border="0" /></td>
                <td><a href="<?=$g4[bbs_path]?>/register.php"><img src="../images/top_btn_join.gif" border="0" /></a></td>
                <? } ?>
                <td><a href='<?=$g4[shop_path]?>/cart.php'><img src="../images/top_btn_cart.gif" border="0" /></a></td>
                <td><a href='<?=$g4[shop_path]?>/orderinquiry.php'><img src="../images/top_btn_delivery.gif"  border="0" /></a></td>
                <td><a href='<?=$g4[shop_path]?>/faq.php'><img src="../images/top_btn_faq.gif" border="0" /></a></td>
                <td><a href='<?=$g4[shop_path]?>/mypage.php'><img src="../images/top_btn_mypage.gif" border="0" /></a></td>
                <td><a href=# onClick="window.external.AddFavorite(parent.location.href, document.title);"><img src="../images/top_btn_favorite.gif" border="0" /></a></td>
              </tr>
            </table></td>
            <td width="249" height="28" style="background-image:url(../images/search_bg.gif); background-repeat:no-repeat;"><table width="100%" border="0" cellspacing="0" cellpadding="0">   
              <form name='frmsearch1' style='margin:0px;' onsubmit='return search_submit(this);'>
              <tr>
                <td width="75">&nbsp;</td>
                <td valign="top">
                  <input type='hidden' name='sfl' value='wr_subject||wr_content'>
                  <input type='hidden' name='sop' value='and'>
                  <input type='hidden' name='stx' value=''>
                  <input name=search_str type="text" size="14" width="110" value='<?=stripslashes(get_text($search_str))?>'>
                </td>
                <td width="58"><input type=image src='<?=$g4[path]?>/images/search_btn.gif' border=0 align=absmiddle width="49" height="19">&nbsp;
                  <!--<img src="../images/search_btn.gif" width="49" height="19" />--></td>
              </form>
              </tr>
              <script>
                function search_submit(f) {
                  f.action = '<?=$g4[shop_path]?>/search.php';
                }
              </script>
            </table></td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td><script>doc_write(flash_movie("<?=$g4['path']?>/swf/index_menu.swf", "mainflash", 829, 200, "transparent"));</script></td>
      </tr>
      <!--<tr>
        <td><script language="javascript">ShowFlash('http://www.nall.co.kr/swf/index_menu.swf', 829, 200)</script></td>-->
      </tr>
    </table></td>
  </tr>
</table>
<table align=left width='120' cellpadding=0 cellspacing=0 border=0>
  <tr>
    <td align=left valign=top width=120><!-- 상품분류 --><table bgcolor=#EFF9D8 width=160 cellpadding=1 cellspacing=0>
      <tr>
        <td><?include_once("$g4[path]/left.php");?></td>
      </tr>
    </table></td>
    <td valign=top width='<?=((int)$table_width-190)?>'>
여기까지  head.php  입니다.
       
       
여기부터 tail.php 입니다

      <table width="100%" height="151" border="0" cellpadding="0" cellspacing="0" background="/images/bottom_bg.jpg" bgcolor="#BBDB78">
        <tr>
          <td width="185" rowspan="2">&nbsp;</td>
          <td width="819" height="75" align="left" valign="bottom"><table width="366" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td><img src="/images/copy_01.jpg" width="53" height="13" /></td>
              <td><img src="/images/copy_02.jpg" width="111" height="13" /></td>
              <td><img src="/images/copy_03.jpg" width="75" height="13" /></td>
              <td><img src="/images/copy_04.jpg" width="73" height="13" /></td>
              <td><img src="/images/copy_05.jpg" width="53" height="13" /></td>
            </tr>
          </table></td>
          <td rowspan="2" valign="bottom" bgcolor="#BBDB78"></td>
        </tr>
        <tr>
          <td align="left" valign="middle"><img src="/images/copyright.jpg" width="566" height="31" /></td>
        </tr>
      </table>
      <div id="floater" style="position:absolute; left:872px; top:93px; width:107px; z-index:1;"> <img src="/images/draft.gif" width="130" height="487" border="0" usemap="#Map">
        <map name="Map"><area shape="rect" coords="7,290,125,335" href="#"><area shape="rect" coords="7,342,125,386" href="#"><area shape="rect" coords="7,388,124,432" href="#"><area shape="rect" coords="7,436,124,480" href="#"></map>
      </div>
      <script>
        SlideBanner();
      </script>
<!-- 추가 코드를 시작합니다. -->
    </td>
  </tr>
</table>
<!-- 추가 코드를 끝냅니다.-->
<? include_once("$g4[path]/tail.sub.php"); ?>
수정된 코드입니다.  추가적으로  left.php 도 점검이 필요할듯합니다.
일단 테이블이 깨지는 것은 잡았지만..  초기 설계부터 다시금 계획하셔야 겠습니다.

<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
include_once("$g4[path]/head.sub.php");
include_once("$g4[path]/lib/outlogin.lib.php");
include_once("$g4[path]/lib/poll.lib.php");
include_once("$g4[path]/lib/visit.lib.php");
include_once("$g4[path]/lib/connect.lib.php");
include_once("$g4[path]/lib/popular.lib.php");
//print_r2(get_defined_constants());
// 사용자 화면 상단과 좌측을 담당하는 페이지입니다.
// 상단, 좌측 화면을 꾸미려면 이 파일을 수정합니다.

$table_width = 900;

//print_r2($g4);
//$dir = dirname($HTTP_SERVER_VARS["PHP_SELF"]);
?>
<script language="javascript"  src="embeded.js" type="text/javascript"></script>
<script type="text/javascript" src="css/java.js"></script>
<table width="996" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="169" height="227" valign="top" style="background-image:url(/images/top_logo_bg.jpg); background-repeat:no-repeat;">
      <script>doc_write(flash_movie("<?=$g4['path']?>/swf/index_logo.swf", "mainflash", 169, 96, "transparent"));</script>
      <!--<script language="javascript">ShowFlash('http://www.nall.co.kr/swf/index_logo.swf', 169, 96)</script>-->
    </td>
    <td><table width="835" height="227" border="0" cellpadding="0" cellspacing="0" style="background-image:url(/images/top_nevi_bg.jpg); background-repeat:no-repeat;">
      <tr>
        <td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td align="right" style="padding-right:7px;"><table height="29" border="0" cellpadding="0" cellspacing="0">
              <tr>
                <td><a href="<?=$g4[path]?>/main.php"><img src="../images/top_btn_home.gif" border="0" /></a></td>
                <? if ($is_member) { ?>
                <td><a href="<?=$g4[bbs_path]?>/logout.php"><img src="../images/top_btn_logout.gif" border="0" /></a></td>
                <td><a href="<?=$g4[bbs_path]?>/member_confirm.php?url=register_form.php"><img src="../images/top_btn_modify.gif" border="0" /></a></td>
                <? } else { ?>
                <td><a href="<?=$g4[bbs_path]?>/login.php?url=<?=$urlencode?>"><img src="../images/top_btn_login.gif"  border="0" /></a></td>
                <td><a href="<?=$g4[bbs_path]?>/register.php"><img src="../images/top_btn_join.gif" border="0" /></a></td>
                <? } ?>
                <td><a href='<?=$g4[shop_path]?>/cart.php'><img src="../images/top_btn_cart.gif" border="0" /></a></td>
                <td><a href='<?=$g4[shop_path]?>/orderinquiry.php'><img src="../images/top_btn_delivery.gif"  border="0" /></a></td>
                <td><a href='<?=$g4[shop_path]?>/faq.php'><img src="../images/top_btn_faq.gif" border="0" /></a></td>
                <td><a href='<?=$g4[shop_path]?>/mypage.php'><img src="../images/top_btn_mypage.gif" border="0" /></a></td>
                <td><a href=# onClick="window.external.AddFavorite(parent.location.href, document.title);"><img src="../images/top_btn_favorite.gif" border="0" /></a></td>
              </tr>
            </table></td>
            <td width="249" height="28" style="background-image:url(../images/search_bg.gif); background-repeat:no-repeat;"><table width="100%" border="0" cellspacing="0" cellpadding="0"> 
              <form name='frmsearch1' style='margin:0px;' onsubmit='return search_submit(this);'>
              <tr>
                <td width="75">&nbsp;</td>
                <td valign="top">
                  <input type='hidden' name='sfl' value='wr_subject||wr_content'>
                  <input type='hidden' name='sop' value='and'>
                  <input type='hidden' name='stx' value=''>
                  <input name=search_str type="text" size="14" width="110" value='<?=stripslashes(get_text($search_str))?>'>
                </td>
                <td width="58"><input type=image src='<?=$g4[path]?>/images/search_btn.gif' border=0 align=absmiddle width="49" height="19">&nbsp;
                  <!--<img src="../images/search_btn.gif" width="49" height="19" />--></td>
              </tr>
              </form>
              <script>
                function search_submit(f) {
                  f.action = '<?=$g4[shop_path]?>/search.php';
                }
              </script>
            </table></td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td><script>doc_write(flash_movie("<?=$g4['path']?>/swf/index_menu.swf", "mainflash", 829, 200, "transparent"));</script></td>
      </tr>
      <!--<tr>
        <td><script language="javascript">ShowFlash('http://www.nall.co.kr/swf/index_menu.swf', 829, 200)</script></td>
      </tr>-->
    </table></td>
  </tr>
</table>
<table align=left width='996' cellpadding=0 cellspacing=0 border=0>
  <tr>
    <td align=left valign=top width=120><!-- 상품분류 --><table bgcolor=#EFF9D8 width=160 cellpadding=1 cellspacing=0>
      <tr>
        <td><?include_once("$g4[path]/left.php");?></td>
      </tr>
    </table></td>
    <td valign=top width='<?=((int)$table_width-190)?>'>
여기까지  head.php  입니다.
     
     
여기부터 tail.php 입니다

      <table width="100%" height="151" border="0" cellpadding="0" cellspacing="0" background="/images/bottom_bg.jpg" bgcolor="#BBDB78">
        <tr>
          <td width="185" rowspan="2">&nbsp;</td>
          <td width="819" height="75" align="left" valign="bottom"><table width="366" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td><img src="/images/copy_01.jpg" width="53" height="13" /></td>
              <td><img src="/images/copy_02.jpg" width="111" height="13" /></td>
              <td><img src="/images/copy_03.jpg" width="75" height="13" /></td>
              <td><img src="/images/copy_04.jpg" width="73" height="13" /></td>
              <td><img src="/images/copy_05.jpg" width="53" height="13" /></td>
            </tr>
          </table></td>
          <td rowspan="2" valign="bottom" bgcolor="#BBDB78"></td>
        </tr>
        <tr>
          <td align="left" colspab="2" valign="middle"><img src="/images/copyright.jpg" width="566" height="31" /></td>
        </tr>
      </table>
      <div id="floater" style="position:absolute; left:872px; top:93px; width:107px; z-index:1; visibility: visible;"> <img src="/images/draft.gif" width="130" height="487" border="0" usemap="#Map">
        <map name="Map"><area shape="rect" coords="7,290,125,335" href="#"><area shape="rect" coords="7,342,125,386" href="#"><area shape="rect" coords="7,388,124,432" href="#"><area shape="rect" coords="7,436,124,480" href="#"></map>
      </div>
      <script>
        SlideBanner();
      </script>
    </td>
  </tr>
</table>
신경써주셔서 감사합니다...그런데 아직도 그대로 이네요 ㅠㅠ
어디가 문제인지 모르겠습니다...레프트도 올리겠습니다.시간나시면 한번더 부탁 드리겠습니다.
<table width="172" border="0" cellspacing="0" cellpadding="0">
 <tr>
    <td><table width="172" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td align="center"><img src="/images/category_title.gif" width="156" height="44"></td>
      </tr>
      <tr>
        <td><table width="172" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td align="center"><a href="<?=$g4[shop_path]?>/list.php?ca_id=10"  style="cursor:hand;"><img src="/images/left_menu01.gif" width="138" height="30" border="0"></a></td>
          </tr>       
        </table></td>
      </tr>
    <tr>
        <td><table width="172" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td height="30" align="center" valign="bottom"><a href="<?=$g4[shop_path]?>/list.php?ca_id=20"  style="cursor:hand;"><img src="/images/left_menu02.gif" width="138" height="30" border="0"></a></td>
          </tr>
          <tr>
          </tr>
        </table></td>
      </tr>
    <tr>
        <td><table width="172" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td align="center"><a href="<?=$g4[shop_path]?>/list.php?ca_id=30"  style="cursor:hand;"><img src="/images/left_menu03.gif" width="138" height="30" border="0"></a></td>
          </tr>       
        </table></td>
      </tr>
    <tr>
        <td><table width="172" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td align="center"><a href="40" style="cursor:hand;"><img src="/images/left_menu04.gif" width="138" height="30" border="0"></a></td>
          </tr>       
        </table></td>
      </tr>
    <tr>
        <td><table width="172" border="0" cellspacing="0" cellpadding="0">
          <tr>
          <td align="center"><a href="<?=$g4[shop_path]?>/list.php?ca_id=50"  style="cursor:hand;"><img src="/images/left_menu05.gif" width="138" height="30" border="0"></a></td>
          </tr>               
        </table></td>
      </tr>
    <tr>
        <td><table width="172" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td align="center"><a href="<?=$g4[shop_path]?>/list.php?ca_id=60"  style="cursor:hand;"><img src="/images/left_menu06.gif" width="138" height="30" border="0"></a></td>
          </tr>
          <tr>
            <td align="center" id="submenu6" style="display:none;"></td>
          </tr>
    <tr>
        <td><table width="172" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td align="center"><a href="<?=$g4[shop_path]?>/list.php?ca_id=70"  style="cursor:hand;"><img src="/images/left_menu07.gif" width="138" height="30" border="0"></a></td>
          </tr>
          <tr>
          </tr>
        </table></td>
      </tr>
    <tr>
        <td><table width="172" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td align="center"><a href="<?=$g4[shop_path]?>/list.php?ca_id=80"  style="cursor:hand;"><img src="/images/left_menu08.gif" width="138" height="30" border="0"></a></td>
          </tr>
          <tr>
          </tr>
        </table></td>
      </tr>
    <tr>
        <td><table width="172" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td align="center"><a href="<?=$g4[shop_path]?>/list.php?ca_id=90"  style="cursor:hand;"><img src="/images/left_menu09.gif" width="138" height="30" border="0"></a></td>
          </tr>
        </table></td>
      </tr>
    <tr>
        <td><table width="172" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td align="center"><a href="<?=$g4[shop_path]?>/list.php?ca_id=a0"  style="cursor:hand;"><img src="/images/left_menu10.gif" width="138" height="30" border="0"></a></td>
          </tr>
        </table></td>
      </tr>
    <tr>
        <td><table width="172" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td align="center"><a href="<?=$g4[shop_path]?>/list.php?ca_id=b0"  style="cursor:hand;"><img src="/images/left_menu11.gif" width="138" height="30" border="0"></a></td>
          </tr>
        </table></td>
      </tr>
    <tr>
        <td><table width="172" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td align="center"><a href="<?=$g4[shop_path]?>/list.php?ca_id=c0"  style="cursor:hand;"><img src="/images/left_menu12.gif" width="138" height="30" border="0"></a></td>

          </tr>
        </table></td>
      </tr>
        </table></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td align="center"><img src="/images/left_banner01.gif" width="139" height="44" vspace="5"></td>
  </tr>
  <tr>
  <td align="center"><img src="/images/left_banner02.gif" width="142" height="112" vspace="5"></td>
  </tr>
  <tr>
    <td align="center"><a href="#" onclick="MM_openBrWindow('../bbs/write.php?bo_table=1to1','','width=490,height=500')"><img src="/images/left_banner03.gif" width="139" height="43" vspace="5" border="0"></a></td>
  </tr>
  <tr>
    <td align="center"><img src="/images/left_banner05.gif" width="139" height="43" vspace="5"></td>
  </tr>
  <tr>
    <td align="center"><img src="/images/left_banner06.gif" width="140" height="130" vspace="5" border="0" usemap="#Map3"></td>
  </tr>
</table>
<p>&nbsp;</p>
<map name="Map3" id="Map3"><area shape="rect" coords="2,0,139,42" href="../bbs/write.php?bo_table=dome" /><area shape="rect" coords="2,43,139,86" href="etc/franchise.php" />
<area shape="rect" coords="2,88,139,129" href="#" /></map>
이것을 잘 사용해보세요..테스트는 해보지 않았지만 비슷하게 나올겁니다
head.php입니다
--------------

<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
include_once("$g4[path]/head.sub.php");
include_once("$g4[path]/lib/outlogin.lib.php");
include_once("$g4[path]/lib/poll.lib.php");
include_once("$g4[path]/lib/visit.lib.php");
include_once("$g4[path]/lib/connect.lib.php");
include_once("$g4[path]/lib/popular.lib.php");
//print_r2(get_defined_constants());
// 사용자 화면 상단과 좌측을 담당하는 페이지입니다.
// 상단, 좌측 화면을 꾸미려면 이 파일을 수정합니다.

$table_width = 900;

//print_r2($g4);
//$dir = dirname($HTTP_SERVER_VARS["PHP_SELF"]);
?>
<script language="javascript"  src="embeded.js" type="text/javascript"></script>
<script type="text/javascript" src="css/java.js"></script>
<table width="996" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <th height="190" colspan="2" scope="col"><table width="996" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="169" height="227" valign="top" style="background-image:url(/images/top_logo_bg.jpg); background-repeat:no-repeat;">
          <script>doc_write(flash_movie("<?=$g4['path']?>/swf/index_logo.swf", "mainflash", 169, 96, "transparent"));</script>
          <!--<script language="javascript">ShowFlash('http://www.nall.co.kr/swf/index_logo.swf', 169, 96)</script>-->
        </td>
        <td><table width="835" height="227" border="0" cellpadding="0" cellspacing="0" style="background-image:url(/images/top_nevi_bg.jpg); background-repeat:no-repeat;">
            <tr>
              <td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td align="right" style="padding-right:7px;"><table height="29" border="0" cellpadding="0" cellspacing="0">
                        <tr>
                          <td><a href="<?=$g4[path]?>/main.php"><img src="../images/top_btn_home.gif" border="0" /></a></td>
                          <? if ($is_member) { ?>
                          <td><a href="<?=$g4[bbs_path]?>/logout.php"><img src="../images/top_btn_logout.gif" border="0" /></a></td>
                          <td><a href="<?=$g4[bbs_path]?>/member_confirm.php?url=register_form.php"><img src="../images/top_btn_modify.gif" border="0" /></a></td>
                          <? } else { ?>
                          <td><a href="<?=$g4[bbs_path]?>/login.php?url=<?=$urlencode?>"><img src="../images/top_btn_login.gif"  border="0" /></a></td>
                          <td><a href="<?=$g4[bbs_path]?>/register.php"><img src="../images/top_btn_join.gif" border="0" /></a></td>
                          <?}?>
                          <td><a href='<?=$g4[shop_path]?>/cart.php'><img src="../images/top_btn_cart.gif" border="0" /></a></td>
                          <td><a href='<?=$g4[shop_path]?>/orderinquiry.php'><img src="../images/top_btn_delivery.gif"  border="0" /></a></td>
                          <td><a href='<?=$g4[shop_path]?>/faq.php'><img src="../images/top_btn_faq.gif" border="0" /></a></td>
                          <td><a href='<?=$g4[shop_path]?>/mypage.php'><img src="../images/top_btn_mypage.gif" border="0" /></a></td>
                          <td><a href=# onClick="window.external.AddFavorite(parent.location.href, document.title);"><img src="../images/top_btn_favorite.gif" border="0" /></a></td>
                        </tr>
                    </table></td>
                    <td width="249" height="28" style="background-image:url(../images/search_bg.gif); background-repeat:no-repeat;"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                          <td width="75">&nbsp;</td>
                          <td valign="top">
                            <form name='frmsearch1' style='margin:0px;' onsubmit='return search_submit(this);'>
                              <input type='hidden' name='sfl' value='wr_subject||wr_content'>
                              <input type='hidden' name='sop' value='and'>
                              <input type='hidden' name='stx' value=''>
                              <input name=search_str type="text" size="14" width="110" value='<?=stripslashes(get_text($search_str))?>'>
                          </form></td>
                          <td width="58"><input name="image" type=image src='<?=$g4[path]?>/images/search_btn.gif' align=absmiddle width="49" height="19" border=0>
    &nbsp;
                            <!--<img src="../images/search_btn.gif" width="49" height="19" />--></td>
                        </tr>
                        <script>
        function search_submit(f) {
           
                f.action = '<?=$g4[shop_path]?>/search.php';
            } 
                </script>
                    </table></td>
                  </tr>
              </table></td>
            </tr>
            <tr>
              <td><script>doc_write(flash_movie("<?=$g4['path']?>/swf/index_menu.swf", "mainflash", 829, 200, "transparent"));</script></td>
            </tr>
            <!--<tr>
        <td><script language="javascript">ShowFlash('http://www.nall.co.kr/swf/index_menu.swf', 829, 200)</script>
</td>-->
          </table>
      </tr>
    </table></th>
  </tr>
  <tr>
    <th width="160" scope="row"><table bgcolor=#EFF9D8 width=160 cellpadding=1 cellspacing=0>
      <tr>
        <td><?include_once("$g4[path]/left.php");?></td>
      </tr>
    </table></th>
    <td width="82%">

------------------------------------------------
tail.php입니다
----------------------------------------------
</td>
  </tr>
  <tr>
    <th colspan="2" scope="row"><table width="100%" height="151" border="0" cellpadding="0" cellspacing="0" background="/images/bottom_bg.jpg" bgcolor="#BBDB78">
  <tr>
    <td width="185" rowspan="2">&nbsp;</td>
    <td width="819" height="75" align="left" valign="bottom"><table width="366" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td><img src="/images/copy_01.jpg" width="53" height="13" /></td>
        <td><img src="/images/copy_02.jpg" width="111" height="13" /></td>
        <td><img src="/images/copy_03.jpg" width="75" height="13" /></td>
        <td><img src="/images/copy_04.jpg" width="73" height="13" /></td>
        <td><img src="/images/copy_05.jpg" width="53" height="13" /></td>
        </tr>
    </table></td>
    <td rowspan="2" valign="bottom" bgcolor="#BBDB78"></td>
  </tr>
  <tr>
    <td align="left" valign="middle"><img src="/images/copyright.jpg" width="566" height="31" /></td>
  </tr>
</table>
<div id="floater" style="position:absolute; left:872px; top:93px; width:107px; z-index:1;"> <img src="/images/draft.gif" width="130" height="487" border="0" usemap="#Map">
<map name="Map"><area shape="rect" coords="7,290,125,335" href="#"><area shape="rect" coords="7,342,125,386" href="#"><area shape="rect" coords="7,388,124,432" href="#"><area shape="rect" coords="7,436,124,480" href="#"></map>
</div>
<script>
SlideBanner();
</script>
<?
include_once("$g4[path]/tail.sub.php");
?> </th>
  </tr>
</table>
-----------------------------------------------------------------------
이런식으로 하면 될겁니다....
전체 66,554 |RSS
그누4 질문답변 내용 검색

회원로그인

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