|
|
|
13-02-28
|
조회 1,537
|
|
|
|
13-02-28
|
조회 929
|
|
|
|
13-02-28
|
조회 1,690
|
|
|
|
13-02-28
|
조회 1,698
|
|
|
|
13-02-28
|
조회 1,691
|
|
|
|
13-02-28
|
조회 1,882
|
|
|
|
13-02-28
|
조회 1,631
|
|
|
|
13-02-28
|
조회 802
|
|
|
|
13-02-28
|
조회 2,968
|
|
|
|
13-02-28
|
조회 3,445
|
|
|
|
13-02-28
|
조회 1,635
|
|
|
|
13-02-28
|
조회 1,527
|
|
|
|
13-02-28
|
조회 1,090
|
|
|
|
13-02-28
|
조회 841
|
|
|
|
13-02-28
|
조회 8,037
|
|
|
|
13-02-28
|
조회 1,114
|
|
|
|
13-02-28
|
조회 1,056
|
|
|
|
13-02-28
|
조회 1,946
|
|
|
|
13-02-28
|
조회 853
|
|
|
|
13-02-28
|
조회 1,056
|
댓글 8개
즉 파일로 만드셨는지 아니면 헤드에 첨부해서 만들었는지 ???????????????
코드를 올려주세요.
질문이 너무 막연해서 답변이 어렵네요.
머이런식으로 변수 정의하시고
head.php 에서
if($index_mode <> "MAIN"){
//서브메뉴 불러올파일
include("~~~~~~~~");
또는
파일내용
}
쉽지가 않네요 ㅜㅜ
gnuboard4최신버젼의 왼쪽메뉴 입력부분같은경우
142 줄에
<!-- 왼쪽 메뉴 -->
<td width=220 valign=top>
<?=outlogin("basic"); // 외부 로그인 ?>
<div style='height:10px;'></div>
<?=poll("basic"); // 설문조사 ?>
<div style='height:10px;'></div>
<?=visit("basic"); // 방문자수 ?>
<div style='height:10px;'></div>
<?=connect(); // 현재 접속자수 ?>
</td>
이부분까지가 모두 왼쪽메뉴입니다.
이부분을
<!-- 왼쪽 메뉴 -->
<td width=220 valign=top>
<?=outlogin("basic"); // 외부 로그인 ?>
<div style='height:10px;'></div>
<?=poll("basic"); // 설문조사 ?>
<div style='height:10px;'></div>
<?=visit("basic"); // 방문자수 ?>
<div style='height:10px;'></div>
<?=connect(); // 현재 접속자수 ?>
<div style='height:10px;'></div>
<?include("파일경로/menu.htm")?> 왼쪽메뉴의 위치는 편할데로 바꾸시면 될득
</td>
이렇게하시면 왼쪽메뉴가 불러와 질겁니다
<? switch ($gr_id) {
case(gr_1):
include_once("$g4[path]/menu.htm");
break;
case(gr_2):
include_once("$g4[path]/menu1.htm");
break;
default :
include_once("$g4[path]/menu2.htm");
}
게시판 생성을 하실때 게시판 그룹를 먼저 생성을 하시고 그룹별로 게시판을 생성한 후 그룹아이디 값을 이용하는 방법입니다.
gr_1, gr_2 등등을 생성하신 그룹 아디로 바꿔주세요