좌측메뉴 전체 없애려면 어디를 어떻게... 정보
좌측메뉴 전체 없애려면 어디를 어떻게...본문
댓글 전체
head.php
아래 내용 부분 삭제
<!-- 왼쪽 side div 시작 -->
<div class="snb">
.
.
.
.
.
</div>
<!-- 왼쪽 side 메뉴 끝 -->
아래 내용 부분 삭제
<!-- 왼쪽 side div 시작 -->
<div class="snb">
.
.
.
.
.
</div>
<!-- 왼쪽 side 메뉴 끝 -->
답변 감사합니다. 근데 저의 현재 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");
include_once("$g4[path]/lib/groupmenu.lib.php");
//print_r2(get_defined_constants());
// 사용자 화면 상단과 좌측을 담당하는 페이지입니다.
// 상단, 좌측 화면을 꾸미려면 이 파일을 수정합니다.
?>
<!-- 화면을 중앙 고정 시작 -->
<table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td align="center" valign="top">
<!-- 홈페이지 시작 -->
<table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td align="<?=$home_align?>" valign="top">
<table width="<?=$home_width?>" border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="3"><?include_once("$g4[path]/include/menu.php");?></td></tr>
<tr>
<td>
<?if($gr_id){?>
<!-- 메인 테이블 -->
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr height="6" colspan="4"><td></td></tr>
<tr>
<td width="<?=$home_left?>" valign="top">
<?include_once("$g4[path]/include/outlogin_color.php");?>
<?include_once("$g4[path]/include/sub_menu.php"); // 서브메뉴?>
</td>
<td width="<?=$home_margin?>"></td>
<td valign="top">
<?}?>
<?
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("$g4[path]/lib/groupmenu.lib.php");
//print_r2(get_defined_constants());
// 사용자 화면 상단과 좌측을 담당하는 페이지입니다.
// 상단, 좌측 화면을 꾸미려면 이 파일을 수정합니다.
?>
<!-- 화면을 중앙 고정 시작 -->
<table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td align="center" valign="top">
<!-- 홈페이지 시작 -->
<table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td align="<?=$home_align?>" valign="top">
<table width="<?=$home_width?>" border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="3"><?include_once("$g4[path]/include/menu.php");?></td></tr>
<tr>
<td>
<?if($gr_id){?>
<!-- 메인 테이블 -->
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr height="6" colspan="4"><td></td></tr>
<tr>
<td width="<?=$home_left?>" valign="top">
<?include_once("$g4[path]/include/outlogin_color.php");?>
<?include_once("$g4[path]/include/sub_menu.php"); // 서브메뉴?>
</td>
<td width="<?=$home_margin?>"></td>
<td valign="top">
<?}?>
해결했습니다. 감사요.
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr height="6" colspan="4"><td></td></tr>
<tr>
<td width="<?=$home_left?>" valign="top">
<?include_once("$g4[path]/include/outlogin_color.php");?>
<?include_once("$g4[path]/include/sub_menu.php"); // 서브메뉴?>
</td>
<td width="<?=$home_margin?>"></td>
<td valign="top">
이부분을 삭제하니 되네요.
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr height="6" colspan="4"><td></td></tr>
<tr>
<td width="<?=$home_left?>" valign="top">
<?include_once("$g4[path]/include/outlogin_color.php");?>
<?include_once("$g4[path]/include/sub_menu.php"); // 서브메뉴?>
</td>
<td width="<?=$home_margin?>"></td>
<td valign="top">
이부분을 삭제하니 되네요.