diff --git a/FO/Controllers/AccountController.cs b/FO/Controllers/AccountController.cs
index 72af19e..5f296b5 100644
--- a/FO/Controllers/AccountController.cs
+++ b/FO/Controllers/AccountController.cs
@@ -111,19 +111,14 @@ namespace NP.FO.Controllers
if (Url.IsLocalUrl(returnUrl)){return Redirect(returnUrl);}
else {return RedirectToAction(nameof(HomeController.Index), "Home");}
}
- [HttpPost]
+ //[HttpPost]
public ActionResult Join(VMUser vm)
{
- //if ("Y".Equals(GetConfig("usessl")) && !Request.IsSecureConnection)
+
+ //if(string.IsNullOrEmpty(vm.User.username) || string.IsNullOrEmpty(vm.User.ci) || string.IsNullOrEmpty(vm.User.di) || vm.User.authplatform == AuthPlatform.None)
//{
- // return Redirect("https://" + Request.Url.Host + Request.Url.PathAndQuery);
+ // return Redirect("/Account/JoinIdVeri");
//}
- //else
- //{
- if(string.IsNullOrEmpty(vm.User.username) || string.IsNullOrEmpty(vm.User.ci) || string.IsNullOrEmpty(vm.User.di) || vm.User.authplatform == AuthPlatform.None)
- {
- return Redirect("/Account/JoinIdVeri");
- }
ViewBag.JoinOK = false;
if (GetInt(Request["intval"]) == 1)
@@ -134,7 +129,6 @@ namespace NP.FO.Controllers
ViewBag.kakaoClientID = kakaoClientID;
ViewBag.googleClientID = googleClientID;
return View(vm);
- //}
}
public ActionResult CallOrder(){return View();}
diff --git a/FO/Views/Account/Join.cshtml b/FO/Views/Account/Join.cshtml
index 49f6dea..d4eae97 100644
--- a/FO/Views/Account/Join.cshtml
+++ b/FO/Views/Account/Join.cshtml
@@ -70,30 +70,48 @@ else
※학습 본인인증 수단은 회원가입 후 회원정보수정에서 변경 가능합니다.
-
-
+ 이름
+
+
+
+ 이메일
+
+
+
+ 아이디
중복여부 체크
+ 비밀번호
- 영어, 숫자, 특수문자를 모두 포함하여 비밀번호를 설정해주세요.
+
+ ※ 영어, 숫자, 특수문자를 모두 포함하여 비밀번호를 설정해 주세요
+
-
+ 비밀번호확인
+
+
+
+
+
+ 주민등록번호
-
-
-
+ 휴대전화번호
+
+
+
+ 주소
@@ -128,12 +146,12 @@ else
-
+
동의 후 가입
- @Html.Partial("./Partial/BoxAssign", null, new ViewDataDictionary { { "bindmethod", "bindassign" }, { "isjoin", 1 } })
+ @Html.Partial("./Partial/BoxAssign", null, new ViewDataDictionary { { "bindmethod", "bindassign" }, { "isjoin", 1 } })
}
@section scriptsHeader{
@@ -147,7 +165,7 @@ else
$(document).ready(function () {
if ('@(ViewBag.JoinOK?1:0)' == '1') {
$("#pageTitle h3").text("회원가입 완료");
- }
+ }
$("input:radio[name='isCompany']").on("click", function () {
var isCompany = $(this).val();
@@ -191,7 +209,7 @@ else
else if (getBytes(val("userpno1")) != 6 || getBytes(val("userpno2")) != 7) { focus("userpno2"); msg("주민등록번호를 확인해주세요"); }
else if (!isipin && !ismobilenumber(val("mobile"))) {focus("mobile");msg("핸드폰번호를 확인해주세요.");}
else if (check("post", null, "우편번호를 등록해주세요.") || check("address1", null, "우편번호를 등록해주세요.") || check("address2", null, "우편번호를 등록해주세요.")) { }
- else if ($("input:radio[name='isCompany']:checked").val() == "1" && check("asno", null, "직장을 등록해주세요.")) { }
+ else if ($("input:radio[name='isCompany']:checked").val() == "1" && check("asno", null, "직장을 등록해주세요.")) { }
else if ($("input:radio[name='slevel']:checked").val() == null) { msg("학력을 선택해주세요"); }
else if (!$("#agree").prop("checked")) { $("#agree").focus(); msg("이용약관/개인정보처리방침에 동의해주세요."); }
else {
@@ -239,10 +257,10 @@ else
focus("userpno2");
msg("이미 사용중인 주민등록번호입니다.
다른 주민등록번호를 사용해주세요.");
}
- else if (capResult.obj == -5) {
+ else if (capResult.obj == -5) {
msg("이미 해당 인증정보로 등록된 회원이 존재합니다.");
}
- else {
+ else {
msgadmin();
}
}
diff --git a/FO/Views/Account/JoinOld.cshtml b/FO/Views/Account/JoinOld.cshtml
new file mode 100644
index 0000000..49f6dea
--- /dev/null
+++ b/FO/Views/Account/JoinOld.cshtml
@@ -0,0 +1,259 @@
+@using NP.Model.ENUM
+@model NP.Model.VMUser
+@{
+ var menus = (List)ViewBag.Menus;
+ var em = new NP.Model.MenuPage();
+ var mainprivate = (menus.Where(w => w.refcode == "main.private").FirstOrDefault() ?? em);
+ var mainagree = (menus.Where(w => w.refcode == "main.agree").FirstOrDefault() ?? em);
+
+ var naverClientId = ViewBag.naverClientID;
+ var kakaoClientId = ViewBag.kakaoClientID;
+ var googleClientId = ViewBag.googleClientID;
+}
+@if (ViewBag.JoinOK)
+{
+
+
+
+
회원가입이 완료되었습니다.
+
아래 버튼을 클릭해주셔서 로그인을 진행해주세요.
+
로그인 페이지로 이동
+
+}
+else
+{
+
+
+ @Html.Partial("./Partial/BoxAssign", null, new ViewDataDictionary { { "bindmethod", "bindassign" }, { "isjoin", 1 } })
+
+}
+@section scriptsHeader{
+ @Html.Partial("./Partial/ScriptPost")
+}
+
diff --git a/FO/css/style.css b/FO/css/style.css
index eac25bd..716e1a4 100644
--- a/FO/css/style.css
+++ b/FO/css/style.css
@@ -6415,7 +6415,7 @@ body.lock {
font-size: 11pt;
position: absolute;
right: 0;
- top: 0;
+ bottom: 0;
}
.joinCpny {
@@ -6434,7 +6434,7 @@ body.lock {
font-size: 11pt;
position: absolute;
right: 0;
- top: 0;
+ bottom: 0;
}
.joinAgree {