이거 좀 골 때리게 생겼습니다..;;

일반 회원으로 가입해서 로그인 한 다음에 탑메뉴 중 admin을 클릭하면 관리자 페이지로 이동하네요;;;
이거 왜 이런걸까요..;;;

일반회원은 관리자 페이지로 접근하지 못하도록 하는 방법이 없나요..;;;

탑메뉴는 이렇게 코딩되었습니다.
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="200" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td colspan="4"><? if ($is_member) { ?>
<table width="300" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="images/main_top2.png" width="1000" height="26" border="0" usemap="#log_in" /></td>
<map name="log_in">
<area shape="rect" coords="960,5,998,24" href="<?=$g4[adm_path]?>/adm/index.php?" />
<area shape="rect" coords="821,3,867,24" href="/" />
<!-- E¨ -->
<area shape="rect" coords="868,3,923,27" href="<?=$g4[bbs_path]?>/logout.php" />
<!-- ·I±×¾Æ¿o -->
<area shape="rect" coords="925,2,961,25" 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/main_top.png" width="1000" height="26" border="0" usemap="#log_out" /></td>
<map name="log_out">
<area shape="rect" coords="961,6,999,25" href="<?=$g4[bbs_path]?>/login.php?url=<?=$urlencode?>" />
<area shape="rect" coords="833,8,879,24" href="/" />
<!-- E¨ -->
<area shape="rect" coords="880,8,922,25" href="<?=$g4[bbs_path]?>/login.php?url=<?=$urlencode?>" />
<!-- ·I±×AI -->
<area shape="rect" coords="929,8,957,24" 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></td>
|

댓글 8개

<? if ($is_admin == "super" || $is_auth) { ?>
<area shape="rect" coords="960,5,998,24" href="<?=$g4[adm_path]?>/adm/index.php?" />
<? } ?>
에이치H님 이걸 어디에 삽입하면 되는지요^^;;
<map name="log_in">
<area shape="rect" coords="960,5,998,24" href="<?=$g4[adm_path]?>/adm/index.php?" />
<area shape="rect" coords="821,3,867,24" href="/" />
<!-- E¨ -->

이걸

<map name="log_in">
<? if ($is_admin == "super" || $is_auth) { ?>
<area shape="rect" coords="960,5,998,24" href="<?=$g4[adm_path]?>/adm/index.php?" />
<? } ?>
<area shape="rect" coords="821,3,867,24" href="/" />
<!-- E¨ -->
에이치님 뽈찌님 그래도 들어가 집니다..;;;;;ㅠㅠ
다른문구에 슈퍼유저(관리자)되는게 있는거 같은데요..

또는 컴퓨터를 재부팅하신다음에 일반회원으로 로그인하셔서 다시 한번 해보세요.

인터넷 옵션 설정에 페이지 열때마다로 바꿔보셔도 되구요..

아님

<map name="log_in">
<? if ($is_admin == "super") { ?>
<area shape="rect" coords="960,5,998,24" href="<?=$g4[adm_path]?>/adm/index.php?" />
<? } ?>
<area shape="rect" coords="821,3,867,24" href="/" />
<!-- E¨ -->

이렇게 한번 해보세요..

이렇게 해도 안된다면.. 프로그램을 다 뜯어보셔야 할듯...
감사드립니다.^^
되든 안되든 이걸로 밀어볼게요...
저장된 페이지가 보이는 현상 같네요.
확실하게 알아보려면 다른 컴퓨터에서 일반회원 가입 후 관리자 페이지로 들어갈 수 있는지 확인해보세요.
지금 보여주신게 소스 전체인가요~~~~
댓글을 작성하시려면 로그인이 필요합니다.

그누4 질문답변

그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기 기존 게시물은 열람만 가능합니다.

+
제목 글쓴이 날짜 조회
13년 전 조회 1,025
13년 전 조회 909
13년 전 조회 892
13년 전 조회 696
13년 전 조회 951
13년 전 조회 879
13년 전 조회 1,464
13년 전 조회 1,530
13년 전 조회 1,607
13년 전 조회 1,563
13년 전 조회 817
13년 전 조회 706
13년 전 조회 972
13년 전 조회 750
13년 전 조회 700
13년 전 조회 955
13년 전 조회 2,513
13년 전 조회 735
13년 전 조회 8,099
13년 전 조회 2,694
🐛 버그신고