질문입니다
본문
<!--매뉴-->
<?
switch($gr_id){
case "":
//$grback = "$g4[path]/include/mainmenu/img/top.gif"; //이미지일 경우
$grcolor = "#004C73";
$grbanner = "mainbanner";
break;
case "z1":
$grcolor = "#1EA529";
$grbanner = "sub1banner";
break;
case "z2":
$grcolor = "#68ABE2";
$grbanner = "sub2banner";
break;
case "z3":
$grcolor = "#F7B000";
$grbanner = "sub3banner";
break;
case "z4":
$grcolor = "#F76C2B";
$grbanner = "sub4banner";
break;
case "z5":
$grcolor = "#9ABB67";
$grbanner = "sub5banner";
break;
case "z6":
$grcolor = "#4CC9B6";
$grbanner = "sub6banner";
break;
case "html":
$grcolor = "#004C73";
$grbanner = "mainbanner";
break;
case "banner":
$grcolor = "#004C73";
$grbanner = "mainbanner";
break;
}
?>
<?
switch($gr_id){
case "":
//$grback = "$g4[path]/include/mainmenu/img/top.gif"; //이미지일 경우
$grcolor = "#004C73";
$grbanner = "mainbanner";
break;
case "z1":
$grcolor = "#1EA529";
$grbanner = "sub1banner";
break;
case "z2":
$grcolor = "#68ABE2";
$grbanner = "sub2banner";
break;
case "z3":
$grcolor = "#F7B000";
$grbanner = "sub3banner";
break;
case "z4":
$grcolor = "#F76C2B";
$grbanner = "sub4banner";
break;
case "z5":
$grcolor = "#9ABB67";
$grbanner = "sub5banner";
break;
case "z6":
$grcolor = "#4CC9B6";
$grbanner = "sub6banner";
break;
case "html":
$grcolor = "#004C73";
$grbanner = "mainbanner";
break;
case "banner":
$grcolor = "#004C73";
$grbanner = "mainbanner";
break;
}
?>
이 소스론 상단메뉴 이미지 가 어디에 잇는지 뭘 수정해야하는지 감이 안오네요.
추천0
제로님의 댓글
제로쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 작성일include/mainmenu <<----상단메뉴를 담당하고 있는 폴더입니다
각 head.php / subhead.php 파일에서
<!--메인메뉴-->
<table width='100%' height=<?=$menu_grouphsize?> border='0' cellspacing="0" cellpadding="0" bgcolor=<?=$grcolor?> border=0><tr><td>
<div style='
width:100%;
position:relative; top:<?=$menu_top?>; left:<?=$menu_left?>;
border: 0px solid silver;
background-color:transparent;
float:left;
padding:0 0 0 0;
z-index:50;
'>
<? include_once("$g4[path]/include/mainmenu/mainmenu.php"); //상단메뉴 ?>
</div>
</td>
</tr>
</table>
<!--메인메뉴-->
확인하시기 바랍니다..