서브메뉴 넣는방법좀요. (수정) 정보
서브메뉴 넣는방법좀요. (수정)본문
오류가 나는곳의 주소를 알려주시면 더 빠르고 정확하게 답변 받을 수 있습니다.
오류 주소 :
현재 코어빌더 날개형 ver.001 사용중 입니다..
서브메뉴부분을 채팅방윗부분에 고정시키고 싶은데 어떻게 해야 되죠??
완젼 초보라서 뭘 어떻게 건드려야 될 지 모르겠습니다.
도와주십시요...^^
<?
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/latest.lib.php");
//print_r2(get_defined_constants());
// 사용자 화면 상단과 좌측을 담당하는 페이지입니다.
// 상단, 좌측 화면을 꾸미려면 이 파일을 수정합니다.
$table_width = 960;
?>
<table style="BORDER-RIGHT: #dce4fd 0px solid; BORDER-TOP: #dce4fd 0px solid; BORDER-LEFT: #dce4fd 0px solid; BORDER-BOTTOM: #E9E9E9 1px solid"
width="100%" height=20 bgColor=#F7F7F7 border=0 align=center>
<tr><td>
<!-- 상단 배경 시작 -->
<table width="900" align=center>
<tr>
<td align=right>
</table>
<!-- 상단 배경 끝 -->
<!-- 상단 로고 및 버튼 시작 -->
<table width="<?=$table_width?>" align="center" cellspacing="0" cellpadding="0">
<tr>
<td width="43" height="57"></td>
<!-- 로고 -->
<td><a href="<?=$g4['path']?>/"><img src="<?=$g4['path']?>/img/logo.gif" border="0"></a></td>
<td>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td> </td>
</tr>
</table>
</td>
<td width="390" align="right">
</td>
<td width="35"></td>
</tr>
</table>
<!-- 상단 로고 및 버튼 끝 -->
<!-- 검색 시작 -->
<table width="<?=$table_width?>" align="center" cellspacing="0" cellpadding="0">
<tr>
<td align="center"><?=menu("blue")?> </td>
</tr>
</table>
<script type="text/javascript">
function fsearchbox_submit(f)
{
if (f.stx.value.length < 2) {
alert("검색어는 두글자 이상 입력하십시오.");
f.stx.select();
f.stx.focus();
return false;
}
// 검색에 많은 부하가 걸리는 경우 이 주석을 제거하세요.
var cnt = 0;
for (var i=0; i<f.stx.value.length; i++) {
if (f.stx.value.charAt(i) == ' ')
cnt++;
}
if (cnt > 1) {
alert("빠른 검색을 위하여 검색어에 공백은 한개만 입력할 수 있습니다.");
f.stx.select();
f.stx.focus();
return false;
}
f.action = "<?=$g4['bbs_path']?>/search.php";
return true;
}
</script>
<!-- 검색 끝 -->
<div style='height:18px;'></div>
<table width='<?=$table_width?>' align="center" cellpadding=0 cellspacing=0 border=0>
<tr>
<td width=23></td>
<!-- 왼쪽 메뉴 -->
<td width=220 valign=top>
<?=outlogin("dn_login"); // 외부 로그인 ?>
<table style="BORDER-RIGHT: #E0E0E0 1px solid; BORDER-TOP: #E0E0E0 1px solid; BORDER-LEFT: #E0E0E0 1px solid; BORDER-BOTTOM: #E0E0E0 1px solid"
cellSpacing=7 cellPadding=0 width="100%" height="400" bgColor=#F3F3F3 border=0 align=center>
<tr>
<td valign=top>
<style type="text/css">
<!--
body {
margin-left: 1px;
margin-top: 1px;
margin-right: 1px;
margin-bottom: 1px;
}
-->
</style>
<?
if($GLOBALS['userKeyDefined'] != 1) {
$GLOBALS['userKeyDefined'] = 1;
function userKey($user, $roomKey) {
return md5(md5($user . $roomKey) . $roomKey);
}
}
if(true){
$chatroom = "~~ad8844";
//채팅방 option 주고 싶으면 아래 코맨트 제거 (예로 글씨 크게, 대화방 세로형)
//$chatroom = $chatroom . "&fontlarge=true&position=2";
$roomkey = "93137a907ccca848c1ca335078f3feab";
$gagaadmin = "admin";
$heightz = "100%";
$widthz = "100%";
$gagaadmin = preg_replace('/\s*,\s*/', ',', $gagaadmin);
$gagaadmins = split(',', $gagaadmin);
$userz = $member[mb_id];
$usernickz = $member[mb_nick];
$userkey = userKey($usernickz, $roomkey);
foreach($gagaadmins as $value) {
if($userz == $value) {
$userkey = userKey(userKey($usernickz, $roomkey), $roomkey);
}
}
$usernickz = urlencode($usernickz);
?>
<center>
<script src="http://www.gagalive.kr/Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
<script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0','width','<?=$widthz?>','height','<?=$heightz?>','title','가가라이브 대화방','src','http://www.gagalive.kr/livechat1?&chatroom=<?echo $chatroom?>&user=<?echo $usernickz?>&encrypt=<?echo $userkey?>','quality','high','pluginspage','http://www.macromedia.com/go/getflashplayer','movie','http://www.gagalive.kr/livechat1?&chatroom=<?echo $chatroom?>&user=<?echo $usernickz?>&encrypt=<?echo $userkey?>' ); //end AC code
</script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="<?=$widthz?>" height="<?=$heightz?>" title="가가라이브 대화방">
<param name="movie" value="http://www.gagalive.kr/livechat1.swf?&chatroom=<?echo $chatroom?>&user=<?echo $usernickz?>&encrypt=<?echo $userkey?>">
<param name="quality" value="high">
<embed src="http://www.gagalive.kr/livechat1.swf?&chatroom=<?echo $chatroom?>&user=<?echo $usernickz?>&encrypt=<?echo $userkey?>" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="<?=$widthz?>" height="<?=$heightz?>"></embed>
</object></noscript>
</center>
<?
}
?>
</td>
</tr>
</table>
<table>
<tr>
<td height=3></td>
</tr>
</table>
<?=poll("basic"); // 설문조사 ?>
<table>
<tr>
<td height=3></td>
</tr>
</table>
<table>
<tr>
<td height=10></td>
</tr>
</table>
<?=visit("basic"); // 방문자수 ?>
<table>
<tr>
<td height=3></td>
</tr>
</table>
<?=connect(); // 현재 접속자수 ?>
</td>
<td width=10></td>
<!-- 중간 -->
<td width=670 valign=top align="center">
오류 주소 :
현재 코어빌더 날개형 ver.001 사용중 입니다..
서브메뉴부분을 채팅방윗부분에 고정시키고 싶은데 어떻게 해야 되죠??
완젼 초보라서 뭘 어떻게 건드려야 될 지 모르겠습니다.
도와주십시요...^^
<?
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/latest.lib.php");
//print_r2(get_defined_constants());
// 사용자 화면 상단과 좌측을 담당하는 페이지입니다.
// 상단, 좌측 화면을 꾸미려면 이 파일을 수정합니다.
$table_width = 960;
?>
<table style="BORDER-RIGHT: #dce4fd 0px solid; BORDER-TOP: #dce4fd 0px solid; BORDER-LEFT: #dce4fd 0px solid; BORDER-BOTTOM: #E9E9E9 1px solid"
width="100%" height=20 bgColor=#F7F7F7 border=0 align=center>
<tr><td>
<!-- 상단 배경 시작 -->
<table width="900" align=center>
<tr>
<td align=right>
</table>
<!-- 상단 배경 끝 -->
<!-- 상단 로고 및 버튼 시작 -->
<table width="<?=$table_width?>" align="center" cellspacing="0" cellpadding="0">
<tr>
<td width="43" height="57"></td>
<!-- 로고 -->
<td><a href="<?=$g4['path']?>/"><img src="<?=$g4['path']?>/img/logo.gif" border="0"></a></td>
<td>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td> </td>
</tr>
</table>
</td>
<td width="390" align="right">
</td>
<td width="35"></td>
</tr>
</table>
<!-- 상단 로고 및 버튼 끝 -->
<!-- 검색 시작 -->
<table width="<?=$table_width?>" align="center" cellspacing="0" cellpadding="0">
<tr>
<td align="center"><?=menu("blue")?> </td>
</tr>
</table>
<script type="text/javascript">
function fsearchbox_submit(f)
{
if (f.stx.value.length < 2) {
alert("검색어는 두글자 이상 입력하십시오.");
f.stx.select();
f.stx.focus();
return false;
}
// 검색에 많은 부하가 걸리는 경우 이 주석을 제거하세요.
var cnt = 0;
for (var i=0; i<f.stx.value.length; i++) {
if (f.stx.value.charAt(i) == ' ')
cnt++;
}
if (cnt > 1) {
alert("빠른 검색을 위하여 검색어에 공백은 한개만 입력할 수 있습니다.");
f.stx.select();
f.stx.focus();
return false;
}
f.action = "<?=$g4['bbs_path']?>/search.php";
return true;
}
</script>
<!-- 검색 끝 -->
<div style='height:18px;'></div>
<table width='<?=$table_width?>' align="center" cellpadding=0 cellspacing=0 border=0>
<tr>
<td width=23></td>
<!-- 왼쪽 메뉴 -->
<td width=220 valign=top>
<?=outlogin("dn_login"); // 외부 로그인 ?>
<table style="BORDER-RIGHT: #E0E0E0 1px solid; BORDER-TOP: #E0E0E0 1px solid; BORDER-LEFT: #E0E0E0 1px solid; BORDER-BOTTOM: #E0E0E0 1px solid"
cellSpacing=7 cellPadding=0 width="100%" height="400" bgColor=#F3F3F3 border=0 align=center>
<tr>
<td valign=top>
<style type="text/css">
<!--
body {
margin-left: 1px;
margin-top: 1px;
margin-right: 1px;
margin-bottom: 1px;
}
-->
</style>
<?
if($GLOBALS['userKeyDefined'] != 1) {
$GLOBALS['userKeyDefined'] = 1;
function userKey($user, $roomKey) {
return md5(md5($user . $roomKey) . $roomKey);
}
}
if(true){
$chatroom = "~~ad8844";
//채팅방 option 주고 싶으면 아래 코맨트 제거 (예로 글씨 크게, 대화방 세로형)
//$chatroom = $chatroom . "&fontlarge=true&position=2";
$roomkey = "93137a907ccca848c1ca335078f3feab";
$gagaadmin = "admin";
$heightz = "100%";
$widthz = "100%";
$gagaadmin = preg_replace('/\s*,\s*/', ',', $gagaadmin);
$gagaadmins = split(',', $gagaadmin);
$userz = $member[mb_id];
$usernickz = $member[mb_nick];
$userkey = userKey($usernickz, $roomkey);
foreach($gagaadmins as $value) {
if($userz == $value) {
$userkey = userKey(userKey($usernickz, $roomkey), $roomkey);
}
}
$usernickz = urlencode($usernickz);
?>
<center>
<script src="http://www.gagalive.kr/Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
<script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0','width','<?=$widthz?>','height','<?=$heightz?>','title','가가라이브 대화방','src','http://www.gagalive.kr/livechat1?&chatroom=<?echo $chatroom?>&user=<?echo $usernickz?>&encrypt=<?echo $userkey?>','quality','high','pluginspage','http://www.macromedia.com/go/getflashplayer','movie','http://www.gagalive.kr/livechat1?&chatroom=<?echo $chatroom?>&user=<?echo $usernickz?>&encrypt=<?echo $userkey?>' ); //end AC code
</script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="<?=$widthz?>" height="<?=$heightz?>" title="가가라이브 대화방">
<param name="movie" value="http://www.gagalive.kr/livechat1.swf?&chatroom=<?echo $chatroom?>&user=<?echo $usernickz?>&encrypt=<?echo $userkey?>">
<param name="quality" value="high">
<embed src="http://www.gagalive.kr/livechat1.swf?&chatroom=<?echo $chatroom?>&user=<?echo $usernickz?>&encrypt=<?echo $userkey?>" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="<?=$widthz?>" height="<?=$heightz?>"></embed>
</object></noscript>
</center>
<?
}
?>
</td>
</tr>
</table>
<table>
<tr>
<td height=3></td>
</tr>
</table>
<?=poll("basic"); // 설문조사 ?>
<table>
<tr>
<td height=3></td>
</tr>
</table>
<table>
<tr>
<td height=10></td>
</tr>
</table>
<?=visit("basic"); // 방문자수 ?>
<table>
<tr>
<td height=3></td>
</tr>
</table>
<?=connect(); // 현재 접속자수 ?>
</td>
<td width=10></td>
<!-- 중간 -->
<td width=670 valign=top align="center">
댓글 전체

head.php 수정하세요 ㅇㅅㅇ
어느부분을 수정을 해야 하나요!! ( 완전 생 초보라서요.. )

그누보드 자체에 매뉴를 만드는 기능은 없어요;;
직접 만드셔야하는데요;;
그것까지 만들어 달라고 하시면 너무 어려워요 ㅠㅠ
재작 의뢰게시판을 사용하셔야될듯합니다;;
직접 만드셔야하는데요;;
그것까지 만들어 달라고 하시면 너무 어려워요 ㅠㅠ
재작 의뢰게시판을 사용하셔야될듯합니다;;