질문??-메뉴 관련 > 그누4 질문답변

그누4 질문답변

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

질문??-메뉴 관련 정보

질문??-메뉴 관련

본문

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>

댓글 전체

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

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

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



내용



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



일반 페이지는 위와같은식으로 하시면 됩니다.
head위에 그룹변수를 직접 입력시켜 주는것이죠.
$gr_id = "etc"; // 이 파일의 그룹은?
전체 66,554 |RSS
그누4 질문답변 내용 검색

회원로그인

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