{"id":473,"date":"2017-08-29T11:44:43","date_gmt":"2017-08-29T02:44:43","guid":{"rendered":"http:\/\/niceart.co.kr\/?page_id=473"},"modified":"2017-08-29T11:44:49","modified_gmt":"2017-08-29T02:44:49","slug":"%eb%a1%9c%ea%b7%b8%ec%9d%b8","status":"publish","type":"page","link":"https:\/\/niceart.co.kr\/?page_id=473","title":{"rendered":"\ub85c\uadf8\uc778"},"content":{"rendered":"<script type=\"text\/javascript\">\nfunction b64EncodeUnicode(str) {\n    return btoa(encodeURIComponent(str).replace(\/%([0-9A-F]{2})\/g, function(match, p1) {\n        return String.fromCharCode('0x' + p1);\n    }));\n}\nfunction login_check(ajax_act){\n\tif(jQuery(\"#upass\").val()){\n\t\tjQuery(\"#upass\").val(b64EncodeUnicode(jQuery(\"#upass\").val()))\n\t}\n\n\tjQuery.ajax({\n\t\turl: ajax_act,\n\t\ttype: \"post\",\n\t\tdataType: \"jsonp\",\n\t\t\/\/async: false,\n\t\tjsonp: \"callback\",\n\t\t\/\/jsonpCallback: 'myCallback',\n\t\tdata: jQuery('#login_frm').serialize(),\n\t\tcrossDomain: true,\n\t\tbeforeSend: function(){},\n\t\tcomplete: function(){},\n\t\tsuccess: response_json,\n\t\terror: function(data, status, err){\n\t\t\tvar errorMessage = err || data.statusText;\n\t\t\talert(errorMessage);\n\t\t}\n\t});\n}\n\nfunction response_json(json){\n\tvar list_cnt = json.length;\n\tvar joinPage=\"https:\/\/niceart.co.kr\/?page_id=480\";\n\tif(list_cnt > 0){\n\t\tjQuery.each(json, function(index, entry){\n\t\t\tvar res = entry['result'];\n\t\t\tif(res == \"success\"){\n\t\t\t\tif(jQuery(\"#goods_info\").val() == \"\") {\n\t\t\t\t\tif(jQuery(\"#redirect_to\").val() == \"\" || jQuery(\"#redirect_to\").val() == joinPage) {\n\t\t\t\t\t\twindow.location.href = common_var.home_url;\n\t\t\t\t\t}else{\n\t\t\t\t\t\twindow.location.href = jQuery(\"#redirect_to\").val();\n\t\t\t\t\t}\n\t\t\t\t}else{\n\t\t\t\t\tjQuery(\"#redirectFrm\").attr(\"action\",jQuery(\"#redirect_to\").val()).submit();\n\t\t\t\t}\n\t\t\t}else if(res == \"empty id\"){\n\t\t\t\tjQuery(\"#error_box\").show();\n\t\t\t\tjQuery(\"#error_box\").html(\"\uc5d0\ub7ec : \uc544\uc774\ub514\ub97c \uc785\ub825\ud574\uc8fc\uc138\uc694.\");\n\t\t\t\tjQuery(\"#uid\").focus();\n\t\t\t}else if(res == \"id_fail\"){\n\t\t\t\tjQuery(\"#error_box\").show();\n\t\t\t\tjQuery(\"#error_box\").html(\"\uc5d0\ub7ec : \uc544\uc774\ub514\/\ube44\ubc00\ubc88\ud638\uac00 \uc62c\ubc14\ub974\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4.\");\n\t\t\t\tjQuery(\"#uid\").focus();\n\t\t\t}else if(res == \"empty pass\"){\n\t\t\t\tjQuery(\"#error_box\").show();\n\t\t\t\tjQuery(\"#error_box\").html(\"\uc5d0\ub7ec : \ube44\ubc00\ubc88\ud638\ub97c \uc785\ub825\ud574\uc8fc\uc138\uc694.\");\n\t\t\t\tjQuery(\"#upass\").focus();\n\t\t\t}else if(res == \"pass_fail\"){\n\t\t\t\tjQuery(\"#error_box\").show();\n\t\t\t\tjQuery(\"#error_box\").html(\"\uc5d0\ub7ec : \uc544\uc774\ub514\/\ube44\ubc00\ubc88\ud638\uac00 \uc62c\ubc14\ub974\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4.\");\n\t\t\t\tjQuery(\"#upass\").focus();\n\t\t\t}else if(res == \"login_fail\"){\n\t\t\t\tjQuery(\"#error_box\").show();\n\t\t\t\tjQuery(\"#error_box\").html(\"\uc5d0\ub7ec : \ub85c\uadf8\uc778 \uc624\ub958\uc785\ub2c8\ub2e4.\");\n\t\t\t\tjQuery(\"#uid\").focus();\n\t\t\t}\n\t\t});\n\t}\n}\n\nwindow.onload = function(){document.login_frm.uid.focus();}\njQuery(function() {\n\tjQuery(\".btn-action-join\").click(function() {\/\/\ud68c\uc6d0\uac00\uc785 \ud398\uc774\uc9c0 \uc774\ub3d9\n\t\tlocation.href=\"https:\/\/niceart.co.kr\/?page_id=480\";\n\t});\n\tjQuery(\".btn-action-idfind\").click(function() {\/\/\uc544\uc774\ub514 \ucc3e\uae30 \ud398\uc774\uc9c0 \uc774\ub3d9\n\t\tlocation.href=\"https:\/\/niceart.co.kr\/?page_id=478\";\n\t});\n\tjQuery(\".btn-action-pwfind\").click(function() {\/\/\ube44\ubc00\ubc88\ud638 \ucc3e\uae30 \ud398\uc774\uc9c0 \uc774\ub3d9\n\t\tlocation.href=\"https:\/\/niceart.co.kr\/?page_id=482\";\n\t});\n\tjQuery(\".btn-guest-order\").click(function () {\/\/\ube44\ud68c\uc6d0 \uc57d\uad00\ud398\uc774\uc9c0 \uc774\ub3d9\n\t\tjQuery(\"#redirectFrm\").attr(\"action\",\"https:\/\/niceart.co.kr?bbsePage=order-agree\").submit();\n\t});\n});\n\nfunction guest_login(act) {\n\tif(jQuery(\"input[name='order_name']\").val() == \"\") {\n\t\tjQuery(\"#guest_error_box\").show();\n\t\tjQuery(\"#guest_error_box\").html(\"\uc5d0\ub7ec : \uc8fc\ubb38\uc790\ub97c \uc785\ub825\ud574\uc8fc\uc138\uc694.\");\n\t\tjQuery(\"input[name='order_name']\").focus();\n\t\treturn;\n\t}\n\tif(jQuery(\"input[name='order_no']\").val() == \"\") {\n\t\tjQuery(\"#guest_error_box\").show();\n\t\tjQuery(\"#guest_error_box\").html(\"\uc5d0\ub7ec : \uc8fc\ubb38\ubc88\ud638\ub97c \uc785\ub825\ud574\uc8fc\uc138\uc694.\");\n\t\tjQuery(\"input[name='order_no']\").focus();\n\t\treturn;\n\t}\n\n\tjQuery.ajax({\n\t\turl: act,\n\t\ttype: \"post\",\n\t\tdataType: \"jsonp\",\n\t\t\/\/async: false,\n\t\tjsonp: \"callback\",\n\t\tdata: jQuery('#guest_frm').serialize(),\n\t\tcrossDomain: true,\n\t\tsuccess: guest_order_check,\n\t\terror: function(data, status, err){\n\t\t\tvar errorMessage = err || data.statusText;\n\t\t\talert(errorMessage);\n\t\t}\n\t});\n}\n\nfunction guest_order_check(json){\n\tvar list_cnt = json.length;\n\tif(list_cnt > 0){\n\t\tjQuery.each(json, function(index, entry){\n\t\t\tvar res = entry['result'].split(\"|||\");\n\t\t\tif(res['0'] == \"success\"){\n\t\t\t\tjQuery(\"#guest_frm\").attr(\"action\",res['1']).submit();\n\t\t\t}else if(res['0'] == \"notExist\"){\n\t\t\t\tjQuery(\"#guest_error_box\").show();\n\t\t\t\tjQuery(\"#guest_error_box\").html(\"\uc5d0\ub7ec : \uc8fc\ubb38\uc815\ubcf4\uac00 \uc874\uc7ac\ud558\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4.\");\n\t\t\t}\n\t\t});\n\t}\n}\n\n<\/script>\n\n<div class=\"page_concept\">\n\t\ub85c\uadf8\uc778\ud558\uc2dc\uba74 \ub2e4\uc591\ud558\uace0 \ud3b8\ub9ac\ud55c \uae30\ub2a5\uc744 \uc774\uc6a9\ud558\uc2e4 \uc218 \uc788\uc2b5\ub2c8\ub2e4.\n<\/div>\n<!--  \ub85c\uadf8\uc778 \ud654\uba74 -->\n<div class=\"article\">\n\t<div class=\"bd_box\">\n\t\t<form method=\"post\" name=\"login_frm\" id=\"login_frm\">\n\t\t<input type=\"hidden\" name=\"redirect_to\" id=\"redirect_to\" value=\"\" \/>\n\t\t<div class=\"bb_section\">\n\t\t\t<h3>\ud68c\uc6d0 \ub85c\uadf8\uc778<\/h3>\n\t\t\t<p>\uac00\uc785\ud558\uc2e0 \uc544\uc774\ub514\uc640 \ube44\ubc00\ubc88\ud638\ub97c \uc785\ub825\ud574\uc8fc\uc138\uc694.<\/p>\n\t\t\t<div class=\"bb_login_wrap\">\n\t\t\t\t<div class=\"login_left\">\n\t\t\t\t\t<label for=\"uid\">\uc544\uc774\ub514<\/label><input type=\"text\" name=\"uid\" id=\"uid\" onfocus=\"this.value='';return true;\" onkeydown=\"if(jQuery(this).val() != ''){jQuery('#error_box').empty().hide();}\" tabindex=\"1\"\/>\n\t\t\t\t\t<label for=\"upass\">\ube44\ubc00\ubc88\ud638<\/label><input type=\"password\" name=\"upass\" id=\"upass\" onfocus=\"this.value='';return true;\" tabindex=\"2\" onkeypress=\"if(jQuery(this).val() != ''){jQuery('#error_box').empty().hide();}if(event.keyCode == 13) login_check('https:\/\/niceart.co.kr\/wp-content\/themes\/Blog_Shop\/proc\/login.exec.php');\"\/>\n\t\t\t\t<\/div>\n\t\t\t\t<button type=\"button\" class=\"bb_submit\" tabindex=\"3\" onclick=\"login_check('https:\/\/niceart.co.kr\/wp-content\/themes\/Blog_Shop\/proc\/login.exec.php');\"><strong>\ub85c\uadf8\uc778<\/strong><\/button>\n\t\t\t<\/div>\n\t\t\t<p class=\"btm_area\">\n\t\t\t\t<button type=\"button\" class=\"bb_btn shadow btn-action-join\"><strong class=\"mid c_point\">\ud68c\uc6d0\uac00\uc785<\/strong><\/button>&nbsp;<button type=\"button\" class=\"bb_btn shadow btn-action-idfind\"><span class=\"mid\">\uc544\uc774\ub514\ucc3e\uae30<\/span><\/button>&nbsp;<button type=\"button\" class=\"bb_btn shadow btn-action-pwfind\"><span class=\"mid\">\ube44\ubc00\ubc88\ud638\ucc3e\uae30<\/span><\/button>\n\t\t\t<\/p>\n\t\t\t<!-- alert  -->\n\t\t\t<p id=\"error_box\" class=\"open_alert\" style=\"display:none;\"><\/p>\n\t\t\t<!--\/\/alert  -->\n\t\t<\/div><!--\/\/\ud68c\uc6d0\ub85c\uadf8\uc778 -->\n\t\t<\/form>\n\t\t\t<form method=\"post\" name=\"guest_frm\" id=\"guest_frm\">\n\t\t<div class=\"bb_section\">\n\t\t\t<h3>\ube44\ud68c\uc6d0 \uc8fc\ubb38\uc870\ud68c<\/h3>\n\t\t\t<p>\ube44\ud68c\uc6d0\uc73c\ub85c \uc0c1\ud488\uc744 \uad6c\uc785\ud558\uc2e0 \ubd84\uc740 \uc544\ub798 \uc815\ubcf4\ub97c \uc785\ub825 \ud574 \uc8fc\uc138\uc694.<\/p>\n\t\t\t<div class=\"bb_login_wrap\">\n\t\t\t\t<div class=\"login_left\">\n\t\t\t\t\t<label for=\"order_name\">\uc8fc\ubb38\uc790<\/label><input type=\"text\" name=\"order_name\" id=\"order_name\" onfocus=\"this.value='';return true;\" onkeydown=\"if(jQuery(this).val() != ''){jQuery('#guest_error_box').empty().hide();}\" \/>\n\t\t\t\t\t<label for=\"order_no\">\uc8fc\ubb38\ubc88\ud638<\/label><input type=\"text\" name=\"order_no\" id=\"order_no\" onfocus=\"this.value='';return true;\" onkeydown=\"if(jQuery(this).val() != ''){jQuery('#guest_error_box').empty().hide();}\" \/>\n\t\t\t\t<\/div>\n\t\t\t\t<button type=\"button\" class=\"bb_submit\" onclick=\"guest_login('https:\/\/niceart.co.kr\/wp-content\/themes\/Blog_Shop\/proc\/order.check.php');\"><strong>\ube44\ud68c\uc6d0<br \/>\uc870\ud68c<\/strong><\/button>\n\t\t\t<\/div>\n\t\t\t<!-- alert  -->\n\t\t\t<p id=\"guest_error_box\" class=\"open_alert\" style=\"display:none;\"><\/p>\n\t\t\t<!--\/\/alert  -->\n\t\t\t<div class=\"btm_area\">\n\t\t\t\t<ul class=\"bb_dot_list\">\n\t\t\t\t\t<li>\uc8fc\ubb38\ubc88\ud638\ub97c \ubaa8\ub974\uc2e0\ub2e4\uba74, \uace0\uac1d\uc13c\ud130\ub85c \ubb38\uc758\ud574 \uc8fc\uc138\uc694.<\/li>\n\t\t\t\t<\/ul>\n\t\t\t<\/div>\n\t\t<\/div><!--\/\/\ube44\ud68c\uc6d0 \uc8fc\ubb38\uc870\ud68c-->\n\t\t<\/form>\n\t\t<\/div>\n<\/div>\n<form name=\"redirectFrm\" id=\"redirectFrm\" method=\"post\">\n<input type=\"hidden\" name=\"goods_info\" id=\"goods_info\" value=\"\" \/>\n<\/form>\n<!-- \/\/\ub85c\uadf8\uc778 \ud654\uba74 -->\n\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/niceart.co.kr\/index.php?rest_route=\/wp\/v2\/pages\/473"}],"collection":[{"href":"https:\/\/niceart.co.kr\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/niceart.co.kr\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/niceart.co.kr\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/niceart.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=473"}],"version-history":[{"count":2,"href":"https:\/\/niceart.co.kr\/index.php?rest_route=\/wp\/v2\/pages\/473\/revisions"}],"predecessor-version":[{"id":475,"href":"https:\/\/niceart.co.kr\/index.php?rest_route=\/wp\/v2\/pages\/473\/revisions\/475"}],"wp:attachment":[{"href":"https:\/\/niceart.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=473"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}