서브페이지 소스좀 봐주세요.^^; > 질문답변

본문 바로가기
사이트 내 전체검색

질문답변

서버정보나 계정정보는 보안유지를 위해 관리자쪽지나 메일로 발송해 주시거나 제작의뢰 게시판을 이용해 주시면 감사하겠습니다..

서브페이지 소스좀 봐주세요.^^;

페이지 정보

본문

 
 
1. 상단메뉴 위치를 못맞추겠어요?
2. 서브메뉴가 이탈됩니다. ㅠㅜ
 
subhead.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");
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");
//print_r2(get_defined_constants());
// 사용자 화면 상단과 좌측을 담당하는 페이지입니다.
// 상단, 좌측 화면을 꾸미려면 이 파일을 수정합니다.
//***********************************************************************************************
// 라이센스는 http://sir.co.kr/gnuboard/g4_license.php를 따릅니다.
// 빌더명 : ZENABUILDER
// 제작일 : 2006-05-18
// 제작자 : 박관수 http://zeronara.net
// e-mail  : [email protected]
// 버그보완 : ZENABUILDER는 보완,패치,수정등의 어떠한 의무적인 책임을 가지지 않습니다.
// 개인, 상업적으로 이용 가능하나 사용자의 제작 및 소유물이 될 수는 없습니다.
// 제로나라(http://zeronara.net/)는 ZENABUILDER를 사용할 수 없거나 사용법을 제대로 인식하지 못해서
// 발생한 이익 손실, 업무 중단, 사업 정보의 손실 또는 금전상의 손실 등 사업상의 손해를
// 포함한 부수적이고 간접적인 손해에 대해서, 비록 이와 같은 손해 가능성에 대해서
// 사전에 알고 있었다고 해도 책임을 지지 않습니다.
// 저작권 : 이 주석 부분은 삭제할 수 없습니다.
//************************************************************************************************
?>
<!--  텍스트메인메뉴용 스크립트 끝--><!--전체 테이블-->
<table width="100%" cellpadding="0" cellspacing="0" border="0">
 <tr>
 <td valign="top" align="center">
<!-- 여백 -->
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr><td height=5></td></tr>
</table>
<!-- 여백 끝 -->
<!-- 로고 / 탑 -->
<table width="890" cellpadding="0" cellspacing="0" border="0">
  <tr>
    <td width="0" height="5" border="0"></td>
  <td width="220" border="0"><a href="../"><img src="../img/logo.gif" border="0"></a></td>
  <td width="10" border="0"></td>
  <td width="670" border="0" align="right">
<!--로그인 및 검색-->
  <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
            <td align="right">
            <a href="../">HOME</a>
            ㅣ
            <!--로그인 이후-->
            <a href="../bbs/logout.php">로그아웃</a>
            ㅣ
            <a href="../bbs/member_confirm.php?url=register_form.php">정보수정</a>
            ㅣ
            <!--최근게시물-->
            <a href="../include/sitemap/site_map.php">사이트맵</a>
            </td>
            <td width="190" align="right">
<!--검색 시작-->
   <table width="100%" cellspacing="0" cellpadding="0">
    <tr>
     <td>
        <table width="100%" height="33" cellspacing="0" cellpadding="0">
        <form name="fsearchbox" method="get" action="javascript:fsearchbox_submit(document.fsearchbox);">
        <!-- <input type="hidden" name="sfl" value="concat(wr_subject,wr_content)"> -->
        <input type="hidden" name="sfl" value="wr_subject||wr_content">
        <input type="hidden" name="sop" value="and">
        <tr>
 
추천0

댓글목록

profile_image

힘쓰님의 댓글

힘쓰쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 작성일

이미지 첨부가 안되서 못올렸습니다.

profile_image

연후아빠님의 댓글

연후아빠쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 작성일

제나에 사용중인 서브입니다~
subhead.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");
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");

//print_r2(get_defined_constants());

// 사용자 화면 상단과 좌측을 담당하는 페이지입니다.
// 상단, 좌측 화면을 꾸미려면 이 파일을 수정합니다.
//***********************************************************************************************
// 라이센스는 http://sir.co.kr/gnuboard/g4_license.php를 따릅니다.
// 빌더명 : ZENABUILDER
// 제작일 : 2006-05-18
// 제작자 : 박관수 http://zeronara.net
// e-mail  : [email protected]
// 버그보완 : ZENABUILDER는 보완,패치,수정등의 어떠한 의무적인 책임을 가지지 않습니다.
// 개인, 상업적으로 이용 가능하나 사용자의 제작 및 소유물이 될 수는 없습니다.
// 제로나라(http://zeronara.net/)는 ZENABUILDER를 사용할 수 없거나 사용법을 제대로 인식하지 못해서
// 발생한 이익 손실, 업무 중단, 사업 정보의 손실 또는 금전상의 손실 등 사업상의 손해를
// 포함한 부수적이고 간접적인 손해에 대해서, 비록 이와 같은 손해 가능성에 대해서
// 사전에 알고 있었다고 해도 책임을 지지 않습니다.
// 저작권 : 이 주석 부분은 삭제할 수 없습니다.
//************************************************************************************************
?>
<!--전체 테이블-->
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td valign="top" align="<?=$zalign?>">
<!-- 여백 -->
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr><td height=5></td></tr>
</table>
<!-- 여백 끝 -->
<!-- 로고 / 탑 -->
<table width="<?=($totalwidth+170)?>" cellpadding="0" cellspacing="0" border="0">
  <tr>
    <td width="<?=$zleftfront?>" height="5" border="0"></td>
<td width="<?=$zleftwidth?>" border="0"><a href="<?=$g4['path']?>/"><img src="<?=$g4['path']?>/img/logo.gif" border="0"></a></td>
<td width="10" border="0"></td>
<td width="<?=($zcenterwidth+170)?>" border="0" align="right">
<!--로그인 및 검색-->
<table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
            <td align="right">
            <a href="<?=$g4['path']?>/">HOME</a>
            ㅣ
            <? if (!$member['mb_id']) { ?>
<!-- 로그인 이전-->
            <a href="<?=$g4['bbs_path']?>/login.php?url=<?=$urlencode?>">로그인</a>
            ㅣ
            <a href="<?=$g4['bbs_path']?>/register.php">회원가입</a>
            ㅣ
            <? } else { ?>
<!--로그인 이후-->
            <a href="<?=$g4['bbs_path']?>/logout.php">로그아웃</a>
            ㅣ
            <a href="<?=$g4['bbs_path']?>/member_confirm.php?url=register_form.php">정보수정</a>
            ㅣ
            <? } ?>
<!--최근게시물-->
            <a href="<?=$g4['path']?>/include/sitemap/site_map.php">사이트맵</a>
            </td>
            <td width="190" align="right">
<!--검색 시작-->
  <table width="100%" cellspacing="0" cellpadding="0">
    <tr>
    <td>
        <table width="100%" height="33" cellspacing="0" cellpadding="0">
        <form name="fsearchbox" method="get" action="javascript:fsearchbox_submit(document.fsearchbox);">
        <!-- <input type="hidden" name="sfl" value="concat(wr_subject,wr_content)"> -->
        <input type="hidden" name="sfl" value="wr_subject||wr_content">
        <input type="hidden" name="sop" value="and">
        <tr>
            <td width="10"></td>
            <td width="126" valign="middle" bgcolor="#FFFFFF"><INPUT name="stx" style="BORDER : 1px solid; border-color:#CCCCCC; width: 126px; HEIGHT: 20px; BACKGROUND-COLOR: #FFFFFF" maxlength="20"></td>
            <td width="5"></td>
            <td width="44"><input type="image" src="<?=$g4['path']?>/img/search_button.gif" border="0"></td>
            <td width="5"></td>
        </tr>
        </form>
        </table>
        </td>
    </tr>
    </table>

<script language="JavaScript">
function fsearchbox_submit(f)
{
    if (f.stx.value == '')
    {
        alert("검색어를 입력하세요.");
        f.stx.select();
        f.stx.focus();
        return;
    }

    /*
    // 검색에 많은 부하가 걸리는 경우 이 주석을 제거하세요.
    var cnt = 0;
    for (var i=0; i<f.stx.value.length; i++)
    {
        if (f.stx.value.charAt(i) == ' ')
            cnt++;
    }

    if (cnt > 1)
    {
        alert("빠른 검색을 위하여 검색어에 공백은 한개만 입력할 수 있습니다.");
        f.stx.select();
        f.stx.focus();
        return;
    }
    */

    f.action = "<?=$g4['bbs_path']?>/search.php";
    f.submit();
}
</script>
<!-- 검색 끝 -->
  </td>
  </tr>
    </table>
<!--로그인 및 검색끝--> 
</td>
<td width="10" border="0"></td>
<td width="<?=$zrightwidth?>" border="0"></td>
</tr>
</table>
<!-- 로고 / 탑 끝 -->
<!-- 상단메뉴 / 검색 -->
<table width="<?=($totalwidth+170)?>" cellpadding="0" cellspacing="0" border="0">
  <tr>
    <td width="<?=$zleftfront?>" height="66" border="0"></td>
<td width="1000" height="66" border="0" background="<?=$g4['path']?>/img/z1topb.gif" valign="top">

<? include_once("$g4[path]/include/mainmenu/zmain_menu.php"); //상단메뉴 ?>

</td>
<td width="<?=$zrightwidth?>" border="0"></td>
</tr>
</table>
<!-- 상단메뉴 / 검색 끝 -->
<!--여백 시작-->
<table width="<?=($totalwidth+170)?>" cellpadding="0" cellspacing="0" border="0">
  <tr>
    <td width="<?=$zleftfront?>" height="5" border="0"></td>
<td width="<?=$zleftwidth?>" border="0"></td>
<td width="10" border="0"></td>
<td width="<?=$zcenterwidth?>" border="0"></td>
<td width="10" border="0"></td>
<td width="<?=($zrightwidth+170)?>" border="0"></td>
</tr>
</table>
<!--여백 끝-->
<!--왼쪽/메인시작-->
<table width="<?=($totalwidth+170)?>" cellpadding="0" cellspacing="0" border="0">
  <tr>
    <td width="<?=$zleftfront?>" border="0"></td>
<td width="<?=$zleftwidth?>" border="0" align="center" valign="top">
<!--왼쪽-->
        <?=outlogin("invers_login_03"); // 외부 로그인 ?>
<? include_once("$g4[path]/include/demo.php"); //데모?>
        <? include_once("$g4[path]/include/leftmenu/leftmenu.php"); //왼쪽메뉴?>
        <iframe name="I1" target="_self" src="http://ia.www.naver.com/ia.nhn" width="220" height="105" scrolling="no" border="0" frameborder="0"></iframe>
<?=latest_banner("banner_left","leftbanner", 10, 1); //왼쪽배너 ?>
        <?=poll("basic"); // 설문조사 ?>
        <?=visit("basic"); // 방문자수 ?>
<!--왼쪽끝-->
</td>
<td width="10" border="0"></td>
<td width="<?=$zcenterwidth?>" border="0" align="center" valign="top">
<!--메인 index.php -->
<? include_once("$g4[path]/include/nav_top/nav_top.php"); // 네비게이션?>

profile_image

힘쓰님의 댓글의 댓글

힘쓰쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 작성일

첨부해주신 소스 참조해서 수정중입니다... @@

이제 이미지가 올라가네요 다시 한번 부탁드립니다.

제나환경설정에서
(전체레이어폭 1000, 왼쪽앞여백 50, 왼쪽폭 190, 센터폭 700, 오른쪽 퀵메뉴폭 50)
설정을 했고
z1topb.gif 이미지는 890으로 리사이즈 크기조정을 한상태입니다.

문제는(이미지참조) 상단메뉴 테이블이 오른쪽으로 약간 치우친 상태고
서브메뉴가 테이블 범위를 이탈합니다.

profile_image

연후아빠님의 댓글

연후아빠쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 작성일

subtail.php
*************
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");

// 사용자 화면 우측과 하단을 담당하는 페이지입니다.
// 우측, 하단 화면을 꾸미려면 이 파일을 수정합니다.
?>

<!--센터끝-->
</td>
<td width="10" border="0"></td>
<td width="<?=($zrightwidth+170)?>" border="0" align=center valign=top>
<!--오른쪽-->
<?php echo my_new("20", "100"); // "줄수", "글자수"?>
<table width="100%" cellpadding=0 cellspacing=0>
<tr><td height=5></td></tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="DDDDDD">
    <tr>
        <td>
            <table width="100%" border="0" cellpadding="0" cellspacing="4" bgcolor="F5F5F5">
                <tr>
                    <td valign="top" bgcolor="FFFFFF" style="padding:0px" align=center>

<script type="text/javascript"><!--
google_ad_client = "pub-3561142791712140";
google_alternate_color = "ffffff";
google_ad_width = 160;
google_ad_height = 90;
google_ad_format = "160x90_0ads_al_s";
//2007-03-28: 오사카민박, 홈페이지 무료빌더, 일본상품구매대행, 구매대행, 오사카
google_ad_channel = "2299494664+5228200658+5998126987+4068635752+8179058089";
//-->
</script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>

</td></tr>
</table>
</td></tr>
</table>
<!--오른쪽끝-->
</td>
</tr>
</table>

<table width="<?=($totalwidth+170)?>" cellpadding=0 cellspacing=0 border=0>
  <tr>
    <td width="<?=$zleftfront?>" height="5" border="0"></td>
<td width="<?=$zleftwidth?>" border="0"></td>
<td width="10" border="0"></td>
<td width="<?=$zcenterwidth?>" border="0"></td>
<td width="10" border="0"></td>
<td width="<?=($zrightwidth+170)?>" border="0"></td>
</tr>
</table>

<table width="<?=($totalwidth+170)?>" cellpadding=0 cellspacing=0 border=0>
  <tr bgcolor=#ECECEC>
        <td width="<?=$zleftfront?>" height="2" border="0"></td>
<td width="<?=$zleftwidth?>" border="0"></td>
<td width="10" border="0"></td>
<td width="<?=($zcenterwidth+170)?>" border="0"></td>
<td width="10" border="0"></td>
<td width="<?=$zrightwidth?>" border="0"></td>
</tr>
  <tr>
    <td width="<?=$zleftfront?>" border="0"></td>
<td colspan="4" height="30" border="0" align="center">
<!--내용안내-->
<table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td align="center" width="15%"><?= latest("basichtml", html5, 1, 100)?></td>
    <td align="center">ㅣ</td>
    <td align="center" width="15%"><?= latest("basichtml", html1, 1, 100)?></td>
    <td align="center">ㅣ</td>
    <td align="center" width="15%"><?= latest("basichtml", html4, 1, 100)?></td>
    <td align="center">ㅣ</td>
    <td align="center" width="15%"><?= latest("basichtml", html2, 1, 100)?></td>
    <td align="center">ㅣ</td>
    <td align="center" width="15%"><?= latest("basichtml", html3, 1, 100)?></td>
    </tr>
    </table>
<!--내용안내끝-->
</td>
<td width="10" border="0"></td>
<td width="<?=$zrightwidth?>" border="0"></td>
</tr>
<tr>
  <tr bgcolor=#ECECEC>
    <td width="<?=$zleftfront?>" height="1" border="0"></td>
<td width="<?=$zleftwidth?>" border="0"></td>
<td width="10" border="0"></td>
<td width="<?=($zcenterwidth+170)?>" border="0"></td>
<td width="10" border="0"></td>
<td width="<?=$zrightwidth?>" border="0"></td>
</tr>
<tr>
    <td width="<?=$zleftfront?>" border="0"></td>
<td width="<?=$zleftwidth?>" border="0" align="center">
<img src="<?=$g4['path']?>/img/logo.gif" border="0" style="filter:gray();">
</td>
<td width="10" border="0"></td>
<td width="<?=($zcenterwidth+170)?>" border="0" valign="bottom">
<!--카피라이트-->
      <br>
        <?=conv_content($config[cf_zcopyright], 0)?>
      <br><br>
<!--카피라이트끝--> 
</td>
<td width="10" border="0"></td>
<td width="<?=$zrightwidth?>" border="0"></td>
</tr>
</table>

</td>
</tr>
</table>
<?
include_once("$g4[path]/tail.sub.php");
?>

profile_image

힘쓰님의 댓글의 댓글

힘쓰쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 작성일

subtail.php 파일을 별도로 만들어 줘야하나요?

제나빌더 버전 1.8 or 1.9 버전에는 tail.sub.php 라는 파일밖에 없는데요???

profile_image

연후아빠님의 댓글의 댓글

연후아빠쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 작성일

네 별도로 만들어 주세요~

Total 1,640건 9 페이지
  • RSS
질문답변 목록
번호 제목 글쓴이 조회 추천 날짜
1440 첫만남의감격쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 13028 0 08-05
1439 맙소사쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 12996 0 06-30
1438
아빠님.^^ 댓글9
맙소사쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 12981 0 08-02
1437 보아스쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 12977 0 07-17
1436 심봉사쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 12960 0 09-07
1435 sharepia쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 12944 0 09-25
1434 독신쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 12942 0 07-30
1433 데이빗쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 12940 0 03-15
1432 용용쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 12933 0 09-17
1431 보아스쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 12914 0 07-12
1430 용용쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 12890 0 02-07
1429 맙소사쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 12860 0 07-24
1428 힘쓰쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 12847 0 03-02
1427 박미영쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 12818 0 06-26
1426 quarterback쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 12793 0 02-16
1425 쾌지나칭칭나네쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 12792 0 02-28
1424 김성수쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 12777 0 03-15
1423 수형아빠쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 12769 0 07-08
1422 검정하늘쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 12735 1 01-03
1421 오타짱쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 12726 0 03-19
1420 davi쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 12722 0 02-17
1419 골든쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 12711 0 06-11
1418 공감쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 12687 0 08-17
1417 알럽투데이쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 12678 0 10-21
1416 골든쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 12669 0 09-08

검색

회원로그인

회원가입

사이트 정보

株式会社YHPLUS / 대표 : ZERO
〒140-0011 東京都品川区東大井2-5-9-203
050-5539-7787
오픈카카오톡 (YHPLUS) :
https://open.kakao.com/o/slfDj15d

접속자집계

오늘
3,385
어제
4,618
최대
7,259
전체
1,238,933
Copyright (c) 株式会社YHPLUS. All rights reserved.