아이디 이메일 로그인하기
본문
이렇게 했는데 왜 안되나요? 아이디 이메일 로그인 할려고하거든요
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>