그림 제자리 놓기를 헤메고있습니다. 도움을 정중히 청합니다. 정보
그림 제자리 놓기를 헤메고있습니다. 도움을 정중히 청합니다.관련링크
http://www.weeklyus.net/bo6/
152회 연결
본문
너무 복잡해서 죄송합니다.
첫번째 문제
아는 회원님이 만든 사이트를 카피해서 연습중에 있습니다.
위를 크릭하시면
회사소개 서비스안내 이용요금 이용요금 모집요강 고객지원 이 있는 배경 메뉴바를 똑같이
다음페이지 http://www.weeklyus.net/bo6/bbs/group.php?gr_id=z1 에 적용하고 싶은데
몇시간을 헤메도 제자리입니다.
그림이 있는 주소는 http://www.weeklyus.net/bo6/include/mainmenu/top.gif 입니다.
하두 안되서 아래 코드의 그림화일과 똑같이
submain<?=$color_layer?>_02.gif(실제화일명:submain216BC3_02.gif) 이렇게 고쳐도 놓았고 top.gif도 같은 폴드에 있습니다.둘다 똑같은 이미지 입니다.
서브메인의 코드는 아래와 같습니다. 제가 생각하기에 이부분을 수정하면 될 것 같은데
너무 안됩니다.
공부한다고 다른님의 코드를 가져와 고치다 보니 필요없는부분도 상당히 있습니다.
그래서 더 헤메는것 같습니다.몇시간을 고치고 업로드해서 보고 해도 안되네요
결국 제자리입니다.
PS:<?=$color_layer?>_02.gif 는 그누보드와 제나빌더를 깔아서 버튼을 바꾸면 칼라가 자동으로 바뀌는 소스입니다
설명이 조금 헷갈리면서 부족 할 수도 있겠습니다.
아래는 코드입니다.
<!--LOGO / LOGIN / LOGOUT / NEW / SITEMAP / EMAIL / SEARCH--> <!--SUBMAIN MENU / NOTICE--> <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr> <td width="100%" align="center" background="<?=$g4['path']?>/include/mainmenu/img/submain<?=$color_layer?>_02.gif"> <table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="5"><img src="<?=$g4['path']?>/include/mainmenu/img/submain<?=$color_layer?>_01.gif" width="5" height="39" border="0"></td> <td border="0"> <!--SUBMAINMENU--> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="195" align='center'></td> <td height="37" align='center'><? include_once("$g4[path]/include/mainmenu/subzmain_menu.php"); //MAINMENU ?></td> </tr> <tr> <td colspan="2" height="27"> </td> </tr> </table> <!--/SUBMAIN MENU--> </td> <td width="5"><img src="<?=$g4['path']?>/include/mainmenu/img/submain<?=$color_layer?>_03.gif" width="5" height="39" border="0"></td> </tr> </table> </td> </tr> </table> <!--SUBMAIN MENU / NOTICE--> <!--BLANK--> <table width="100%" cellpadding=0 cellspacing=0 border=0> |
두번째 문제
메인페이지에 보면 오른쪽의 움직이는 레이어바 퀵메뉴가 크기가 바로 나오는데
서브페이지에는 작아져 버렸습니다.
혹시 같이 도움주실수 있으면 좋겠습니다.
메인페이지 소스보기 하면 보일 겁니다.
세번째 문제
관리자로 로그인을 하면 게시판의 관리자 버튼을 크릭하면 관리자 화면으로 넘어가
관리자 환경설정페이지로 넘어가는데
로그인의 Admin버튼을 크릭하면 아래와 같은 에러메세지가 나옵니다.
다른님의 사이트소스를 그대로 적용해서 제 사이트와 무엇인가 맞지 않아 생긴것 같습니다.
고수님들께 도움을 정중히 청합니다. ㅠㅠ
세번째 문제 에러 코드입니다.
Warning: main(./_head.php) [function.main]: failed to open stream: No such file or directory in /homepages/43/d194845922/htdocs/bo6/adm/index.php on line 6
Warning: main() [function.include]: Failed opening './_head.php' for inclusion (include_path='.:/usr/local/lib/php') in /homepages/43/d194845922/htdocs/bo6/adm/index.php on line 6
|
adm/index.php on line 6 의 코드는 다음과 같습니다.
1<?
2include_once("./_common.php");
3include_once("$g4[path]/lib/latest.lib.php");
2include_once("./_common.php");
3include_once("$g4[path]/lib/latest.lib.php");
4
5$g4['title'] = "";
6include_once("./_head.php");
7?>
6include_once("./_head.php");
7?>
8
9<!--INDEX-->
10 <table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
11 <tr>
12<!--MAIN BANNER-->
<td width="440" align="center" valign="top"><?=latest_banner("banner_main", $grbanner, 1, 24); //MAIN BANNER?></td>
<!--/MAIN BANNER-->
10 <table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
11 <tr>
12<!--MAIN BANNER-->
<td width="440" align="center" valign="top"><?=latest_banner("banner_main", $grbanner, 1, 24); //MAIN BANNER?></td>
<!--/MAIN BANNER-->
_head.php화일은 루트에 있는것을 adm폴드에 넣어보았더니 아래와같이 에러납니다.
너무 복잡해서 죄송합니다.
댓글 전체

세번째.
루트에 있는 것을 adm 폴더에 넣어서 그렇습니다.
왜 넣으셨는지는 모르겠지만 넣을 일이 없을 텐데요. 음..
include_once("./_head.php");
동일 폴더내(./)에서 _head.php를 찾아서 포함시킨다는 겁니다.
index.php와 동일 폴더에 위치 시키십시요.
루트에 있는 것을 adm 폴더에 넣어서 그렇습니다.
왜 넣으셨는지는 모르겠지만 넣을 일이 없을 텐데요. 음..
include_once("./_head.php");
동일 폴더내(./)에서 _head.php를 찾아서 포함시킨다는 겁니다.
index.php와 동일 폴더에 위치 시키십시요.