c

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

test.jpg
<?
/**
* ZENAPLUS
*
* Copyright (c) 2006-05-18 Park Gwan Su <www.zeronara.net>
* e-mail : zeronara@gmail.com
* 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에서여 왼쪽 카테고리를 출력하고 싶지 않은데여
어딜 수정해야 할지 전혀 모르겠네여
상부 메뉴바 클릭시 각 페이지 마다 왼쪽 카테고리 출력이 않되게 할수 있나요

첨부파일

test.jpg (78 KB)
0회 2011-12-11 21:51
|

댓글 2개

<?// include_once("$g4[shop_path]/boxcategory.inc.php");?><br />
박스 카테고리라는게 보이지만.. 위에 이미 주석처리 되어 있고..
아마도 아래부분의 레프트 메뉴에 주석 처리해주면 될것 같네요!
<? if ($config[zncf_leftmenu_skin]) { ?><?=zn_leftmenu("$gr_id", "$bo_table"); // left menu?><? } ?>
초보라서여
자세하게 어떤식으로 주석처리 해야하나여
댓글을 작성하시려면 로그인이 필요합니다.

그누4 질문답변

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

+
제목 글쓴이 날짜 조회
14년 전 조회 1,023
14년 전 조회 2,669
14년 전 조회 2,467
14년 전 조회 2,511
14년 전 조회 2,354
14년 전 조회 796
14년 전 조회 2,011
14년 전 조회 772
14년 전 조회 913
14년 전 조회 869
14년 전 조회 773
14년 전 조회 660
14년 전 조회 2,969
14년 전 조회 779
14년 전 조회 1,715
14년 전 조회 753
14년 전 조회 1,018
14년 전 조회 1,544
14년 전 조회 1,558
14년 전 조회 777