불필요한 jsp 삭제

This commit is contained in:
2022-12-27 14:43:23 +09:00
parent 1baa61d0fd
commit 0df744bf6a
9 changed files with 0 additions and 1905 deletions
-218
View File
@@ -1,218 +0,0 @@
<%@ page contentType="text/html;charset=UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html>
<html lang="ko">
<head>
<jsp:include page="/WEB-INF/view/include/inc_head.jsp"/>
<jsp:include page="/WEB-INF/view/include/inc_head_script.jsp"/>
<link rel="stylesheet" type="text/css" href="/res/front/home/asset/css/common.css" />
<link rel="stylesheet" type="text/css" href="/res/front/home/asset/css/swiper.css" />
<script src="/res/front/js/biz/api/user-service.js?v=${timestamp}"></script>
<script>
var callbackPhoneUpdate = function() {
lanedu.front.api.user.phoneUpdate({}, function (success, message, data) {
if (!success) {
alert(message);
return false;
}
alert('휴대폰 번호를 변경했습니다.');
opener.location.reload();
self.close();
});
};
var callbackPhoneAdd = function() {
lanedu.front.api.user.phoneAdd({}, function (success, message, data) {
if (!success) {
alert(message);
return false;
}
alert('휴대폰 번호를 추가했습니다.');
opener.location.reload();
self.close();
});
};
var callbackCert = function() {
location.href = '/home/user/join';
};
</script>
<script language=javascript>
//window.name = "kmcis_web_sample";
var KMCIS_window;
function openKMCISWindow(){
var UserAgent = navigator.userAgent;
document.reqKMCISForm.target = '';
document.reqKMCISForm.action = 'https://www.kmcert.com/kmcis/web/kmcisReq.jsp';
document.reqKMCISForm.submit();
}
function __openKMCISWindow(){
var UserAgent = navigator.userAgent;
/* 모바일 접근 체크*/
// 모바일일 경우 (변동사항 있을경우 추가 필요)
if (UserAgent.match(/iPhone|iPod|Android|Windows CE|BlackBerry|Symbian|Windows Phone|webOS|Opera Mini|Opera Mobi|POLARIS|IEMobile|lgtelecom|nokia|SonyEricsson/i) != null || UserAgent.match(/LG|SAMSUNG|Samsung/) != null) {
document.reqKMCISForm.target = '';
}
// 모바일이 아닐 경우
else {
KMCIS_window = window.open('', 'KMCISWindow', 'width=425, height=550, resizable=0, scrollbars=no, status=0, titlebar=0, toolbar=0, left=435, top=250' );
if(KMCIS_window == null){
alert(" ※ 윈도우 XP SP2 또는 인터넷 익스플로러 7 사용자일 경우에는 \n 화면 상단에 있는 팝업 차단 알림줄을 클릭하여 팝업을 허용해 주시기 바랍니다. \n\n※ MSN,야후,구글 팝업 차단 툴바가 설치된 경우 팝업허용을 해주시기 바랍니다.");
}
document.reqKMCISForm.target = 'KMCISWindow';
}
document.reqKMCISForm.action = 'https://www.kmcert.com/kmcis/web/kmcisReq.jsp';
//document.reqKMCISForm.action = '/extra/cert/result';
document.reqKMCISForm.submit();
}
</script>
</head>
<body>
<c:choose>
<c:when test="${param.actionType eq 'PHONE_UPDATE'}">
<!-- 본인인증서비스 요청 form --------------------------->
<form name="reqKMCISForm" method="post" action="#">
<input type="hidden" name="tr_cert" value = "${tr_cert}">
<input type="hidden" name="tr_url" value = "${tr_url}">
<input type="hidden" name="tr_add" value = "${tr_add}">
<input type="submit" value="본인인증서비스 요청" onclick= "javascript:openKMCISWindow();">
</form>
</c:when>
<c:when test="${param.actionType eq 'PHONE_ADD'}">
<!-- 본인인증서비스 요청 form --------------------------->
<form name="reqKMCISForm" method="post" action="#">
<input type="hidden" name="tr_cert" value = "${tr_cert}">
<input type="hidden" name="tr_url" value = "${tr_url}">
<input type="hidden" name="tr_add" value = "${tr_add}">
<input type="submit" value="본인인증서비스 요청" onclick= "javascript:openKMCISWindow();">
</form>
</c:when>
<c:otherwise>
<!-- 본인인증서비스 요청 form --------------------------->
<form name="reqKMCISForm" method="post" action="#">
<input type="hidden" name="tr_cert" value = "${tr_cert}">
<input type="hidden" name="tr_url" value = "${tr_url}">
<input type="hidden" name="tr_add" value = "${tr_add}">
<input type="submit" value="본인인증서비스 요청" onclick= "javascript:openKMCISWindow();">
</form>
<!-- wrap : s -->
<div class="wrap pageSmall">
<div class="container">
<div id="contents">
<!-- 상세 : s -->
<div class="headerConts">
<h1 class="logo"><a href="/">로고</a></h1>
</div>
<div class="innerConts">
<!-- certifyWrap : s -->
<div class="certifyWrap left">
<dl class="formList">
<dt>회원정보 입력</dt>
<dd>
<ul class="inpField">
<li class="certify">
<input type="text" class="inpText" value="" disabled>
<span class="btnCertify">인증완료</span>
</li>
<li>
<input type="text" class="inpText" value="홍길동" disabled>
</li>
</ul>
</dd>
<dd class="error"><!-- 인풋 입력이 에러일 경우 클래스 'error' 추가 -->
<input type="text" class="inpText" placeholder="메일주소">
<span class="errorMsg">메일주소를 입력해 주세요.</span>
</dd>
<dd>
<input type="password" class="inpText" placeholder="비밀번호">
</dd>
<dd>
<input type="password" class="inpText" placeholder="비밀번호 확인">
</dd>
</dl>
<dl class="guideList">
<dt>비밀번호는 8-30자의 영문 대소문자, 숫자, 특수문자를 조합하여 입력해주세요.</dt>
<dd>4회 이상 반복된 문구와 숫자 사용 불가<br>계정(휴대폰 번호)과 4자리 이상 동일한 숫자 사용 불가</dd>
</dl>
<div class="agreeList">
<div class="item all">
<span class="inputCheckbox">
<input type="checkbox" name="check01" id="check01">
<label for="check01">모두 동의</label>
</span>
</div>
<div class="item">
<span class="inputCheckbox">
<input type="checkbox" name="check02" id="check02">
<label for="check02">이용약관 동의</label>
</span>
<a href="#" class="btnView">보기</a>
</div>
<div class="item">
<span class="inputCheckbox">
<input type="checkbox" name="check03" id="check03">
<label for="check03">개인정보 처리방침 동의</label>
</span>
<a href="#" class="btnView">보기</a>
</div>
</div>
<div class="btnArea">
<a href="#" class="btns btnCol01 disabled"><!-- 입력 완료시 클래스 'disabled' 제거-->
<span>회원가입 완료</span>
</a>
</div>
</div>
<!-- certifyWrap : e -->
</div>
<!-- 상세 : e -->
</div>
</div>
</div>
<!-- wrap : e -->
<!-- certifyWrap : e -->
</c:otherwise>
</c:choose>
<script>
openKMCISWindow();
</script>
<jsp:include page="/WEB-INF/view/include/inc_portal_body_footer.jsp"/>
</body>
</html>
@@ -1,95 +0,0 @@
<%@ page contentType="text/html;charset=UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html>
<html lang="ko">
<head>
<jsp:include page="/WEB-INF/view/include/inc_head.jsp"/>
<jsp:include page="/WEB-INF/view/include/inc_head_script.jsp"/>
</head>
<body>
<c:if test="${resultCert.success}">
<%-- #### 성공한 경우 처리!!! --%>
<script type="text/javascript">
(function() {
var UserAgent = navigator.userAgent;
var isMobile = false;
/* 모바일 접근 체크*/
// 모바일일 경우 (변동사항 있을경우 추가 필요)
if (UserAgent.match(/iPhone|iPod|Android|Windows CE|BlackBerry|Symbian|Windows Phone|webOS|Opera Mini|Opera Mobi|POLARIS|IEMobile|lgtelecom|nokia|SonyEricsson/i) != null || UserAgent.match(/LG|SAMSUNG|Samsung/) != null) {
//document.kmcis_form.submit();
isMobile = true;
}
<c:choose>
<c:when test="${resultCert.plusInfo eq 'PHONE_UPDATE'}">
if (isMobile) {
location.href = '/portal/update-phone';
} else {
opener.callbackPhoneUpdate();
self.close();
}
</c:when>
<c:when test="${resultCert.plusInfo eq 'PHONE_ADD'}">
if (isMobile) {
location.href = '/portal/update-phone';
} else {
opener.callbackPhoneAdd();
self.close();
}
</c:when>
<c:when test="${resultCert.plusInfo eq 'FIND_UID'}">
if (isMobile) {
//TODO: 원페이지의경우 처리이슈 있음
opener.callbackCert();
self.close();
} else {
opener.callbackCert();
self.close();
}
</c:when>
<c:otherwise>
if (isMobile) {
location.href = '/home/user/join';
} else {
opener.callbackCert();
self.close();
}
</c:otherwise>
</c:choose>
})();
</script>
</c:if>
<c:if test="${resultCert.fail}">
<%-- #### 실패한 경우 처리!!! --%>
<p> 인증에 실패하였습니다. </p>
<p>${resultCert.errorMessage}</p>
<script>
alert('${resultCert.errorMessage}');
self.close();
</script>
</c:if>
<%--
<form id="kmcis_form" name="kmcis_form" method="post" action="/">
<input type="hidden" name="rec_cert" id="rec_cert" value="<%=rec_cert%>"/>
<input type="hidden" name="certNum" id="certNum" value="<%=certNum%>"/>
</form>
--%>
<jsp:include page="/WEB-INF/view/include/inc_portal_body_footer.jsp"/>
</body>
</html>