로그인이 왜 안될까요...ㅠㅠ 한번만 봐주세요.. > 그누4 질문답변

매출이 오르면 내리는 수수료! 지금 수수료센터에서 전자결제(PG)수수료 비교견적 신청해 보세요!

그누4 질문답변

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

로그인이 왜 안될까요...ㅠㅠ 한번만 봐주세요.. 정보

로그인이 왜 안될까요...ㅠㅠ 한번만 봐주세요..

본문

http://www.wednlife.co.kr/bbs/login.php?wr_id=22&url=.%2Fboard.php%3Fbo_table%3Dnotice%26wr_id%3D22

로그인창을 이렇게 만들었는데요,
기본 베이직 스킨 참고해서 내용 똑같이 만들었는데
이상하게 로그인이 안되네요...ㅠㅠ
베이직 스킨으로 했을때는 되는데요..
왜 안되는걸까요.. 아무리 뜯어봐도 모르겠어서..
이렇게 또 질문올려봅니다..
혹시 아신다면 답변해주시면 정말 큰 도움이 될 것 같습니다..
마감이 얼마 안남아서 맘이 급해지네요..
부탁드립니다..(__)

테스트 해보실 수 있는 아이디 : test0  비밀번호 :test0

댓글 전체

test 해 보니, 

<form name="flogin" method="post" action="javascript:flogin_submit(document.flogin);" autocomplete="off">
<input type="hidden" name="url" value='%2Fbbs%2Flogin.php'>

부분을

<form name="flogin" method="post" action="javascript:flogin_submit(document.flogin);" autocomplete="off">
<input type="hidden" name="url" value='<?=$url?>'>

바로 위 소스로 바꾸시고용~

input 부분을 아뒤/암호 전부 다 아래처럼 바꾸니 이상없이 돌아가더군요^^;;
name=mb_id2  로 되 있으시던데.......;;;;;;;;;;;
원본 소스에서 디자인만 변경하신 거라면 아래로 바꾸셔서 효과만 주시면 될것 같습니다.^^

<INPUT class=box1 maxLength=20 size=15 name=mb_id itemname="아이디" required minlength="2">

<INPUT type=password class=box1 maxLength=20 size=15 name=mb_password itemname="패스워드" required>
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가

$url = '';
if ($g4['https_url']) {
    if (preg_match("/^\./", $urlencode))
        $url = $g4[url];
    else
        $url = $g4[url].$urlencode;
} else {
    $url = $urlencode;
}
?><style type="text/css">
<!--
body {
background-color: #2b231b;
}
-->
</style>

<table width="492" border="0" cellspacing="0" cellpadding="0"><form name=fmemberconfirm method=post action="javascript:fmemberconfirm_submit(document.fmemberconfirm);">
<input type=hidden name=mb_id value='<?=$member[mb_id]?>'>
<input type=hidden name=w    value='u'>
  <tr>
    <td width="492" height="31">&nbsp;</td>
  </tr>
  <tr>
    <td height="367"><table width="483" border="0" cellpadding="0" cellspacing="0">
<form name="flogin" method="post" action="javascript:flogin_submit(document.flogin);" autocomplete="off">
<input type="hidden" name="url" value='<?=$url?>'>
<form name="flogin" method="post" action="javascript:flogin_submit(document.flogin);" autocomplete="off">
<input type="hidden" name="url" value='<?=$url?>'>
        <!-- <tr align="center">
    <td colspan="3"><img src="<?=$member_skin_path?>/img/login_title.gif" width="624" height="72"></td>
</tr> -->
        <tr>
          <td width="483" height="337" align="center" valign="top" background="<?=$member_skin_path?>/img/bg.gif"><table width="350" border="0" cellpadding="0" cellspacing="0">
              <tr valign="bottom">
                <td width="235" height="146" valign="top">
                  <table width="234" border="0" cellpadding="0" cellspacing="0">
                    <tr>
                      <td width="10">&nbsp;</td>
                      <td width="73" height="114">&nbsp;</td>
                      <td width="151" valign="bottom"><INPUT class=box1 maxLength=20 size=25 style='COLOR:#000000; height:19px; background-color:#e8ddbb; border:0px;' name=mb_id itemname="아이디" required minlength="2"></td>
                    </tr>
                    <tr>
                      <td>&nbsp;</td>
                      <td height="29">&nbsp;</td>
                      <td valign="bottom"><INPUT type=password class=box1 maxLength=20 size=25 style='COLOR:#000000; height:19px; background-color:#e8ddbb; border:0px;' name=mb_password itemname="패스워드" required></td>
                    </tr>
                </table></td>
                <td width="115"><table width="100" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td height="69" valign="bottom"><INPUT name="image" type=image src="<?=$member_skin_path?>/img/b_login.gif" width="70" height="50" border=0></td>
                    <td>&nbsp;</td>
                  </tr>
                  <tr>
                    <td height="3"></td>
                    <td height="3"></td>
                  </tr>
                </table></td>
              </tr>
              <tr>
                <td height="13" colspan="2"></td>
              </tr>
              <tr>
                <td height="1" colspan="2"></td>
              </tr>
              <tr valign="top">
                <td height="48" colspan="2"><table width="240" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td width="12">&nbsp;</td>
                    <td width="228">&nbsp;</td>
                  </tr>
                  <tr>
                    <td height="29">&nbsp;</td>
                    <td align="right"><a href="http://www.wednlife.co.kr/log.html" target="_parent"><img src="<?=$member_skin_path?>/img/b_join.gif" width="86" height="25" border=0 align="absmiddle"></a></td>
                  </tr>
                </table></td>
              </tr>
              <tr align="left">
                <td height="124" colspan="2"><table width="328" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td width="302" height="48" align="right" valign="bottom"><a href="javascript:;" onclick="win_password_forget('./password_forget.php');"><img src="<?=$member_skin_path?>/img/b_id.gif" width="115" height="25" border=0 align="absmiddle"></a></td>
                    <td width="26">&nbsp;</td>
                  </tr>
                  <tr>
                    <td height="26" valign="middle">&nbsp;</td>
                    <td>&nbsp;</td>
                  </tr>
                </table></td>
              </tr>
          </table></td>
        </tr>
        <tr>
          <td height="37" align="center" valign="top">&nbsp;</td>
        </tr>
      </form>
    </table>
<script language='Javascript'>
document.flogin.mb_id.focus();

function flogin_submit(f)
{
    f.action = "./login_check.php";
    f.submit();
}
</script>
아^^;;

form 이 두개 겹쳐 있네요...

아래 소스 붙여 넣으시면 될껍니다.

============================================================
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가

$url = '';
if ($g4['https_url']) {
    if (preg_match("/^\./", $urlencode))
        $url = $g4[url];
    else
        $url = $g4[url].$urlencode;
} else {
    $url = $urlencode;
}
?><style type="text/css">
<!--
body {
background-color: #2b231b;
}
-->
</style>

<table width="492" border="0" cellspacing="0" cellpadding="0">
<input type=hidden name=mb_id value='<?=$member[mb_id]?>'>
<input type=hidden name=w    value='u'>
  <tr>
    <td width="492" height="31">&nbsp;</td>
  </tr>
  <tr>
    <td height="367"><table width="483" border="0" cellpadding="0" cellspacing="0">
<form name="flogin" method="post" action="javascript:flogin_submit(document.flogin);" autocomplete="off">
<input type="hidden" name="url" value='<?=$url?>'>
        <!-- <tr align="center">
    <td colspan="3"><img src="<?=$member_skin_path?>/img/login_title.gif" width="624" height="72"></td>
</tr> -->
        <tr>
          <td width="483" height="337" align="center" valign="top" background="<?=$member_skin_path?>/img/bg.gif"><table width="350" border="0" cellpadding="0" cellspacing="0">
              <tr valign="bottom">
                <td width="235" height="146" valign="top">
                  <table width="234" border="0" cellpadding="0" cellspacing="0">
                    <tr>
                      <td width="10">&nbsp;</td>
                      <td width="73" height="114">&nbsp;</td>
                      <td width="151" valign="bottom"><INPUT class=box1 maxLength=20 size=25 style='COLOR:#000000; height:19px; background-color:#e8ddbb; border:0px;' name=mb_id itemname="아이디" required minlength="2"></td>
                    </tr>
                    <tr>
                      <td>&nbsp;</td>
                      <td height="29">&nbsp;</td>
                      <td valign="bottom"><INPUT type=password class=box1 maxLength=20 size=25 style='COLOR:#000000; height:19px; background-color:#e8ddbb; border:0px;' name=mb_password itemname="패스워드" required></td>
                    </tr>
                </table></td>
                <td width="115"><table width="100" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td height="69" valign="bottom"><INPUT name="image" type=image src="<?=$member_skin_path?>/img/b_login.gif" width="70" height="50" border=0></td>
                    <td>&nbsp;</td>
                  </tr>
                  <tr>
                    <td height="3"></td>
                    <td height="3"></td>
                  </tr>
                </table></td>
              </tr>
              <tr>
                <td height="13" colspan="2"></td>
              </tr>
              <tr>
                <td height="1" colspan="2"></td>
              </tr>
              <tr valign="top">
                <td height="48" colspan="2"><table width="240" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td width="12">&nbsp;</td>
                    <td width="228">&nbsp;</td>
                  </tr>
                  <tr>
                    <td height="29">&nbsp;</td>
                    <td align="right"><a href="http://www.wednlife.co.kr/log.html" target="_parent"><img src="<?=$member_skin_path?>/img/b_join.gif" width="86" height="25" border=0 align="absmiddle"></a></td>
                  </tr>
                </table></td>
              </tr>
              <tr align="left">
                <td height="124" colspan="2"><table width="328" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td width="302" height="48" align="right" valign="bottom"><a href="javascript:;" onclick="win_password_forget('./password_forget.php');"><img src="<?=$member_skin_path?>/img/b_id.gif" width="115" height="25" border=0 align="absmiddle"></a></td>
                    <td width="26">&nbsp;</td>
                  </tr>
                  <tr>
                    <td height="26" valign="middle">&nbsp;</td>
                    <td>&nbsp;</td>
                  </tr>
                </table></td>
              </tr>
          </table></td>
        </tr>
        <tr>
          <td height="37" align="center" valign="top">&nbsp;</td>
        </tr>
      </form>
    </table>
<script language='Javascript'>
document.flogin.mb_id.focus();

function flogin_submit(f)
{
    f.action = "./login_check.php";
    f.submit();
}
</script>
<input type=hidden name=mb_id value='<?=$member[mb_id]?>'>
<input type=hidden name=w    value='u'>
이부분이
form 밖에 있으므로 전달이 안될수 있습니다.
폼안으로 이동시켜주시는게 났지 않을까요?
전체 23 |RSS
그누4 질문답변 내용 검색

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1404호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT