k

질문??-메뉴 관련

1,616 번호에 답변 주신것 감사합니다.

하지만 회사소개 페이지 말고도 다른 일반페이지에서 이 방법이 동일하게 적용되나요?

혹시 하나의 대메뉴 뿐만 아니라, 다른 것도(메뉴:일반페이지) 가능한가요???


혹, 다른 방법이 있는 지요??

근데, 일반페이지에서도 자기가 원하는 왼편메뉴만을 불러올 수 있는 방법이 있습니까?


--- 게시판 그룹아이디를 이용했는 메뉴 처리법 ---(head.php파일에서....)


<?
if (!defined("_GNUBOARD_")) exit; // °³º° Æ&auml;&Agrave;&Igrave;&Aacute;&ouml; &Aacute;&cent;±&Ugrave; º&Ograve;°¡

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());

// &raquo;&ccedil;¿&euml;&Agrave;&Uacute; &Egrave;­¸&eacute; &raquo;&oacute;´&Uuml;°&uacute; &Aacute;&Acirc;&Atilde;ø&Agrave;&raquo; ´&atilde;´&ccedil;&Ccedil;&Iuml;´&Acirc; Æ&auml;&Agrave;&Igrave;&Aacute;&ouml;&Agrave;&Ocirc;´&Iuml;´&Ugrave;.
// &raquo;&oacute;´&Uuml;, &Aacute;&Acirc;&Atilde;ø &Egrave;­¸&eacute;&Agrave;&raquo; ²&Ugrave;¹&Igrave;·&Aacute;¸&eacute; &Agrave;&Igrave; Æ&Auml;&Agrave;&Iuml;&Agrave;&raquo; ¼&ouml;&Aacute;¤&Ccedil;&Otilde;´&Iuml;´&Ugrave;.

$table_width = 1000;
?>


<!-- &raquo;&oacute;´&Uuml; ·&Icirc;°&iacute; ¹× ¹&ouml;ư ¹× &Ccedil;&Atilde;·¡½&not; &Agrave;&Igrave;¹&Igrave;&Aacute;&ouml; ½&Atilde;&Agrave;&Ucirc; -->
<table width="1000" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="36">
<table width="100%" height="36" border="0" cellpadding="0" cellspacing="0" background="http://kimgeun.mireene.com/html/images/main_img.jpg">
<? if (!$member[mb_id]) { ?>
<!-- ·&Icirc;±×&Agrave;&Icirc; &Agrave;&Igrave;&Agrave;&uuml; -->
<tr>
<td align="center" style="padding-left:631px;padding-top:10px;"><a href="/"><img src="http://kimgeun.mireene.com/html/images/home_img.gif" width="43" height="16" border="0"></a>&nbsp;<img src="http://kimgeun.mireene.com/html/images/topline_img.gif" width="1" height="12">&nbsp;<a href="<?=$g4[bbs_path]?>/login.php?url=<?=$urlencode?>"><img src="http://kimgeun.mireene.com/html/images/login_img.gif" width="43" height="16" border="0"></a>&nbsp;<img src="http://kimgeun.mireene.com/html/images/topline_img.gif" width="1" height="12">&nbsp;<img src="http://kimgeun.mireene.com/html/images/contact_img.gif" width="48" height="16"></td>
</tr>
<? } else { ?>
<!-- ·&Icirc;±×&Agrave;&Icirc; &Agrave;&Igrave;&Egrave;&Auml; -->
<tr>
<td align="center" style="padding-left:631px;padding-top:6px;"><a href="/"><img src="http://kimgeun.mireene.com/html/images/home_img.gif" width="43" height="16" border="0"></a>&nbsp;<img src="http://kimgeun.mireene.com/html/images/topline_img.gif" width="1" height="12">&nbsp;<a href="<?=$g4[bbs_path]?>/logout.php"><img src="http://kimgeun.mireene.com/html/images/logout_img.gif" width="53" height="16" border="0"></a>&nbsp;<img src="http://kimgeun.mireene.com/html/images/topline_img.gif" width="1" height="12">&nbsp;<img src="http://kimgeun.mireene.com/html/images/contact_img.gif" width="48" height="16"></td>

</tr>
<? } ?>
</table>
</td>
</tr>
<tr>
<td><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="1000" height="378" hspace="0" vspace="0">
<param name="movie" value="http://kimgeun.mireene.com/html/images/main_image.swf">
<param name="quality" value="high">
<embed src="http://kimgeun.mireene.com/html/images/main_image.swf" width="1000" height="378" hspace="0" vspace="0" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed>
</object></td>
</tr>
</table>
<!-- &raquo;&oacute;´&Uuml; ·&Icirc;°&iacute; ¹× ¹&ouml;ư ¹&ouml;ư ¹× &Ccedil;&Atilde;·¡½&not; &Agrave;&Igrave;¹&Igrave;&Aacute;&ouml; ³¡ -->





<style type="text/css">
#middiv {
width:<?=$table_width?>px;
position:relative;
margin:0px auto;
vertical-align:top;
float:left;
}
#middiv #mleft { width:220px; float:left; padding:0 0 0 43; }
#middiv #mright { width:683px; float:left; padding:0 0 0 15; }
body { background-color : #FEF0FF }
</style>


<table width='100%' cellpadding=0 cellspacing=0>
<tr>
<td width=43></td>
<td width=279 valign=top>
<div style='height:12px;'></div>
<table width="227" border="0" cellspacing="0" cellpadding="0">
<tr>
<td style="padding-left:5px;"> <?=outlogin("basic"); // ¿&Uuml;º&Icirc; ·&Icirc;±×&Agrave;&Icirc; ?></td>
</tr>
</table>


<div style='height:10px;'></div>
<?
switch ($gr_id) {

case(community):
include_once("../../include/community.php");
break;

case(edu):
include_once("../../include/m_level.php");
break;


}
?>



</td>
<td width=683 valign=top>
|

댓글 1개

<?
include_once("./_common.php");

$gr_id = "etc"; // 이 파일의 그룹은?

include_once("./_head.php");
?>



내용



<?
include_once("./_tail.php");
?>



일반 페이지는 위와같은식으로 하시면 됩니다.
head위에 그룹변수를 직접 입력시켜 주는것이죠.
$gr_id = "etc"; // 이 파일의 그룹은?
댓글을 작성하시려면 로그인이 필요합니다. 로그인

그누4 질문답변

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

+
제목 글쓴이 날짜 조회
20년 전 조회 2,702
20년 전 조회 1,624
20년 전 조회 2,062
20년 전 조회 1,935
20년 전 조회 2,155
20년 전 조회 2,016
20년 전 조회 1,639
20년 전 조회 1,909
20년 전 조회 1,506
20년 전 조회 1,648
20년 전 조회 1,747
20년 전 조회 1,982
20년 전 조회 2,457
20년 전 조회 4,958
20년 전 조회 1,975
20년 전 조회 4,032
20년 전 조회 1,652
20년 전 조회 2,299
20년 전 조회 1,903
20년 전 조회 2,270
🐛 버그신고