인트로와 메인페이지 정보
인트로와 메인페이지본문
인트로(index.html)페이지와
메인(main.html)페이지를 만들었습니다.
로그인된 상태에서 로그아웃을 하게되면
인트로(index.html)페이지로 가게 됩니다.^^;;
로그아웃하면 메인(main.html)페이지로 가게 만들고 싶은데요.
방법이 없을까요?
메인(main.html)페이지를 만들었습니다.
로그인된 상태에서 로그아웃을 하게되면
인트로(index.html)페이지로 가게 됩니다.^^;;
로그아웃하면 메인(main.html)페이지로 가게 만들고 싶은데요.
방법이 없을까요?
댓글 전체
로그아웃부분 주소를
logout.php?url=main.html
이렇게 변경하세요
logout.php?url=main.html
이렇게 변경하세요
아웃존님 이게 현재 적용시긴 탑메뉴 소스입니다.^^;;한 번 봐주세요
<? if ($is_member) { ?>
<table width="300" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="/images/intro_topm2.gif" width="778" height="22" border="0" usemap="#log_in" /></td>
<map name="log_in">
<area shape="rect" coords="673,2,719,19" href="<?=$g4[adm_path]?>/adm/index.php?" />
<area shape="rect" coords="495,2,533,20" href="/" />
<!-- E¨ -->
<area shape="rect" coords="545,2,591,19" href="<?=$g4[bbs_path]?>/logout.php" />
<!-- ·I±×¾Æ¿o -->
<area shape="rect" coords="611,2,661,19" href="<?=$g4[bbs_path]?>/member_confirm.php?url=register_form.php" />
<!-- A¤º¸¼oA¤ --><!-- ≫cAIÆ?¸E -->
</map>
</tr>
</table>
<? } else { ?>
<table width="300" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="/images/intro_topm1.gif" width="778" height="22" border="0" usemap="#log_out" /></td>
<map name="log_out">
<area shape="rect" coords="665,4,707,21" href="<?=$g4[bbs_path]?>/login.php?url=<?=$urlencode?>" />
<area shape="rect" coords="495,4,533,21" href="/" />
<!-- E¨ -->
<area shape="rect" coords="542,4,584,21" href="<?=$g4[bbs_path]?>/login.php?url=<?=$urlencode?>" />
<!-- ·I±×AI -->
<area shape="rect" coords="598,3,650,21" href="<?=$g4[bbs_path]?>/register.php" />
</map>
</tr>
</table>
<? } ?>
<!-- °øAo≫cC× --->
<script language="javascript">
function changebbs4(num) {
var i = 1;
for ( ; i < 3 ; i++ )
{
if ( num == i )
document.all("theme"+i).style.display = "";
else
document.all("theme"+i).style.display = "none";
}
}
</script>
<? if ($is_member) { ?>
<table width="300" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="/images/intro_topm2.gif" width="778" height="22" border="0" usemap="#log_in" /></td>
<map name="log_in">
<area shape="rect" coords="673,2,719,19" href="<?=$g4[adm_path]?>/adm/index.php?" />
<area shape="rect" coords="495,2,533,20" href="/" />
<!-- E¨ -->
<area shape="rect" coords="545,2,591,19" href="<?=$g4[bbs_path]?>/logout.php" />
<!-- ·I±×¾Æ¿o -->
<area shape="rect" coords="611,2,661,19" href="<?=$g4[bbs_path]?>/member_confirm.php?url=register_form.php" />
<!-- A¤º¸¼oA¤ --><!-- ≫cAIÆ?¸E -->
</map>
</tr>
</table>
<? } else { ?>
<table width="300" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="/images/intro_topm1.gif" width="778" height="22" border="0" usemap="#log_out" /></td>
<map name="log_out">
<area shape="rect" coords="665,4,707,21" href="<?=$g4[bbs_path]?>/login.php?url=<?=$urlencode?>" />
<area shape="rect" coords="495,4,533,21" href="/" />
<!-- E¨ -->
<area shape="rect" coords="542,4,584,21" href="<?=$g4[bbs_path]?>/login.php?url=<?=$urlencode?>" />
<!-- ·I±×AI -->
<area shape="rect" coords="598,3,650,21" href="<?=$g4[bbs_path]?>/register.php" />
</map>
</tr>
</table>
<? } ?>
<!-- °øAo≫cC× --->
<script language="javascript">
function changebbs4(num) {
var i = 1;
for ( ; i < 3 ; i++ )
{
if ( num == i )
document.all("theme"+i).style.display = "";
else
document.all("theme"+i).style.display = "none";
}
}
</script>
/bbs/logout.php 링크부분 수정하시면 간단할거 같은데요?....
$link = $g4[path];
==>
$link = $g4[path]."/main.html";
$link = $g4[path];
==>
$link = $g4[path]."/main.html";
인트로 페이지 보내기