HTTP/1.1 200
Accept-Ranges: bytes
ETag: W/"13489-1677484485000"
Last-Modified: Mon, 27 Feb 2023 07:54:45 GMT
Content-Type: text/html
Content-Length: 13489
Date: Thu, 21 Nov 2024 08:36:17 GMT
Connection: close
<!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no">
<meta name="apple-mobile-web-app-title" content="X PARKING">
<meta name="application-name" content="X PARKING">
<meta name="msapplication-TileColor" content="#680014">
<meta name="theme-color" content="#ffffff">
<!-- <meta http-equiv="Cache-Control" content="no-cache"> -->
<meta http-equiv="Cache-Control" content="no-store"/>
<title>X PARKING - 젤롭 파킹</title>
<link rel="apple-touch-icon" sizes="180x180" href="./images/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="./images/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="./images/favicon-16x16.png">
<link rel="manifest" href="./favi/site.webmanifest">
<link rel="mask-icon" href="./favi/safari-pinned-tab.svg" color="#c60026">
<link rel="stylesheet" as="style" crossorigin href="https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.6/dist/web/static/pretendard-dynamic-subset.css" />
<link rel="stylesheet" href="../css/layout.css?220905">
<link rel="stylesheet" href="../css/login.css?220905">
<script src="./js/jquery-1.11.2.min.js?220905"></script>
<script src="./js/common.js?220905"></script>
<script src="http://code.jquery.com/jquery-migrate-1.4.1.js?220905"></script>
<!--[if lt ie 9]>
<script src="../js/html5shiv.min.js"></script>
<![endif]-->
<script src="./js/cors.js?220905"></script>
</head>
<body>
<div class="pw-change-darkBg"></div>
<div id="bizname" class="dropin">안녕하세요, <span>현장명</span>입니다</div>
<div id="login" class="gelatine-login">
<section class="login-wrap">
<p class="welcome">주차장 운영·관리의 새로운 패러다임!<br />X PARKING에 오신 것을 환영합니다!</p>
<form id="loginForm">
<div class="input-wrap"><input name="userId" type="text" placeholder="아이디를 입력하세요"></div>
<div class="input-wrap pw"><input name="userPassword" type="password" placeholder="비밀번호를 입력하세요"></div>
<div class="id-save">
<label class="label_check" for="sample01"><input name="" id="sample01" type="checkbox" checked></label> 아이디 기억하기
<div style="display: none;"><button class="btn-login" onclick="login();return false;">Enter Key 처리</button></div>
<button class="pw-change" id="pwchange">비밀번호 변경</button>
</div>
<button type="submit" class="btn-login" onclick="login();return false;">로그인</button>
<a href="http://www.dyik21.co.kr/" target="_blank" class="homepage-btn"><span class="homepage">대영 그룹 홈페이지</span></a><span class="tel">고객센터<strong>1800-6488</strong></span>
<div class="pw-change-popUp">
<div>
<div class="pw-change-popUp-title fixedclear">
<div class="pw-change-popUp-title-bg"><img src="./images/blocker_control_active2.png" alt=""></div>
<h3>비밀번호 변경</h3>
</div>
<div class="pw-change-popUp-input">
<div class="input-wrap mt1"><input type="text" placeholder="아이디를 입력하세요" id="_userid"></div>
<div class="input-wrap pw mt1"><input type="password" placeholder="비밀번호를 입력하세요" id="_userpw"></div>
<div class="input-wrap2 pw mt1"><input type="password" placeholder="새 비밀번호를 입력하세요" id="_newpw1"></div>
<div class="input-wrap2 pw mt1"><input type="password" placeholder="새 비밀번호를 확인합니다" id="_newpw2"></div>
</div>
<div class="pw-fail">
<!--
<p>기존 비밀번호가 틀렸습니다.</p>
<p>새 비밀번호가 맞지 않아요.</p>
-->
</div>
<div class="pw-change-popUp-btn">
<button type="button" class="popUp-btn" onclick="changePassword()">변경</button>
<button type="button" class="popUp-btn popUp-btn2">취소</button>
</div>
</div>
</div>
<script type="text/javascript">
$(function () {
// 비밀번호변경 클릭시 'pw-change-popUp'버튼 보이고
// 취소버튼 클릭시 사라진다.
$('.pw-change').on({
click: function (e) {
$('.pw-change-popUp').fadeIn(300);
$('.pw-change-darkBg').fadeIn(300);
return false;
}
});
$('.popUp-btn2').on({
click: function () {
$('.pw-change-popUp').fadeOut(300);
$('.pw-change-darkBg').fadeOut(300);
}
});
});
</script>
<script src="../js/auth.js?220905"></script>
</form>
</section>
</div>
<!--크롬을 써주시옵소서...-->
<div id="modal">
<div class="modal-background">
<div class="modal-wrapper">
<div class="modal-title"><p>어머나? 브라우저가 크롬이 아니예요…</p><p>젤롭 파킹은 Chrome(크롬) 브라우저에 최적화되어 있습니다</p></div>
<div class="modal-content">젤롭 파킹은 Chrome(크롬) 최신 버전에서 쾌적하게 사용하실 수 있습니다.<br>Chrome 외 다른 브라우저로 접속하시면 젤롭 파킹 이용이 정상적이지 않을 수 있는 점 양해 부탁드립니다.</div>
<div class="modal-downloadchrome" onclick="window.open('https://www.google.co.kr/chrome/')">크롬 최신버전 다운로드<br><span>새창으로 열립니다</span></div>
<div class="modal-howtodeletechace">브라우저를 변경해도 정상적인 이용이 어려울 경우,<br>새로고침 및 설정-개인정보 및 보안-인터넷 사용 기록 삭제-쿠키 및<br>기타 사이트 데이터와 캐시된 이미지 및 파일 체크 후 삭제해주세요.</div>
<div id="plz-close-modal" class="modal-close">닫기</div>
<!-- <label class="label_check" for="sample02"><input name="" id="sample02" type="checkbox"
onclick="monthclose();"></label> 30일후에 열기 -->
</div>
</div>
</div>
<!--모..달..달달달달달-->
<script type="text/javascript">
function get_biz() {
var obj = new Object();
obj.parkname = "";
$.ajax({
url: apiServer + "biz",
type: "POST",
headers: { "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIwMjQyMDY0ODgiLCJuYW1lIjoiaHR0cDovL3d3dy5keWlrMjEuY28ua3IvIiwidmlzaW9uIjoidjQifQ.FWrZJsSj3ElO7tSp4QHMDM5TJ5HsvTyuJK0ByzSv1Q8" },
async: false,
cache: false,
crossDomain: true,
contentType: "application/json",
dataType: "json",
data: JSON.stringify(obj),
success: function (data) {
if (data) {
$("#bizname>span").text(data[0].bizname);
}
}
});
}
function setCookie(name, value, exp) {
var date = new Date();
date.setTime(date.getTime() + exp * 24 * 60 * 60 * 1000);
document.cookie = name + '=' + value + ';expires=' + date.toUTCString() + ';path=/';
// if (value === "popup") { //팝업창
// date.setDate(date.getDate() + exp);
// document.cookie = name + "=" + escape(value) + "; path=/; expires=" + date.toUTCString() + ";"
// }
}
$(document).keypress(function (e) {
if (e.keyCode == 13) e.preventDefault();
});
// function monthclose() {
// setCookie("popup", "popup", 30);
// }
function getCookie(name) {
var value = document.cookie.match('(^|;) ?' + name + '=([^;]*)(;|$)');
return value ? value[2] : null;
}
function deleteCookie(name) {
document.cookie = name + '=; expires=Thu, 01 Jan 1970 00:00:01 GMT;';
}
function login() {
if ($("#sample01").is(":checked")) {
setCookie("userId", $("input[name=userId]").val());
}
else {
deleteCookie("userId");
}
auth.login();
}
function changePassword() {
var chkValid = ["#_userid", "#_userpw", "#_newpw1", "#_newpw2"];
var isValid = true;
chkValid.forEach(function (element) {
if (isValid && (!$(element).val() || $(element).val() == "")) {
$(element).focus();
alert("필수항목이 비어 있습니다.");
isValid = false;
}
});
if (!isValid) return;
var newpw = $("#_newpw1").val();
if (newpw.length < 4) {
$("#_newpw1").focus();
alert("비밀번호는 4자리이상 입력해 주세요.");
return;
}
if (newpw != $("#_newpw2").val()) {
$("#_newpw2").focus();
alert("비밀번호가 동일하지 않습니다.");
return;
}
var obj = new Object();
obj.parkno = "";
obj.userid = $("#_userid").val();
obj.pw = $("#_userpw").val();
obj.npw = $("#_newpw1").val();
//console.log(JSON.stringify(obj));
$.ajax({
url: apiServer + "login",
type: "PUT",
headers: { "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIwMjQyMDY0ODgiLCJuYW1lIjoiaHR0cDovL3d3dy5keWlrMjEuY28ua3IvIiwidmlzaW9uIjoidjQifQ.FWrZJsSj3ElO7tSp4QHMDM5TJ5HsvTyuJK0ByzSv1Q8" },
cache: false,
crossDomain: true,
contentType: "application/json",
dataType: "json",
data: JSON.stringify(obj),
success: function (data) {
//console.log(data);
if (data) {
//211020 서버 return값이 -9로만 와서 배열값으로 변경함
if (-9 == data[0].rescode) {
alert("아이디 또는 패스워드가 다릅니다.");
return;
}
else {
$("#_userid").val("");
$("#_userpw").val("");
$("#_newpw1").val("");
$("#_newpw2").val("");
alert("변경하였습니다.");
$('.pw-change-popUp').hide();
$('.pw-change-darkBg').hide();
}
}
},
error: function (err) {
console.log(err);
}
});
}
function detectMobileDevice(agent) {
const mobileRegex = [
/Android/i,
/iPhone/i,
/iPad/i,
/iPod/i,
/BlackBerry/i,
/Windows Phone/i
]
return mobileRegex.some(mobile => agent.match(mobile))
}
function initialize() {
var userid = getCookie("userId");
if (userid) {
$("input[name=userId]").val(userid);
}
//모바일 페이지 체트
const isMobile = detectMobileDevice(window.navigator.userAgent)
if (isMobile) {
console.log('current device is mobile');
// alert("모바일 페이지로 이동합니다.");
window.location.href = '/mobile/loginform.html';
} else {
console.log('current device is not mobile')
}
get_biz();
// getBrowserInfo();
}
$(document).ready(initialize());
</script>
</body>
</html>
{
"@category" : "datascan",
"@timestamp" : "2024-11-21T08:36:18.000Z",
"app" : {
"extract" : {
"domain" : [
"dyik21.co.kr",
"jquery.com",
"google.co.kr",
"jsdelivr.net"
],
"hostname" : [
"cdn.jsdelivr.net",
"code.jquery.com",
"www.dyik21.co.kr",
"www.google.co.kr"
],
"url" : [
"http://code.jquery.com/jquery-migrate-1.4.1.js?220905",
"http://www.dyik21.co.kr/",
"https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.6/dist/web/static/pretendard-dynamic-subset.css",
"https://www.google.co.kr/chrome/"
]
},
"favicon" : {
"url" : "/images/apple-touch-icon.png"
},
"http" : {
"bodymd5" : "8ecf7dba142561be2715e4d4481ddc3c",
"bodymmh3" : -1943040427,
"component" : [
{
"product" : "jQuery",
"productvendor" : "jQuery",
"productversion" : "1.11.2"
}
],
"header" : [
{
"name" : "ETag",
"value" : "W/\"13489-1677484485000"
},
{
"name" : "Last-Modified",
"value" : "Mon, 27 Feb 2023 07:54:45 GMT"
}
],
"headermd5" : "e07e4164f4741d1439ffab1826c360ca",
"headermmh3" : 1890210919,
"title" : "X PARKING - \uc824\ub86d \ud30c\ud0b9"
},
"length" : 13709
},
"asn" : "AS3786",
"city" : "Yeonsu-gu",
"country" : "KR",
"cpe" : "<enterprise field>: cpe",
"cpecount" : "<enterprise field>: cpecount",
"data" : "HTTP/1.1 200 \r\nAccept-Ranges: bytes\r\nETag: W/\"13489-1677484485000\"\r\nLast-Modified: Mon, 27 Feb 2023 07:54:45 GMT\r\nContent-Type: text/html\r\nContent-Length: 13489\r\nDate: Thu, 21 Nov 2024 08:36:17 GMT\r\nConnection: close\r\n\r\n\ufeff<!DOCTYPE html>\r\n<html lang=\"ko\">\r\n\r\n<head>\r\n <meta charset=\"utf-8\" />\r\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\" />\r\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no\">\r\n <meta name=\"apple-mobile-web-app-title\" content=\"X PARKING\">\r\n <meta name=\"application-name\" content=\"X PARKING\">\r\n <meta name=\"msapplication-TileColor\" content=\"#680014\">\r\n <meta name=\"theme-color\" content=\"#ffffff\">\r\n <!-- <meta http-equiv=\"Cache-Control\" content=\"no-cache\"> -->\r\n <meta http-equiv=\"Cache-Control\" content=\"no-store\"/>\r\n\r\n <title>X PARKING - \uc824\ub86d \ud30c\ud0b9</title>\r\n\r\n <link rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"./images/apple-touch-icon.png\">\r\n <link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"./images/favicon-32x32.png\">\r\n <link rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"./images/favicon-16x16.png\">\r\n <link rel=\"manifest\" href=\"./favi/site.webmanifest\">\r\n <link rel=\"mask-icon\" href=\"./favi/safari-pinned-tab.svg\" color=\"#c60026\">\r\n\r\n <link rel=\"stylesheet\" as=\"style\" crossorigin href=\"https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.6/dist/web/static/pretendard-dynamic-subset.css\" />\r\n <link rel=\"stylesheet\" href=\"../css/layout.css?220905\">\r\n <link rel=\"stylesheet\" href=\"../css/login.css?220905\">\r\n\r\n <script src=\"./js/jquery-1.11.2.min.js?220905\"></script>\r\n <script src=\"./js/common.js?220905\"></script>\r\n <script src=\"http://code.jquery.com/jquery-migrate-1.4.1.js?220905\"></script>\r\n <!--[if lt ie 9]>\r\n <script src=\"../js/html5shiv.min.js\"></script>\r\n <![endif]-->\r\n <script src=\"./js/cors.js?220905\"></script>\r\n</head>\r\n\r\n<body>\r\n <div class=\"pw-change-darkBg\"></div>\r\n <div id=\"bizname\" class=\"dropin\">\uc548\ub155\ud558\uc138\uc694, <span>\ud604\uc7a5\uba85</span>\uc785\ub2c8\ub2e4</div>\r\n <div id=\"login\" class=\"gelatine-login\">\r\n <section class=\"login-wrap\">\r\n <p class=\"welcome\">\uc8fc\ucc28\uc7a5 \uc6b4\uc601\u00b7\uad00\ub9ac\uc758 \uc0c8\ub85c\uc6b4 \ud328\ub7ec\ub2e4\uc784!<br />X PARKING\uc5d0 \uc624\uc2e0 \uac83\uc744 \ud658\uc601\ud569\ub2c8\ub2e4!</p>\r\n <form id=\"loginForm\">\r\n <div class=\"input-wrap\"><input name=\"userId\" type=\"text\" placeholder=\"\uc544\uc774\ub514\ub97c \uc785\ub825\ud558\uc138\uc694\"></div>\r\n <div class=\"input-wrap pw\"><input name=\"userPassword\" type=\"password\" placeholder=\"\ube44\ubc00\ubc88\ud638\ub97c \uc785\ub825\ud558\uc138\uc694\"></div>\r\n <div class=\"id-save\">\r\n <label class=\"label_check\" for=\"sample01\"><input name=\"\" id=\"sample01\" type=\"checkbox\" checked></label> \uc544\uc774\ub514 \uae30\uc5b5\ud558\uae30\r\n <div style=\"display: none;\"><button class=\"btn-login\" onclick=\"login();return false;\">Enter Key \ucc98\ub9ac</button></div>\r\n <button class=\"pw-change\" id=\"pwchange\">\ube44\ubc00\ubc88\ud638 \ubcc0\uacbd</button>\r\n </div>\r\n <button type=\"submit\" class=\"btn-login\" onclick=\"login();return false;\">\ub85c\uadf8\uc778</button>\r\n <a href=\"http://www.dyik21.co.kr/\" target=\"_blank\" class=\"homepage-btn\"><span class=\"homepage\">\ub300\uc601 \uadf8\ub8f9 \ud648\ud398\uc774\uc9c0</span></a><span class=\"tel\">\uace0\uac1d\uc13c\ud130<strong>1800-6488</strong></span>\r\n <div class=\"pw-change-popUp\">\r\n <div>\r\n <div class=\"pw-change-popUp-title fixedclear\">\r\n <div class=\"pw-change-popUp-title-bg\"><img src=\"./images/blocker_control_active2.png\" alt=\"\"></div>\r\n <h3>\ube44\ubc00\ubc88\ud638 \ubcc0\uacbd</h3>\r\n </div>\r\n <div class=\"pw-change-popUp-input\">\r\n <div class=\"input-wrap mt1\"><input type=\"text\" placeholder=\"\uc544\uc774\ub514\ub97c \uc785\ub825\ud558\uc138\uc694\" id=\"_userid\"></div>\r\n <div class=\"input-wrap pw mt1\"><input type=\"password\" placeholder=\"\ube44\ubc00\ubc88\ud638\ub97c \uc785\ub825\ud558\uc138\uc694\" id=\"_userpw\"></div>\r\n <div class=\"input-wrap2 pw mt1\"><input type=\"password\" placeholder=\"\uc0c8 \ube44\ubc00\ubc88\ud638\ub97c \uc785\ub825\ud558\uc138\uc694\" id=\"_newpw1\"></div>\r\n <div class=\"input-wrap2 pw mt1\"><input type=\"password\" placeholder=\"\uc0c8 \ube44\ubc00\ubc88\ud638\ub97c \ud655\uc778\ud569\ub2c8\ub2e4\" id=\"_newpw2\"></div>\r\n </div>\r\n <div class=\"pw-fail\">\r\n <!--\r\n <p>\uae30\uc874 \ube44\ubc00\ubc88\ud638\uac00 \ud2c0\ub838\uc2b5\ub2c8\ub2e4.</p>\r\n <p>\uc0c8 \ube44\ubc00\ubc88\ud638\uac00 \ub9de\uc9c0 \uc54a\uc544\uc694.</p>\r\n -->\r\n </div>\r\n\r\n <div class=\"pw-change-popUp-btn\">\r\n <button type=\"button\" class=\"popUp-btn\" onclick=\"changePassword()\">\ubcc0\uacbd</button>\r\n <button type=\"button\" class=\"popUp-btn popUp-btn2\">\ucde8\uc18c</button>\r\n </div>\r\n </div>\r\n </div>\r\n <script type=\"text/javascript\">\r\n $(function () {\r\n // \ube44\ubc00\ubc88\ud638\ubcc0\uacbd \ud074\ub9ad\uc2dc 'pw-change-popUp'\ubc84\ud2bc \ubcf4\uc774\uace0\r\n // \ucde8\uc18c\ubc84\ud2bc \ud074\ub9ad\uc2dc \uc0ac\ub77c\uc9c4\ub2e4.\r\n $('.pw-change').on({\r\n click: function (e) {\r\n $('.pw-change-popUp').fadeIn(300);\r\n $('.pw-change-darkBg').fadeIn(300);\r\n return false;\r\n }\r\n });\r\n\r\n $('.popUp-btn2').on({\r\n click: function () {\r\n $('.pw-change-popUp').fadeOut(300);\r\n $('.pw-change-darkBg').fadeOut(300);\r\n }\r\n });\r\n });\r\n </script>\r\n <script src=\"../js/auth.js?220905\"></script>\r\n </form>\r\n </section>\r\n </div>\r\n\r\n <!--\ud06c\ub86c\uc744 \uc368\uc8fc\uc2dc\uc635\uc18c\uc11c...-->\r\n <div id=\"modal\">\r\n <div class=\"modal-background\">\r\n <div class=\"modal-wrapper\">\r\n <div class=\"modal-title\"><p>\uc5b4\uba38\ub098? \ube0c\ub77c\uc6b0\uc800\uac00 \ud06c\ub86c\uc774 \uc544\ub2c8\uc608\uc694\u2026</p><p>\uc824\ub86d \ud30c\ud0b9\uc740 Chrome(\ud06c\ub86c) \ube0c\ub77c\uc6b0\uc800\uc5d0 \ucd5c\uc801\ud654\ub418\uc5b4 \uc788\uc2b5\ub2c8\ub2e4</p></div>\r\n <div class=\"modal-content\">\uc824\ub86d \ud30c\ud0b9\uc740 Chrome(\ud06c\ub86c) \ucd5c\uc2e0 \ubc84\uc804\uc5d0\uc11c \ucf8c\uc801\ud558\uac8c \uc0ac\uc6a9\ud558\uc2e4 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<br>Chrome \uc678 \ub2e4\ub978 \ube0c\ub77c\uc6b0\uc800\ub85c \uc811\uc18d\ud558\uc2dc\uba74 \uc824\ub86d \ud30c\ud0b9 \uc774\uc6a9\uc774 \uc815\uc0c1\uc801\uc774\uc9c0 \uc54a\uc744 \uc218 \uc788\ub294 \uc810 \uc591\ud574 \ubd80\ud0c1\ub4dc\ub9bd\ub2c8\ub2e4.</div>\r\n <div class=\"modal-downloadchrome\" onclick=\"window.open('https://www.google.co.kr/chrome/')\">\ud06c\ub86c \ucd5c\uc2e0\ubc84\uc804 \ub2e4\uc6b4\ub85c\ub4dc<br><span>\uc0c8\ucc3d\uc73c\ub85c \uc5f4\ub9bd\ub2c8\ub2e4</span></div>\r\n <div class=\"modal-howtodeletechace\">\ube0c\ub77c\uc6b0\uc800\ub97c \ubcc0\uacbd\ud574\ub3c4 \uc815\uc0c1\uc801\uc778 \uc774\uc6a9\uc774 \uc5b4\ub824\uc6b8 \uacbd\uc6b0,<br>\uc0c8\ub85c\uace0\uce68 \ubc0f \uc124\uc815-\uac1c\uc778\uc815\ubcf4 \ubc0f \ubcf4\uc548-\uc778\ud130\ub137 \uc0ac\uc6a9 \uae30\ub85d \uc0ad\uc81c-\ucfe0\ud0a4 \ubc0f<br>\uae30\ud0c0 \uc0ac\uc774\ud2b8 \ub370\uc774\ud130\uc640 \uce90\uc2dc\ub41c \uc774\ubbf8\uc9c0 \ubc0f \ud30c\uc77c \uccb4\ud06c \ud6c4 \uc0ad\uc81c\ud574\uc8fc\uc138\uc694.</div>\r\n <div id=\"plz-close-modal\" class=\"modal-close\">\ub2eb\uae30</div>\r\n <!-- <label class=\"label_check\" for=\"sample02\"><input name=\"\" id=\"sample02\" type=\"checkbox\"\r\n onclick=\"monthclose();\"></label> 30\uc77c\ud6c4\uc5d0 \uc5f4\uae30 -->\r\n </div>\r\n </div>\r\n </div>\r\n <!--\ubaa8..\ub2ec..\ub2ec\ub2ec\ub2ec\ub2ec\ub2ec-->\r\n\r\n <script type=\"text/javascript\">\r\n\r\n function get_biz() {\r\n var obj = new Object();\r\n obj.parkname = \"\";\r\n\r\n $.ajax({\r\n url: apiServer + \"biz\",\r\n type: \"POST\",\r\n headers: { \"Authorization\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIwMjQyMDY0ODgiLCJuYW1lIjoiaHR0cDovL3d3dy5keWlrMjEuY28ua3IvIiwidmlzaW9uIjoidjQifQ.FWrZJsSj3ElO7tSp4QHMDM5TJ5HsvTyuJK0ByzSv1Q8\" },\r\n async: false,\r\n cache: false,\r\n crossDomain: true,\r\n contentType: \"application/json\",\r\n dataType: \"json\",\r\n data: JSON.stringify(obj),\r\n success: function (data) {\r\n if (data) {\r\n $(\"#bizname>span\").text(data[0].bizname);\r\n }\r\n }\r\n });\r\n }\r\n\r\n function setCookie(name, value, exp) {\r\n var date = new Date();\r\n\r\n date.setTime(date.getTime() + exp * 24 * 60 * 60 * 1000);\r\n document.cookie = name + '=' + value + ';expires=' + date.toUTCString() + ';path=/';\r\n // if (value === \"popup\") { //\ud31d\uc5c5\ucc3d\r\n // date.setDate(date.getDate() + exp);\r\n // document.cookie = name + \"=\" + escape(value) + \"; path=/; expires=\" + date.toUTCString() + \";\"\r\n // } \r\n }\r\n\r\n $(document).keypress(function (e) {\r\n if (e.keyCode == 13) e.preventDefault();\r\n });\r\n\r\n // function monthclose() {\r\n // setCookie(\"popup\", \"popup\", 30);\r\n // }\r\n\r\n function getCookie(name) {\r\n var value = document.cookie.match('(^|;) ?' + name + '=([^;]*)(;|$)');\r\n return value ? value[2] : null;\r\n }\r\n\r\n function deleteCookie(name) {\r\n document.cookie = name + '=; expires=Thu, 01 Jan 1970 00:00:01 GMT;';\r\n }\r\n\r\n function login() {\r\n if ($(\"#sample01\").is(\":checked\")) {\r\n setCookie(\"userId\", $(\"input[name=userId]\").val());\r\n }\r\n else {\r\n deleteCookie(\"userId\");\r\n }\r\n auth.login();\r\n }\r\n\r\n function changePassword() {\r\n var chkValid = [\"#_userid\", \"#_userpw\", \"#_newpw1\", \"#_newpw2\"];\r\n var isValid = true;\r\n chkValid.forEach(function (element) {\r\n if (isValid && (!$(element).val() || $(element).val() == \"\")) {\r\n $(element).focus();\r\n alert(\"\ud544\uc218\ud56d\ubaa9\uc774 \ube44\uc5b4 \uc788\uc2b5\ub2c8\ub2e4.\");\r\n isValid = false;\r\n }\r\n });\r\n if (!isValid) return;\r\n\r\n var newpw = $(\"#_newpw1\").val();\r\n\r\n if (newpw.length < 4) {\r\n $(\"#_newpw1\").focus();\r\n alert(\"\ube44\ubc00\ubc88\ud638\ub294 4\uc790\ub9ac\uc774\uc0c1 \uc785\ub825\ud574 \uc8fc\uc138\uc694.\");\r\n return;\r\n }\r\n\r\n if (newpw != $(\"#_newpw2\").val()) {\r\n $(\"#_newpw2\").focus();\r\n alert(\"\ube44\ubc00\ubc88\ud638\uac00 \ub3d9\uc77c\ud558\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4.\");\r\n return;\r\n }\r\n\r\n var obj = new Object();\r\n obj.parkno = \"\";\r\n obj.userid = $(\"#_userid\").val();\r\n obj.pw = $(\"#_userpw\").val();\r\n obj.npw = $(\"#_newpw1\").val();\r\n\r\n //console.log(JSON.stringify(obj));\r\n\r\n $.ajax({\r\n url: apiServer + \"login\",\r\n type: \"PUT\",\r\n headers: { \"Authorization\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIwMjQyMDY0ODgiLCJuYW1lIjoiaHR0cDovL3d3dy5keWlrMjEuY28ua3IvIiwidmlzaW9uIjoidjQifQ.FWrZJsSj3ElO7tSp4QHMDM5TJ5HsvTyuJK0ByzSv1Q8\" },\r\n cache: false,\r\n crossDomain: true,\r\n contentType: \"application/json\",\r\n dataType: \"json\",\r\n data: JSON.stringify(obj),\r\n success: function (data) {\r\n //console.log(data);\r\n\r\n if (data) {\r\n //211020 \uc11c\ubc84 return\uac12\uc774 -9\ub85c\ub9cc \uc640\uc11c \ubc30\uc5f4\uac12\uc73c\ub85c \ubcc0\uacbd\ud568\r\n if (-9 == data[0].rescode) {\r\n alert(\"\uc544\uc774\ub514 \ub610\ub294 \ud328\uc2a4\uc6cc\ub4dc\uac00 \ub2e4\ub985\ub2c8\ub2e4.\");\r\n return;\r\n }\r\n else {\r\n $(\"#_userid\").val(\"\");\r\n $(\"#_userpw\").val(\"\");\r\n $(\"#_newpw1\").val(\"\");\r\n $(\"#_newpw2\").val(\"\");\r\n\r\n alert(\"\ubcc0\uacbd\ud558\uc600\uc2b5\ub2c8\ub2e4.\");\r\n $('.pw-change-popUp').hide();\r\n $('.pw-change-darkBg').hide();\r\n }\r\n }\r\n },\r\n error: function (err) {\r\n console.log(err);\r\n }\r\n });\r\n }\r\n\r\n function detectMobileDevice(agent) {\r\n const mobileRegex = [\r\n /Android/i,\r\n /iPhone/i,\r\n /iPad/i,\r\n /iPod/i,\r\n /BlackBerry/i,\r\n /Windows Phone/i\r\n ]\r\n\r\n return mobileRegex.some(mobile => agent.match(mobile))\r\n }\r\n\r\n function initialize() {\r\n \r\n var userid = getCookie(\"userId\");\r\n if (userid) {\r\n $(\"input[name=userId]\").val(userid);\r\n }\r\n\r\n //\ubaa8\ubc14\uc77c \ud398\uc774\uc9c0 \uccb4\ud2b8\r\n const isMobile = detectMobileDevice(window.navigator.userAgent)\r\n\r\n if (isMobile) {\r\n console.log('current device is mobile');\r\n // alert(\"\ubaa8\ubc14\uc77c \ud398\uc774\uc9c0\ub85c \uc774\ub3d9\ud569\ub2c8\ub2e4.\");\r\n window.location.href = '/mobile/loginform.html';\r\n\r\n } else {\r\n console.log('current device is not mobile')\r\n }\r\n \r\n get_biz();\r\n // getBrowserInfo();\r\n }\r\n\r\n $(document).ready(initialize());\r\n </script>\r\n</body>\r\n\r\n</html>",
"datamd5" : "f2dd9d9dee82c04e575517937e0779e3",
"datammh3" : 973921371,
"device" : {
"class" : "<enterprise field>: device.class"
},
"geolocus" : {
"asn" : "AS3786",
"continent" : "AS",
"continentname" : "Asia",
"country" : "KR",
"countryname" : "South Korea",
"domain" : [
"lguplus.co.kr",
"nic.or.kr"
],
"isineu" : "false",
"latitude" : "35.907757",
"location" : "35.907757,127.766922",
"longitude" : "127.766922",
"netname" : "BORANET",
"organization" : "LG DACOM Corporation",
"subnet" : "106.244.0.0/14"
},
"ip" : "106.246.237.138",
"ipv6" : "false",
"latitude" : "37.4336",
"location" : "37.4336,126.6680",
"longitude" : "126.6680",
"node" : {
"country" : "<enterprise field>: node.country",
"groupid" : "<enterprise field>: node.groupid",
"id" : "<enterprise field>: node.id",
"physicalcountry" : "<enterprise field>: node.physicalcountry"
},
"organization" : "LG DACOM Corporation",
"os" : "Windows",
"osvendor" : "Microsoft",
"port" : 84,
"protocol" : "http",
"protocolversion" : "1.1",
"seen_date" : "2024-11-21",
"source" : "datascan",
"status" : 200,
"subnet" : "106.244.0.0/14",
"tag" : "<enterprise field>: tag",
"tls" : "false",
"transport" : "tcp",
"url" : "/"
}