forked from devsam/core
불필한 const varname -> string 대체 제거.
필요할 곳은 나중에 처리하는 것으로.
This commit is contained in:
+4
-4
@@ -1,6 +1,6 @@
|
||||
function Login_Import() {
|
||||
ImportAction(HOME+I+LOGIN+W+FINDPW+W+ACTION);
|
||||
ImportAction(HOME+I+LOGIN+W+JOIN+W+ACTION);
|
||||
ImportAction("../i_login/findpw/Action.js");
|
||||
ImportAction("../i_login/join/Action.js");
|
||||
|
||||
LoginFindpw_Import();
|
||||
LoginJoin_Import();
|
||||
@@ -82,7 +82,7 @@ function Login_Login() {
|
||||
|
||||
Popup_Wait(function() {
|
||||
PostJSON(
|
||||
HOME+I+LOGIN+W+POST, {
|
||||
"../i_login/Post.php", {
|
||||
id: id,
|
||||
pw: pw,
|
||||
conmsg: conmsg
|
||||
@@ -90,7 +90,7 @@ function Login_Login() {
|
||||
function(response, textStatus) {
|
||||
if(response.result == "SUCCESS") {
|
||||
Popup_WaitHide();
|
||||
ReplaceFrame(HOME);
|
||||
ReplaceFrame("../");
|
||||
} else {
|
||||
Popup_WaitShow(response.msg, function() {
|
||||
$("#Login_00010010").focus();
|
||||
|
||||
@@ -42,7 +42,7 @@ function LoginFindpw_Update() {
|
||||
|
||||
function LoginFindpw_UpdateRegisteredCount() {
|
||||
GetJSON(
|
||||
HOME+I+LOGIN+W+FINDPW+W+GET, { },
|
||||
"../../i_login/findpw/Get.php", { },
|
||||
function(response, textStatus) {
|
||||
if(response.result == "SUCCESS") {
|
||||
$("#LoginFindpw_000100").text(response.registeredCount);
|
||||
@@ -94,7 +94,7 @@ function LoginFindpw_SendCode() {
|
||||
|
||||
Popup_Wait(function() {
|
||||
PostJSON(
|
||||
HOME+I+LOGIN+W+FINDPW+W+"sendCode"+POST, {
|
||||
"../../i_login/findpw/sendCodePost.php", {
|
||||
email: email
|
||||
},
|
||||
function(response, textStatus) {
|
||||
@@ -125,7 +125,7 @@ function LoginFindpw_VerifyCode() {
|
||||
} else if(code.length == 6) {
|
||||
Popup_Wait(function() {
|
||||
PostJSON(
|
||||
HOME+I+LOGIN+W+FINDPW+W+"verifyCode"+POST, {
|
||||
"../../i_login/findpw/verifyCodePost.php", {
|
||||
email: email,
|
||||
code: code
|
||||
},
|
||||
@@ -153,7 +153,7 @@ function LoginFindpw_Check(type) {
|
||||
|
||||
Popup_Wait(function() {
|
||||
PostJSON(
|
||||
HOME+I+LOGIN+W+FINDPW+W+"check"+POST, {
|
||||
"../../i_login/findpw/checkPost.php", {
|
||||
type: type,
|
||||
id: id,
|
||||
pid1: pid1,
|
||||
@@ -194,7 +194,7 @@ function LoginFindpw_Findpw() {
|
||||
|
||||
Popup_Wait(function() {
|
||||
PostJSON(
|
||||
HOME+I+LOGIN+W+FINDPW+W+POST, {
|
||||
"../../i_login/findpw/Post.php", {
|
||||
id: id,
|
||||
pid1: pid1,
|
||||
pid2: pid2,
|
||||
|
||||
@@ -50,7 +50,7 @@ function LoginJoin_Update() {
|
||||
|
||||
function LoginJoin_UpdateRegisteredCount() {
|
||||
GetJSON(
|
||||
HOME+I+LOGIN+W+JOIN+W+GET, { },
|
||||
"../../i_login/join/Get.php", { },
|
||||
function(response, textStatus) {
|
||||
if(response.result == "SUCCESS") {
|
||||
$("#LoginJoin_000100").text(response.registeredCount);
|
||||
@@ -110,7 +110,7 @@ function LoginJoin_SendCode() {
|
||||
|
||||
Popup_Wait(function() {
|
||||
PostJSON(
|
||||
HOME+I+LOGIN+W+JOIN+W+"sendCode"+POST, {
|
||||
"../../i_login/join/sendCodePost.php", {
|
||||
email: email
|
||||
},
|
||||
function(response, textStatus) {
|
||||
@@ -141,7 +141,7 @@ function LoginJoin_VerifyCode() {
|
||||
} else if(code.length == 6) {
|
||||
Popup_Wait(function() {
|
||||
PostJSON(
|
||||
HOME+I+LOGIN+W+JOIN+W+"verifyCode"+POST, {
|
||||
"../../i_login/join/verifyCodePost.php", {
|
||||
email: email,
|
||||
code: code
|
||||
},
|
||||
@@ -170,7 +170,7 @@ function LoginJoin_Check(type) {
|
||||
|
||||
Popup_Wait(function() {
|
||||
PostJSON(
|
||||
HOME+I+LOGIN+W+JOIN+W+"check"+POST, {
|
||||
"../../i_login/join/checkPost.php", {
|
||||
type: type,
|
||||
id: id,
|
||||
pid1: pid1,
|
||||
@@ -220,7 +220,7 @@ function LoginJoin_Join() {
|
||||
|
||||
Popup_Wait(function() {
|
||||
PostJSON(
|
||||
HOME+I+LOGIN+W+JOIN+W+POST, {
|
||||
"../../i_login/join/Post.php", {
|
||||
id: id,
|
||||
pw: pw,
|
||||
pid1: pid1,
|
||||
|
||||
+2
-2
@@ -38,8 +38,8 @@ $system = getRootDB()->queryFirstRow('SELECT `REG`, `LOGIN` FROM `SYSTEM` WHERE
|
||||
$(document).ready(Login);
|
||||
|
||||
function Login() {
|
||||
//ImportView("body", "<?=ROOT;?>"+W+I+POPUP+W+FRAME);
|
||||
//ImportView("body", FRAME);
|
||||
//ImportView("body", "<?=ROOT;?>/i_popup/Frame.php");
|
||||
//ImportView("body", "Frame.php");
|
||||
|
||||
Popup_Import();
|
||||
Popup_Init();
|
||||
|
||||
Reference in New Issue
Block a user