k

페이지의 메뉴 질문???

제 홈페이지를 보시며는 상단메뉴로는 English 소개, 영어교육, English Service, 등록신청, 커뮤니티 있습니다.

그리고, 왼편메뉴로 구성하는데 있어서, English 소개 페이지에서는 What is English?, English 소개 라는
메뉴가 있고, 영어교육 이라는 페이지에서는 3가지의 메뉴가 있으며, English service 페이지에서는
3가지 메뉴가 있고, 커뮤니티 페이지에서 보드로 이루어진 왼편메뉴 4가지가 있습니다.

결론적으로 말하자면, 위의 설명대로 페이지 구성을 하고 싶은데, 여러분들의 도움으로 시도해 보았지만, 잘 되지 않았습니다.


결론적으로,

아웃로그인 밑에 다가 페이지마다 왼편메뉴를 넣고 싶습니다.

그래서, 게시판으로 이루어진 페이지에 대해서는

head.php 파일을 이렇게 수정해 보았습니다.


-- 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> <img src="http://kimgeun.mireene.com/html/images/topline_img.gif" width="1" height="12"> <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> <img src="http://kimgeun.mireene.com/html/images/topline_img.gif" width="1" height="12"> <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> <img src="http://kimgeun.mireene.com/html/images/topline_img.gif" width="1" height="12"> <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> <img src="http://kimgeun.mireene.com/html/images/topline_img.gif" width="1" height="12"> <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>



---------------------------------------------------------------------------------------------------------------------------------



일반 페이지에서는 아웃로그인 밑에다 왼편 메뉴를 넣는 방법을 질문과 답변의 도움으로 해 보았지만,

너무 잘 되지 않았습니다.

이렇게요.....
우선 English 소개 페이지(http://kimgeun.mireene.com/engcon/intro.php)-------

----------------------------- intro.php ------------------------------------------



<?
include_once("./_common.php");
$g4[title] = " English Conversation '' ";
include_once("./_head.php");
$table_width = 770;
?>

<!-- 메인화면 최신글 시작 -->
<table width="<?=$table_width?>" border="0" cellpadding="0" cellspacing="0">
<tr valign="top">
<td colspan="2" valign="top"><div style="padding-left:12px;padding-top:14px;"><? include "../include/eintro.php" ?></div><br>
<br>
<table width="96%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td style="line-height:22px;font-size:12px;">

내 용
</td>
</tr>
</table>
</td>
</tr>
</table>
<!-- 메인화면 최신글 끝 -->

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


----------------------------------------------- intro.php 끝 -----------------------------------------------------------


그런데, 밑의 소스는 위의 소스 내에서 어느 부분에다 삽입을 해야 하나요....???


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

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

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



내용



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



정말로 제가 작업하기 어렵워요... 쉬운 것 같지만, 어렵워요...


도움을 주시면 감사하겠습니다.



그리고 첫 페이지(즉, index 페이지)에서는 아웃로그인 부분 밑에 전혀 메뉴가 없게 하고 싶습니다.
|

댓글 1개

----------------------------- intro.php ------------------------------------------



<?
include_once("./_common.php");
$g4[title] = " English Conversation '' ";
$gr_id = "etc"; // 이 파일의 그룹은?
include_once("./_head.php");
$table_width = 770;
?>

<!-- 메인화면 최신글 시작 -->
<table width="<?=$table_width?>" border="0" cellpadding="0" cellspacing="0">
<tr valign="top">
<td colspan="2" valign="top"><div style="padding-left:12px;padding-top:14px;"><? include "../include/eintro.php" ?></div><br>
<br>
<table width="96%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td style="line-height:22px;font-size:12px;">

내 용
</td>
</tr>
</table>
</td>
</tr>
</table>
<!-- 메인화면 최신글 끝 -->

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


----------------------------------------------- intro.php 끝 -----------------------------------------------------------
위와 같이 바꿔주시면 된다는 뜻 입니다.
($gr_id 를 빼먹으셨네요)
댓글을 작성하시려면 로그인이 필요합니다. 로그인

그누4 질문답변

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

+
제목 글쓴이 날짜 조회
20년 전 조회 1,604
20년 전 조회 1,995
20년 전 조회 1,605
20년 전 조회 1,765
20년 전 조회 3,809
20년 전 조회 1,639
20년 전 조회 1,601
20년 전 조회 1,941
20년 전 조회 2,702
20년 전 조회 1,625
20년 전 조회 1,935
20년 전 조회 2,155
20년 전 조회 2,016
20년 전 조회 1,640
20년 전 조회 1,909
20년 전 조회 1,506
20년 전 조회 1,648
20년 전 조회 1,755
20년 전 조회 1,980
20년 전 조회 1,748
🐛 버그신고