아이디 이메일 로그인하기 채택완료

이렇게 했는데 왜 안되나요? 아이디 이메일 로그인 할려고하거든요

bbs/register.php


$register_action_url = G5_BBS_URL.'/register_form.php';

include_once($member_skin_path.'/register.skin.php');

$register_email_action_url = G5_BBS_URL.'/register_form_skin.email.php';

include_once($member_skin_path.'/register.skin.php');

bbs/ register.form.php

$register_action_url = G5_BBS_URL.'/register_form.php';

include_once($member_skin_path.'/register.skin.php');

$register_email_action_url = G5_BBS_URL.'/register_form_skin.email.php';

include_once($member_skin_path.'/register.skin.php');

skin/member/basic/register.skin.php

 <form name="fregister" id="fregister" action="<?php echo $register_action_url ?>" onsubmit="return fregister_submit(this);" method="POST" autocomplete="off">

<input type="submit" style="width:49%; height:70px"class="btn_submit" value="ID Login ">

<form name="fregister" id="fregister" action="<?php echo $register_email_action_url?>" onsubmit="return fregister_submit(this);" method="POST" autocomplete="off">

<input type="submit" style="width:49%; height:70px"class="btn_submit" value="Email Login ">
</form>
</form>

    <script>
    function fregister_submit(f)
    {
        if (!f.agree.checked) {
            alert("You must agree to the Terms of Use and Privacy Policy.(你们得同意关于个人活动政策的内容)");
            f.agree.focus();
            return false;
        }

        if (!f.agree2.checked) {
            alert("You must agree to the Terms of Use and Privacy Policy.(你们得同意关于个人活动政策的内容)");
            f.agree2.focus();
            return false;
        }

        return true;
    }
 function fregister_submit(f)
    {
        if (!f.agree.checked) {
            alert("You must agree to the Terms of Use and Privacy Policy.(你们得同意关于个人活动政策的内容)");
            f.agree.focus();
            return false;
        }

        if (!f.agree2.checked) {
            alert("You must agree to the Terms of Use and Privacy Policy.(你们得同意关于个人活动政策的内容)");
            f.agree2.focus();
            return false;
        }

        return true;
    }

   function fregister_submit(f)
    {
        if (!f.agree.checked) {
            alert("You must agree to the Terms of Use and Privacy Policy.(你们得同意关于个人活动政策的内容)");
            f.agree.focus();
            return false;
        }

        if (!f.agree2.checked) {
            alert("You must agree to the Terms of Use and Privacy Policy.(你们得同意关于个人活动政策的内容)");
            f.agree2.focus();
            return false;
        }

        return true;
    }
 function fregister_submit(f)
    {
        if (!f.agree.checked) {
            alert("You must agree to the Terms of Use and Privacy Policy.(你们得同意关于个人活动政策的内容)");
            f.agree.focus();
            return false;
        }

        if (!f.agree2.checked) {
            alert("You must agree to the Terms of Use and Privacy Policy.(你们得同意关于个人活动政策的内容)");
            f.agree2.focus();
            return false;
        }

        return true;
    }
    </script>
 

답변 1개

<form 이  소스에 두개가 있는듯 보이네요~ 

로그인 후 평가할 수 있습니다

답변에 대한 댓글 1개

예 이메일 아이디 로그인 두개로 만들려고해서요

댓글을 작성하려면 로그인이 필요합니다.

답변을 작성하려면 로그인이 필요합니다.

로그인
🐛 버그신고