왼쪽 카테고리 출력하지 않게하기 > 그누4 질문답변

그누4 질문답변

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

왼쪽 카테고리 출력하지 않게하기 정보

왼쪽 카테고리 출력하지 않게하기

본문

<?
/**
 * ZENAPLUS
 *
 * Copyright (c) 2006-05-18 Park Gwan Su <www.zeronara.net>
 * e-mail : *** 개인정보보호를 위한 이메일주소 노출방지 ***
 * You are free: to Remix - to adapt the work
 * Attribution : You must attribute the work in the manner specified by the author or licensor (but not in any way that suggests that they endorse you or your use of the work).
 * Share Alike : If you alter, transform, or build upon this work, you may distribute the resulting work only under the same or similar license to this one.
 * Nothing in this license impairs or restricts the author's moral rights.
**/

if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가

include_once("$g4[path]/head.sub.php");
//print_r2(get_defined_constants());
?>

<!-- zenaplus -->
<div id="zenaplus">
<!-- zenalayout -->
<div id="zenalayout">
<!-- zn_head -->
<div class="zn_head">
<!-- zn_top_right -->
<!-- // zn_top_right -->
<div class="zn_top_left">
    <!-- zn_logo -->
    <div class="zn_mlogo"><a href="<?=$g4[path]?>"><?=$config[zpcf_logotitle]?></a></div>
    <!-- // zn_logo -->
</div>
<div class="zn_top_right padb10">
        <? if ($is_admin == "super" || $is_auth) { ?><a href="<?=$g4['admin_path']?>/">관리자</a>
        |
        <? } ?>
        <? if ($is_member) { ?>
        <a href='<?=$g4[bbs_path]?>/logout.php'>로그아웃</a>
        |
        <? } else { ?>
        <a href='<?=$g4[bbs_path]?>/login.php?url=<?=$urlencode?>'>로그인</a>
        |
        <a href='<?=$g4[bbs_path]?>/register.php'>회원가입</a>
        |
        <? } ?>
        <a href="<?=$g4['bbs_path']?>/new.php">최근게시물</a>
        |
        <a href="<?=$g4['shop_path']?>/cart.php">장바구니</a>
        |
        <a href="<?=$g4['shop_path']?>/order_list.php">구입내역</a>
        <br /><br />
        <!-- search -->
        <? if($config[zpcf_index] == "1") { ?>
        <div class="search">
        <form name="fsearchbox" method="get" onsubmit="return fsearchbox_submit(this);">
        <input type="hidden" name="sfl" value="wr_subject||wr_content">
        <input type="hidden" name="sop" value="and">
        <div class="btn_search">
        <input type="image" src="<?=$zp[Temp_path]?>/<?=$config[zncf_templates]?>/img/btn_search03.gif" border="0" style="vertical-align:middle;" alt="검색">
        </div>
        <div class="searchtable">
        <div style="margin:0px 5px 0 0; padding:1px 2px 1px 2px; border:1px solid #e0e4e6;">
        <input name=stx style="width:150px; border:0px; padding:1px 2px; font-weight:bold;">
        </div>
        </div>
        </form>
        <script type="text/javascript">
        function fsearchbox_submit(f)
        {
        var cnt = 0;
        for (var i=0; i<f.stx.value.length; i++) {
        if (f.stx.value.charAt(i) == ' ')
        cnt++;
        }
        /*
        if (cnt > 1) {
        alert("<?=$set_lang_search_alert2?>");
        f.stx.select();
        f.stx.focus();
        return false;
        }
        */
        f.action = "<?=$g4['bbs_path']?>/search.php";
        return true;
        }
        </script>
        </div>
        <? } else if($config[zpcf_index] == "2") { ?>
        <div class="search">
        <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=''>
        <div class="btn_search">
        <input type="image" src="<?=$zp[Temp_path]?>/<?=$config[zncf_templates]?>/img/btn_search03.gif" border="0" style="vertical-align:middle;" alt="검색">
        </div>
        <div class="searchtable">
        <div style="margin:0px 5px 0 0; padding:1px 2px 1px 2px; border:1px solid #e0e4e6;">
        <input name=search_str style="width:150px; border:0px; padding:1px 2px; font-weight:bold;" value='<?=stripslashes(get_text($search_str))?>'>
        </div>
        </div>
        </form>
        <script>
        function search_submit(f) {
                f.action = '<?=$g4[shop_path]?>/search.php';
        }

        <?
        if ($search_flag) {
            echo "document.getElementById('search_flag').value = '$search_flag';";
        }
        ?>
        </script>
        </div>
        <? } ?>
        <!-- // search -->
</div>
</div>
<!-- // zn_head -->
<!-- zn_topmenu -->
<div class="clear zn_topmenu"><?=zn_topmenu("$gr_id", "$bo_table"); // topmenu?></div>
<!-- // zn_topmenu -->
<div class="padb5"></div>
<!-- zn_subtopbanner -->
<div class="zn_subtopbanner">
<? if($gr_id) { ?>
<?=zp_banner($gr_id,'',940);?>
<? } ?>
<?=zp_banner('shop_bn','',940);?>
</div>
<!-- // zn_subtopbanner -->
<!-- zn_center -->
<? if ($config[zncf_topmenu_skin]) { ?>
<div class="zn_center" onmouseover="layer_view('','','','','')">
<? } else { ?>
<div class="zn_center">
<? } ?>
<!-- left -->
<div class="mainleft">
    <? if ($config[zncf_outlogin_skin]) { ?><?=outlogin(); // login ?><br /><? } ?>
    <?// include_once("$g4[shop_path]/boxcategory.inc.php");?><br />
    <? if ($config[zncf_leftmenu_skin]) { ?><?=zn_leftmenu("$gr_id", "$bo_table"); // left menu?><? } ?>
    <? if ($config[zncf_popular_skin]) { ?><?=popular(); // popular?><br /><? } ?>
    <?=zp_banner('left_bn','',180);?>
    <?// include_once("$g4[shop_path]/boxevent.inc.php");?>
    <?// include_once("$g4[shop_path]/boxcommunity.inc.php");?>
    <?// include_once("$g4[shop_path]/boxcart.inc.php");?>
    <?// include_once("$g4[shop_path]/boxwish.inc.php");?>
    <? if ($config[zncf_qrcorduse]) { ?>
    <? include_once("$g4[path]/qr_view.php");?><br />
    <? } ?>
    <!--boxtodayview-->
    <?// include("$g4[shop_path]/boxtodayview.inc.php");?><br />
    <!-- //boxtodayview -->
    <? if ($config[zncf_poll_skin]) { ?><?=poll(); // poll?><br /><? } ?>
    <? if ($config[zncf_visit_skin]) { ?><?=visit(); // visit?><br /><? } ?>
    <? if ($config[cf_connect_skin]) { ?><?=connect(); // connect?><br /><? } ?>
</div>
<!-- // left -->
<!-- index -->
<div class="index">

홈페이지 초보입니다.
shop에서여 왼쪽 카테고리를 출력하고 싶지 않은데여
어딜 수정해야 할지 전혀 모르겠네여
상부 메뉴바 클릭시 각 페이지 마다 왼쪽 카테고리 출력이 않되게 할수 있나요

댓글 전체

<?// include_once("$g4[shop_path]/boxcategory.inc.php");?><br />
박스 카테고리라는게 보이지만.. 위에 이미 주석처리 되어 있고..
아마도 아래부분의 레프트 메뉴에 주석 처리해주면 될것 같네요! 
    <? if ($config[zncf_leftmenu_skin]) { ?><?=zn_leftmenu("$gr_id", "$bo_table"); // left menu?><? } ?>
전체 66,554 |RSS
그누4 질문답변 내용 검색

회원로그인

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