네이트온 아이디 남겨놓을게요 혹시 괜찮으시면 친추해서 알려주시면 감사하겠습니다.
아래 head.php 부분과 layout.css 소스 올려 놓을게요
HEAD.PHP 파일 소스
<?
<div style="width:10px;"> </div>
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("./_common.php");
$subName = explode("/",$_SERVER['PHP_SELF']);
$rea_page = $subName[2];
if($bo_table){
//게시판
switch ($bo_table)
{
case "a05" : $sub_bar = "lmenu1.php"; $sub_title = "ltop1.png"; $sub_rtitle = "rtop5.jpg"; $sub_img = "simg1.jpg"; break;
case "b02" : $sub_bar = "lmenu2.php"; $sub_title = "ltop2.png"; $sub_rtitle = "rtop7.jpg"; $sub_img = "simg2.jpg"; ;break;
case "b03" : $sub_bar = "lmenu2.php"; $sub_title = "ltop2.png"; $sub_rtitle = "rtop8.jpg"; $sub_img = "simg2.jpg"; break;
case "b04" : $sub_bar = "lmenu2.php"; $sub_title = "ltop2.png"; $sub_rtitle = "rtop29.jpg"; $sub_img = "simg2.jpg"; break;
case "b05" : $sub_bar = "lmenu2.php"; $sub_title = "ltop2.png"; $sub_rtitle = "rtop35.jpg"; $sub_img = "simg2.jpg"; break;
case "c02" : $sub_bar = "lmenu3.php"; $sub_title = "ltop3.png"; $sub_rtitle = "rtop10.jpg"; $sub_img = "simg3.jpg"; break;
case "c03" : $sub_bar = "lmenu3.php"; $sub_title = "ltop3.png"; $sub_rtitle = "rtop30.jpg"; $sub_img = "simg3.jpg"; break;
case "c04" : $sub_bar = "lmenu3.php"; $sub_title = "ltop3.png"; $sub_rtitle = "rtop11.jpg"; $sub_img = "simg3.jpg";break;
case "c05" : $sub_bar = "lmenu3.php"; $sub_title = "ltop3.png"; $sub_rtitle = "rtop13.jpg"; $sub_img = "simg3.jpg"; break;
case "d01" : $sub_bar = "lmenu4.php"; $sub_title = "ltop4.png"; $sub_rtitle = "rtop14.jpg"; $sub_img = "simg4.jpg"; break;
case "d02" : $sub_bar = "lmenu4.php"; $sub_title = "ltop4.png"; $sub_rtitle = "rtop15.jpg"; $sub_img = "simg4.jpg"; break;
case "d03" : $sub_bar = "lmenu4.php"; $sub_title = "ltop4.png"; $sub_rtitle = "rtop31.jpg"; $sub_img = "simg4.jpg"; break;
case "e01" : $sub_bar = "lmenu5.php"; $sub_title = "ltop5.png"; $sub_rtitle = "rtop16.jpg"; $sub_img = "simg5.jpg"; break;
case "e02" : $sub_bar = "lmenu5.php"; $sub_title = "ltop5.png"; $sub_rtitle = "rtop17.jpg"; $sub_img = "simg5.jpg"; break;
case "e03" : $sub_bar = "lmenu5.php"; $sub_title = "ltop5.png"; $sub_rtitle = "rtop18.jpg"; $sub_img = "simg5.jpg"; break;
case "e04" : $sub_bar = "lmenu5.php"; $sub_title = "ltop5.png"; $sub_rtitle = "rtop32.jpg"; $sub_img = "simg5.jpg"; break;
case "f01" : $sub_bar = "lmenu6.php"; $sub_title = "ltop6.png"; $sub_rtitle = "rtop19.jpg"; $sub_img = "simg6.jpg"; break;
case "f02" : $sub_bar = "lmenu6.php"; $sub_title = "ltop6.png"; $sub_rtitle = "rtop20.jpg"; $sub_img = "simg6.jpg"; break;
case "f03" : $sub_bar = "lmenu6.php"; $sub_title = "ltop6.png"; $sub_rtitle = "rtop21.jpg"; $sub_img = "simg6.jpg"; break;
case "f04" : $sub_bar = "lmenu6.php"; $sub_title = "ltop6.png"; $sub_rtitle = "rtop22.jpg"; $sub_img = "simg6.jpg"; break;
case "f05" : $sub_bar = "lmenu6.php"; $sub_title = "ltop6.png"; $sub_rtitle = "rtop322.jpg"; $sub_img = "simg6.jpg"; break;
case "g01" : $sub_bar = "lmenu7.php"; $sub_title = "ltop7.png"; $sub_rtitle = "rtop23.jpg"; $sub_img = "simg7.jpg"; break;
case "g02" : $sub_bar = "lmenu7.php"; $sub_title = "ltop7.png"; $sub_rtitle = "rtop24.jpg"; $sub_img = "simg7.jpg"; break;
case "g03" : $sub_bar = "lmenu7.php"; $sub_title = "ltop7.png"; $sub_rtitle = "rtop25.jpg"; $sub_img = "simg7.jpg"; break;
case "g05" : $sub_bar = "lmenu7.php"; $sub_title = "ltop7.png"; $sub_rtitle = "rtop27.jpg"; $sub_img = "simg7.jpg"; break;
case "g06" : $sub_bar = "lmenu7.php"; $sub_title = "ltop7.png"; $sub_rtitle = "rtop28.jpg"; $sub_img = "simg7.jpg"; break;
}
}else{
switch ($page_)
{
//페이지
//회사소개
case "s0101" : $sub_bar = "lmenu1.php"; $sub_title = "ltop1.png"; $sub_rtitle = "rtop1.jpg"; $sub_img = "simg1.jpg"; break;
case "s0102" : $sub_bar = "lmenu1.php"; $sub_title = "ltop1.png"; $sub_rtitle = "rtop2.jpg"; $sub_img = "simg1.jpg"; break;
case "s0103" : $sub_bar = "lmenu1.php"; $sub_title = "ltop1.png"; $sub_rtitle = "rtop3.jpg"; $sub_img = "simg1.jpg"; break;
case "s0104" : $sub_bar = "lmenu1.php"; $sub_title = "ltop1.png"; $sub_rtitle = "rtop4.jpg"; $sub_img = "simg1.jpg"; break;
case "s0201" : $sub_bar = "lmenu2.php"; $sub_title = "ltop2.png"; $sub_rtitle = "rtop6.jpg"; $sub_img = "simg2.jpg"; break;
case "s0301" : $sub_bar = "lmenu3.php"; $sub_title = "ltop3.png"; $sub_rtitle = "rtop9.jpg"; $sub_img = "simg3.jpg"; break;
case "s0401" : $sub_bar = "lmenu4.php"; $sub_title = "ltop4.png"; $sub_rtitle = "rtop14.jpg"; $sub_img = "simg4.jpg"; break;
case "s0501" : $sub_bar = "lmenu5.php"; $sub_title = "ltop5.png"; $sub_rtitle = "rtop16.jpg"; $sub_img = "simg5.jpg"; break;
case "s0601" : $sub_bar = "lmenu6.php"; $sub_title = "ltop6.png"; $sub_rtitle = "rtop19.jpg"; $sub_img = "simg6.jpg"; break;
case "s0704" : $sub_bar = "lmenu7.php"; $sub_title = "ltop7.png"; $sub_rtitle = "rtop26.jpg"; $sub_img = "simg7.jpg"; break;
}
}
?>
<link href="../layout.css" rel="stylesheet" type="text/css" />
<div id="warrap2">
<div id="bg2">
<div id="top">
<div style="position:relative;top:10px;left:860px;">
<font color=white><b><a href="http://hanmong.net">HOME</a> |<? if (!$member['mb_id']) { ?>
<!-- 로그인 이전 -->
<a href="<?=$g4['bbs_path']?>/login.php?url=<?=$urlencode?>" class=topmenu>로그인</a> |
<a href="<?=$g4['bbs_path']?>/register.php" class=topmenu>회원가입</a> |
<? } else { ?>
<!-- 로그인 이후 -->
<a href="<?=$g4['bbs_path']?>/logout.php" class=topmenu>로그아웃</a> |
<a href="<?=$g4['bbs_path']?>/member_confirm.php?url=register_form.php" class=topmenu>정보수정</a> |
<? } ?>
<? if ($is_admin == "super") { ?>
<a href="<?=$g4['path']?>/adm/"><font color=red>관리자</font></a> |
<? } ?>
ENGLISH | 中國語 </b></font>
</div>
</div>
<div id="logo">
<div style="position:relative;top:25px;left:470px;">
<a href="http://hanmong.net"><img src="../img/logo.png" border=0></a></div>
<div style="position:relative;top:-50px;left:860px;">
<a href="http://hanmong.net"><img src="../img/domain.png" border=0></a>
</div>
</div><div id="menu">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="1200" height="59">
<param name="movie" value="mnavi.swf" />
<param name="quality" value="high" />
<param name="wmode" value="transparent">
<param name="menu" value="false">
<embed src="../mnavi.swf" quality="high" wmode="transparent" menu="false" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="1200" height="59"></embed>
</object>
</div>
<div style="position:realtive;top:10px;">
<div id="title">
<img src="../img/<?=$sub_title?>" border=0>
</div></div>
<div style="line-height:5px;"> </div>
<div id="mfla2">
<div id="lmenu">
<div style="position:relative;left:40px;">
<? include_once("$sub_bar"); ?>
<div style="line-height:15px;"> </div>
<img src="../img/call.jpg">
<div style="line-height:15px;"> </div>
<img src="../img/lban.jpg" alt="배너" usemap="#lban.jpg" style="border: 0;" /></a>
<map name="lban.jpg">
<area shape="rect" coords="2,3,94,40" href="http://blog.naver.com/hss2008" target="_blank" alt="" />
<area shape="rect" coords="108,2,202,41" href="http://raoncell.com/" target="_blank" alt="" />
<area shape="rect" coords="2,52,94,92" href="http://kto.visitkorea.or.kr/kor.kto" target="_blank" alt="" />
<area shape="rect" coords="109,53,205,92" href="http://cn.flyasiana.com/C/ch/homepage.do?menuId=005001001000000&menuType=CMS" target="_blank" alt="" />
<area shape="rect" coords="3,100,94,140" href="http://www.lkmg.co.kr/" target="_blank" alt="" />
<area shape="rect" coords="108,101,201,138" href="http://www.cbfmg.com" target="_blank" alt="" />
</map>
</div>
</div>
<div id="scon">
<img src="../img/<?=$sub_rtitle?>" border=0>
<img src="../img/<?=$sub_img?>" border=0>
<div style="line-height:15px;"> </div>
<div style="width:10px;"> </div>
LAYOUT.CSS
#warrap {width:100%;background:url(img/mainbg.jpg) repeat-x;}
#top {width:100%;height:43px;background-color:black;}
#logo {height:140px;}
#menu {height:49px;}
#title {height:82px;}
#mfla { height:555px;background:url(img/mflabg.png) repeat-x top;}
#cont {height:467px;}
#con1 {width:330px;height:442px;float:left;}
#con2 {width:330px;height:442px;float:left;}
#con3 {width:330px;height:442px;float:left;}
#copy {clear:both;height:130px;background-color:#1f1f1f;}
#warrap2 {width:100%;background:url(img/mainbg.jpg) repeat-x;}
#bg2 {width:1200px;margin:0 auto;}
#mfla2 { background:url(../img/subconbg.jpg) repeat-x top;height:800px;}
#lmenu { width:256px;float:left; repeat-x top;}
#scon { width:940px;float:left;background:url(../img/sconbg.jpg) repeat-x top;}
#subwarrap {width:100%;background:url(../imgs/subbg2.jpg) repeat-x top;}
#subbg {width:1000px;margin:0 auto;}
#subflash {width:1000px;height:190px;}
#subcontent {width:1000px;float:left;position:relative;}
#subcon {width:880px;float:left;position:relative;}
#subcon1 {width:200px;float:left;position:relative;}
#subcon2 {width:650px;float:left;position:relative;}
/* #floatMenu */
#floatMenu{
text-align:left;
position:absolute;
width:77px;
top:0px;
right:20px;
padding:0;
margin:0;
z-index:1000;
}
#floatMenu a{
text-decoration:none;
display:block;
}
답변 2개 / 댓글 1개
layout.css에 19번째줄에서
#mfla2{background:url(../img/subconbg.jpg) repeat-x top;}
이거를요
#mfla2{border-left:2px solid #dddddd;background-color:#fff;}
이렇게 바꺼주시면 될것같아요.
근데 이건 중국 사이트에요? 한국사이트에요? 협약기업인가? 신기하네요 ㅎㅎ
답변에 대한 댓글 1개
답변을 작성하려면 로그인이 필요합니다.