비밀번호 변경시 자바에서 한번더 체크
This commit is contained in:
JSYOO 2021-12-13 16:19:46 +09:00
parent 03c48dc811
commit 9afcf96bff
31 changed files with 201 additions and 223 deletions

View File

@ -171,12 +171,12 @@ public class InterestController extends NlibCommonController
String message="";
if(StringUtil.isEmpty(mbInfoId)) {
message="로그인 후, 이용하실 수 있습니다.";
message="notLogin";
return message;
}
interestService.deleteInterests(masterIdList,mbInfoId);
message ="선택하신 관심자료가 삭제되었습니다.";
message ="success";
return message;
}
@ -192,7 +192,7 @@ public class InterestController extends NlibCommonController
String mbInfoId = getMbInfoId(request);
if(StringUtil.isEmpty(mbInfoId)) {
message="로그인 후, 이용하실 수 있습니다.";
message="notLogin";
return message;
}
CollectionVO vo = new CollectionVO();
@ -201,7 +201,7 @@ public class InterestController extends NlibCommonController
if(vo.getMbInfoId() == null)
{
message="로그인 후, 이용하실 수 있습니다.";
message="notLogin";
return message;
}
@ -212,13 +212,13 @@ public class InterestController extends NlibCommonController
//중복된 관심자료가 있을시
if(count > 0)
{
message="이미 추가된 관심자료입니다.";
message="alreadyAdded";
}else {
interestService.insertInterest(vo);
message="관심자료에 추가되었습니다.";
message="success";
}
}else {
message="관심자료에 추가할 수 없습니다.";
message="fail";
}
return message;
}

View File

@ -13,6 +13,8 @@ import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.regex.Pattern;
import nlib.util.UUID;
import javax.annotation.Resource;
@ -904,7 +906,15 @@ public class MemberController extends NlibCommonController{
String message="";
if(loginVO == null) {
message="fail";
message="notLogin";
return message;
}
String pattern = "^.*(?=^.{9,}$)(?=.*\\d)(?=.*[a-zA-Z])(?=.*[!@#$%^&+=]).*$";
if(!request.getParameter("newPassword").equals(request.getParameter("newPasswordConfirm")) || !Pattern.matches(pattern, request.getParameter("newPassword")) )
{
message="passwordNoMatch";
return message;
}

View File

@ -99,7 +99,7 @@ function fn_deleteCartItems() {
}
$("#selItems").val(fn_getCheckedCartItemsValues());
$("#frm").attr("action"${pageContext.request.contextPath}/cart/deleteCartItems.do");
$("#frm").attr("action","${pageContext.request.contextPath}/cart/deleteCartItems.do");
$("#frm").submit();
}

View File

@ -1,4 +1,5 @@
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>
<head>

View File

@ -36,12 +36,12 @@
<!DOCTYPE html>
<html lang="ko">
<head>
<title>${pageTitle}</title>
<title><c:out value='${pageTitle}'/></title>
<script>
$( document ).ready(function() {
fn_setPageTitle("${pageTitle}");
fn_setPageTitle("<c:out value='${pageTitle}'/>");
}); // document ready
@ -50,9 +50,9 @@ $( document ).ready(function() {
<body>
<h1>${pageTitle }</h1>
<h1><c:out value='${pageTitle }'/></h1>
메시지 : ${message}
메시지 : <c:out value='${message}'/>
&nbsp;<br/>
<form name="codeForm" id="codeForm"
@ -60,7 +60,7 @@ $( document ).ready(function() {
method="post">
<!-- 검색조건 -->
<input type="text" name="lCodeId" id="lCodeId" title="검색어" value="${lCodeId }" size="35" maxlength="50" />
<input type="text" name="lCodeId" id="lCodeId" title="검색어" value="<c:out value='${lCodeId }'/>" size="35" maxlength="50" />
<input type="submit" name="btnSearch" id="btnSearch" title="검색버튼" value="검색" />
PAGE_SIZE_OPTION

View File

@ -36,13 +36,13 @@
<!DOCTYPE html>
<html lang="ko">
<head>
<title>${pageTitle}</title>
<title><c:out value='${pageTitle}'/></title>
<script>
$( document ).ready(function() {
fn_setPageTitle("${pageTitle}");
fn_setPageTitle("<c:out value='${pageTitle}'/>");
}); // document ready
function popSubmit() {
@ -65,9 +65,9 @@ function popSubmit() {
<body>
<h1>${pageTitle }</h1>
<h1><c:out value='${pageTitle }'/></h1>
메시지 Popup : ${message}
메시지 Popup : <c:out value='${message}'/>
&nbsp;<br/>
<form name="codeForm" id="codeForm"
@ -75,7 +75,7 @@ function popSubmit() {
method="post">
<!-- 검색조건 -->
<input type="text" name="lCodeId" id="lCodeId" title="검색어" value="${lCodeId }" size="35" maxlength="50" />
<input type="text" name="lCodeId" id="lCodeId" title="검색어" value="<c:out value='${lCodeId }'/>" size="35" maxlength="50" />
<input type="text" name="title" id="title" title="검색어" value="ThisIsTitleVal" size="35" maxlength="50" />
<input type="text" name="content" id="content" value="ThisIsCCCCContent Val" size="35" maxlength="50" />

View File

@ -36,10 +36,10 @@
<script>
$( document ).ready(function() {
fn_setPageTitle("${pageTitle}");
fn_setPageTitle("<c:out value='${pageTitle}'/>");
// 메시지 표출
if(!gfn_isEmpty('${message}')) {
alert("${message}");
if(!gfn_isEmpty("<c:out value='${message}'/>")) {
alert("<c:out value='${message}'/>");
}
//초기 자료 조회
fn_searchArticle();
@ -325,14 +325,14 @@
<!-- 관심자료 섹션 -->
<div class="location interested-data">
<h2 class="blind">${pageTitle} 섹션영역</h2>
<h2 class="blind"><c:out value='${pageTitle}'/> 섹션영역</h2>
<div class="inner">
<div class="row-top">
<div class="location-box">
<ul class="loc">
<li>HOME</li>
<li>마이페이지</li>
<li class="on">${pageTitle}</li>
<li class="on"><c:out value='${pageTitle}'/></li>
</ul>
<div class="tit">
<h2><span>관심</span>자료</h2>

View File

@ -33,11 +33,11 @@
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="validator" uri="http://www.springmodules.org/tags/commons-validator" %>
<script src="/js/qrcode.js"></script>
<c:set var="pageTitle">${result.title}</c:set>
<c:set var="pageTitle"><c:out value='${result.title}'/></c:set>
<script>
$(document).ready(function(){
fn_setPageTitle("${pageTitle}");
fn_setPageTitle("<c:out value='${pageTitle}'/>");
//로그
$.ajax({
type: "post",
@ -65,11 +65,11 @@ function goList(){
<div class="data detail">
<form id="referenceDetailForm" name="referenceDetailForm" method="post">
<input type="hidden" name="collection" id="collection" value="<c:out value='${searchVO.collection}'/>" />
<input type="hidden" name="pageIndex" title="페이지번호" value="${searchVO.pageIndex }" />
<input type="hidden" name="pageSize" value="${searchVO.pageSize }" />
<input type="hidden" name="pageIndex" title="페이지번호" value="<c:out value='${searchVO.pageIndex }'/>" />
<input type="hidden" name="pageSize" value="<c:out value='${searchVO.pageSize }'/>" />
<input type="hidden" name="filter_creatYyyy" value='${searchVO.filter_creatYyyy}' />
<input type="hidden" name="creatYyyyYn" value='${searchVO.creatYyyyYn}' />
<input type="hidden" name="filter_creatYyyy" value="<c:out value='${searchVO.filter_creatYyyy}'/>" />
<input type="hidden" name="creatYyyyYn" value="<c:out value='${searchVO.creatYyyyYn}'/>" />
<input type="hidden" name="filter_class" value="<c:out value='${searchVO.filter_class}'/>" />
<input type="hidden" name="filter_category" value="<c:out value='${searchVO.filter_category}'/>"/>
@ -114,7 +114,7 @@ function goList(){
</div>
</div>
<div class="tit"><c:out value="${result.title}"/></div>
<div class="img"><img src="<c:out value="${result.rprsThumbUrlWithDefaultBig}"/>" alt="${result.title}"></div>
<div class="img"><img src="<c:out value="${result.rprsThumbUrlWithDefaultBig}"/>" alt="<c:out value='${result.title}'/>"></div>
</div>
<div class="right">
<div class="con-1">
@ -123,10 +123,10 @@ function goList(){
</c:if>
<button type="button" class="ris" onclick="gfn_showRis('<c:out value="${result.masterId}"/>');">RIS</button>
<c:if test='${result.mUseYn == "Y"}'>
<button type="button" class="favorit on" onclick="gfn_changeInterestBtn('${result.masterId }', 'off');">즐겨찾기</button>
<button type="button" class="favorit on" onclick="gfn_changeInterestBtn('<c:out value="${result.masterId }"/>', 'off');">즐겨찾기</button>
</c:if>
<c:if test='${result.mUseYn != "Y"}'>
<button type="button" class="favorit" onclick="gfn_changeInterestBtn('${result.masterId }', 'on');">즐겨찾기</button>
<button type="button" class="favorit" onclick="gfn_changeInterestBtn('<c:out value="${result.masterId }"/>', 'on');">즐겨찾기</button>
</c:if>
<button type="button" class="share" onclick="gfn_setSnsShare('<c:out value="${result.masterId}"/>');">공유</button>
</div>
@ -322,13 +322,13 @@ function goList(){
</ul>
</div>
<div class="b-btn">
<c:if test="${result.ableRentAppNow }"><button type="button" class="btn btn-color" title="새 창 열림" onclick="gfn_rentItem('${result.mngOrgCd}', '${result.masterId}')">대출신청</button></c:if>
<c:if test="${not result.ableRentAppNow and result.ableRentResNow }"><button type="button" class="btn btn-color" title="새 창 열림" onclick="gfn_rentItem('${result.mngOrgCd}', '${result.masterId}')">대출예약</button></c:if>
<c:if test="${result.ableRentAppNow }"><button type="button" class="btn btn-color" title="새 창 열림" onclick="gfn_rentItem('<c:out value="${result.mngOrgCd}"/>', '<c:out value="${result.masterId}"/>')">대출신청</button></c:if>
<c:if test="${not result.ableRentAppNow and result.ableRentResNow }"><button type="button" class="btn btn-color" title="새 창 열림" onclick="gfn_rentItem('<c:out value="${result.mngOrgCd}"/>', '<c:out value="${result.masterId}"/>')">대출예약</button></c:if>
<c:if test="${result.ableReadNow }"><button type="button" class="btn btn-green" title="새 창 열림" onclick="gfn_reserveReadItem('${result.mngOrgCd}', '${result.masterId}')">방문열람신청</button></c:if>
<c:if test="${result.ableReadNow }"><button type="button" class="btn btn-green" title="새 창 열림" onclick="gfn_reserveReadItem('<c:out value="${result.mngOrgCd}"/>', '<c:out value="${result.masterId}"/>')">방문열람신청</button></c:if>
<c:if test="${result.ableRent or result.ableRead }">
<button type="button" class="btn btn-orange" onclick="gfn_addRentCart('${result.masterId}', '${result.ableRent}', '${result.ableRead}')">카트담기</button>
<button type="button" class="btn btn-orange" onclick="gfn_addRentCart('<c:out value="${result.masterId}"/>', '<c:out value="${result.ableRent}"/>', '<c:out value="${result.ableRead}"/>')">카트담기</button>
</c:if>
</div>
<c:if test="${fn:length(keywordList) > 0 }">

View File

@ -44,16 +44,16 @@
<c:set var="pageTitle">소장자료</c:set>
<script>
window.onload = function() {
fn_setPageTitle("${pageTitle}");
fn_setPageTitle("<c:out value='${pageTitle}'/>");
<%//상단 검색바 셋팅%>
$("#top_query").val('${searchVO.query}');
$("#top_query").val("<c:out value='${searchVO.query}'/>");
if(sfield == "TITLE")
{
$("#sfield").val(sfield);
}
var sfield = '${searchVO.sfield}';
var sfield = "<c:out value='${searchVO.sfield}'/>";
if(sfield == "TITLE")
{
$("#sfield").val(sfield);
@ -102,25 +102,25 @@ window.onload = function() {
//초기화
reference_filterReset();
if("${message}" != "") alert("${message}");
if("<c:out value='${message}'/>" != "") alert("<c:out value='${message}'/>");
}; // window.onload
//페이지 로드시 초기값셋팅
function fnSetInitialValue()
{
//탭
$("#"+"${searchVO.collection}").parent().addClass('current').find('a').attr('title','선택됨');
$("#"+"<c:out value='${searchVO.collection}'/>").parent().addClass('current').find('a').attr('title','선택됨');
//페이징
gfn_makePaging("fn_search_article",'${pageVO.pageIndex}','${pageVO.totRecordCount}','${pageVO.startPage}','${pageVO.endPage}','${pageVO.lastPage}');
gfn_makePaging("fn_search_article","<c:out value='${pageVO.pageIndex}'/>","<c:out value='${pageVO.totRecordCount}'/>","<c:out value='${pageVO.startPage}'/>","<c:out value='${pageVO.endPage}'/>","<c:out value='${pageVO.lastPage}'/>");
//생산년도
var filter_creatYyyy = '${searchVO.filter_creatYyyy}';
var creatYyyyYn = '${searchVO.creatYyyyYn}';
var filter_creatYyyy = "<c:out value='${searchVO.filter_creatYyyy}'/>";
var creatYyyyYn = "<c:out value='${searchVO.creatYyyyYn}'/>";
if(filter_creatYyyy == "date")
{
$("#m-year-2").prop('checked',true);
$("#creatYyyyStart").val("${searchVO.creatYyyyStart}");
$("#creatYyyyEnd").val("${searchVO.creatYyyyEnd}");
$("#creatYyyyStart").val("<c:out value='${searchVO.creatYyyyStart}'/>");
$("#creatYyyyEnd").val("<c:out value='${searchVO.creatYyyyEnd}'/>");
if(creatYyyyYn == "Y")
{
$("#creatYyyyYn").prop('checked',true);
@ -228,13 +228,13 @@ function fn_search_article(pageIndex) {
<input type="hidden" id="collectionList" name="collectionList" value="<c:out value='${searchVO.collectionList}'/>"/>
<input type="hidden" id="realQuery" name="realQuery" value="<c:out value='${searchVO.realQuery}'/>"/>
<div class="location data">
<h2 class="blind">${pageTitle} 섹션영역</h2>
<h2 class="blind"><c:out value='${pageTitle}'/> 섹션영역</h2>
<div class="inner">
<div class="row-top">
<div class="location-box">
<ul class="loc">
<li>HOME</li>
<li class="on">${pageTitle}</li>
<li class="on"><c:out value='${pageTitle}'/></li>
</ul>
<div class="tit">
<h2><span>소장</span>자료</h2>
@ -387,7 +387,7 @@ function fn_search_article(pageIndex) {
<div class="title">
<c:choose>
<c:when test="${searchVO.realQuery ne '' && (!empty searchVO.realQuery) }">
<span class="count"><strong>${searchVO.realQuery}</strong>에 대한 검색결과는 총 <em>
<span class="count"><strong><c:out value='${searchVO.realQuery}'/></strong>에 대한 검색결과는 총 <em>
<fmt:formatNumber value="${searchVO.totalCount}" pattern="#,###" /></em>건 입니다.
</span>
</c:when>
@ -410,9 +410,9 @@ function fn_search_article(pageIndex) {
</div>
<div class="list-input">
<label for="query" class="blind">검색어</label>
<input type="text" name="query" id="query" title="검색어" <c:if test="${!(searchVO.reQueryChk eq 'query') }">style="display:none;"</c:if> placeholder="검색어를 입력하세요." value="${searchVO.query}" maxlength="50" />
<input type="text" name="query" id="query" title="검색어" <c:if test="${!(searchVO.reQueryChk eq 'query') }">style="display:none;"</c:if> placeholder="검색어를 입력하세요." value="<c:out value='${searchVO.query}'/>" maxlength="50" />
<label for="reQuery" class="blind">재검색</label>
<input type="text" name="reQuery" id="reQuery" title="재검색" <c:if test="${!(searchVO.reQueryChk eq 'reQuery') }">style="display:none;"</c:if> placeholder="결과내재검색" value="${searchVO.reQuery}" maxlength="50" />
<input type="text" name="reQuery" id="reQuery" title="재검색" <c:if test="${!(searchVO.reQueryChk eq 'reQuery') }">style="display:none;"</c:if> placeholder="결과내재검색" value="<c:out value='${searchVO.reQuery}'/>" maxlength="50" />
<button type="submit">검색</button>
<button type="button" class="filter-btn">필터</button>
</div>

View File

@ -41,7 +41,7 @@ String councilNm = (String)session.getAttribute("councilNm");
<!--
$( document ).ready(function() {
fn_setPageTitle("${pageTitle}");
fn_setPageTitle("<c:out value='${pageTitle}'/>");
});
//-->
@ -50,17 +50,17 @@ $( document ).ready(function() {
<!-- 인사말 섹션 -->
<div class="location greeting">
<h2 class="blind">${pageTitle } 섹션영역</h2>
<h2 class="blind"><c:out value='${pageTitle }'/> 섹션영역</h2>
<div class="inner">
<div class="row-top">
<div class="location-box">
<ul class="loc">
<li>HOME</li>
<li>자료관안내</li>
<li class="on">${pageTitle }</li>
<li class="on"><c:out value='${pageTitle }'/></li>
</ul>
<div class="tit">
<h2><span>${pageTitle }</span></h2>
<h2><span><c:out value='${pageTitle }'/></span></h2>
</div>
</div>
<div class="arr"><img src="/images/icon/icon-join-arr2.png" alt=""></div>
@ -70,11 +70,11 @@ $( document ).ready(function() {
<!-- 문화원별 인사말 : 시작 -->
<div class="top-banner">
<p><strong>${councilNm } 소장자료관</strong>을 방문하신 여러분,<br>진심으로 환영합니다.</p>
<p><strong><c:out value='${councilNm }'/> 소장자료관</strong>을 방문하신 여러분,<br>진심으로 환영합니다.</p>
</div>
<div class="gree">
${informContent }
<c:out value='${informContent }' escapeXml="false"/>
<!-- 문화원별 인사말 : 종료 -->
</div>

View File

@ -34,7 +34,7 @@
<script>
<!--
$( document ).ready(function() {
fn_setPageTitle("${pageTitle}");
fn_setPageTitle("<c:out value='${pageTitle}'/>");
});
//-->
@ -62,14 +62,14 @@ $( document ).ready(function() {
<a href="#addr"></a>
</div>
<div class="location map">
<h2 class="blind">${pageTitle} 섹션영역</h2>
<h2 class="blind"><c:out value='${pageTitle}'/> 섹션영역</h2>
<div class="inner">
<div class="row-top">
<div class="location-box">
<ul class="loc">
<li>HOME</li>
<li>자료관안내</li>
<li class="on">${pageTitle}</li>
<li class="on"><c:out value='${pageTitle}'/></li>
</ul>
<div class="tit">
<h2><span>찾아오시는</span>길</h2>
@ -79,7 +79,7 @@ $( document ).ready(function() {
</div>
<div class="contents row-bottom">
<div class="map-box">
<h2><span>${mngOrgNm }</span> 오시는 길</h2>
<h2><span><c:out value='${mngOrgNm }'/></span> 오시는 길</h2>
<div class="info">
<div class="mapimg">
<!-- 지도 : 시작 -->
@ -89,8 +89,8 @@ $( document ).ready(function() {
<script src="https://openapi.map.naver.com/openapi/v3/maps.js?ncpClientId=532wx3i985"></script>
<script>
function initMap() {
var lon = "${longitude}";
var lat = "${latitude}";
var lon = "<c:out value='${longitude}'/>";
var lat = "<c:out value='${latitude}'/>";
var map = new naver.maps.Map(
document.getElementById('map'),
{
@ -139,29 +139,29 @@ $( document ).ready(function() {
<div id="addr" class="addr">
<p><img src="/images/icon/icon-location-01.png" alt=""></p>
<p>주소</p>
<p>(${zipCode }) ${address } ${addressDetail }</p>
<p>(<c:out value='${zipCode }'/>) <c:out value='${address }'/> <c:out value='${addressDetail }'/></p>
</div>
<div class="time">
<p><img src="/images/icon/icon-location-02.png" alt=""></p>
<p>운영시간</p>
<p>월요일~금요일 / 오전 ${openTime } ~ 오후 ${closeTime }</p>
<p>매주 토요일, 일요일 휴관<br>${closingInfo }</p>
<p>월요일~금요일 / 오전 <c:out value='${openTime }'/> ~ 오후 <c:out value='${closeTime }'/></p>
<p>매주 토요일, 일요일 휴관<br><c:out value='${closingInfo }'/></p>
</div>
<div class="tel">
<p><img src="/images/icon/icon-location-03.png" alt=""></p>
<p>전화</p>
<p>${phoneNo }</p>
<p><c:out value='${phoneNo }'/></p>
</div>
<div class="fax">
<p><img src="/images/icon/icon-location-04.png" alt=""></p>
<p>팩스</p>
<p>${faxNo }</p>
<p><c:out value='${faxNo }'/></p>
</div>
</div>
</div>
</div>
<div class="info-box">
${informContent }
<c:out value='${informContent }' escapeXml="false"/>
</div>
</div>
</div>

View File

@ -34,20 +34,20 @@
<script>
<!--
$( document ).ready(function() {
fn_setPageTitle("${pageTitle}");
fn_setPageTitle("<c:out value='${pageTitle}'/>");
});
//-->
</script>
<!-- 이용안내 섹션 -->
<div class="location guide">
<h2 class="blind">${pageTitle} 섹션영역</h2>
<h2 class="blind"><c:out value='${pageTitle}'/> 섹션영역</h2>
<div class="inner">
<div class="row-top">
<div class="location-box">
<ul class="loc">
<li>HOME</li>
<li>자료관안내</li>
<li class="on">${pageTitle}</li>
<li class="on"><c:out value='${pageTitle}'/></li>
</ul>
<div class="tit">
<h2><span>이용</span>안내</h2>
@ -61,13 +61,13 @@ $( document ).ready(function() {
<div class="left">
<div class="top">
<p>운영시간</p>
<p><span>오전</span>${openTime } - <span>오후</span>${closeTime }</p>
<p><span>오전</span><c:out value='${openTime }'/> - <span>오후</span><c:out value='${closeTime }'/></p>
<p>평일 (월요일 ~ 금요일) 운영</p>
</div>
<div class="bottom">
<p>휴관일</p>
<p>매주 토, 일요일 <span>휴관</span></p>
<p>${closingInfo }</p>
<p><c:out value='${closingInfo }'/></p>
</div>
</div>
<div class="right">
@ -96,7 +96,7 @@ $( document ).ready(function() {
</div>
</div>
</div>
${informContent }
<c:out value='${informContent }' escapeXml="false"/>
</div>
</div>
</div>

View File

@ -41,7 +41,7 @@
<div class="location-box">
<ul class="loc">
<li>HOME</li>
<li class="on">${pageTitle}</li>
<li class="on"><c:out value='${pageTitle}'/></li>
</ul>
<div class="tit">
<h2><span>개인정보</span>처리방침</h2>
@ -56,7 +56,7 @@
<p>한국문화원연합회(이하 ‘연합회’라 한다)는 개인정보 보호법 제30조에 따라 정보주체의 개인정보를 보호하고<br>이와 관련한 고충을 신속하고 원활하게 처리할 수 있도록 하기 위하여 다음과 같이 개인정보 처리지침을 수립·공개합니다.</p>
</div>
<div class="con">
${informContent }
<c:out value='${informContent }' escapeXml="false"/>
</div>
</div>
</div>

View File

@ -41,7 +41,7 @@
<div class="location-box">
<ul class="loc">
<li>HOME</li>
<li class="on">${pageTitle }</li>
<li class="on"><c:out value='${pageTitle }'/></li>
</ul>
<div class="tit">
<h2><span>이용</span>약관</h2>
@ -56,7 +56,7 @@
<p>한국문화원연합회(이하 ‘연합회’라 한다)는 개인정보 보호법 제30조에 따라 정보주체의 개인정보를 보호하고 이와 관련한 고충을 신속하고 원활하게 처리할 수 있도록 하기 위하여 다음과 같이 개인정보 처리지침을 수립·공개합니다.</p>
</div>
<div class="con">
${informContent }
<c:out value='${informContent }' escapeXml="false"/>
</div>
</div>
</div>

View File

@ -34,7 +34,7 @@
<script>
<!--
$( document ).ready(function() {
fn_setPageTitle("${pageTitle}");
fn_setPageTitle("<c:out value='${pageTitle}'/>");
});
//-->
</script>
@ -45,23 +45,23 @@ $( document ).ready(function() {
<div class="inner">
<div class="row-top icon">
<div class="icon"><img src="/images/icon/icon-dormant.png" alt="자물쇠 아이콘"></div>
<p>${pageTitle }</p>
<p><c:out value='${pageTitle }'/></p>
</div>
<div class="contents row-bottom">
<div class="join-box">
<form name="dormantForm" id="dormantForm" action="${pageContext.request.contextPath}/login/activateDormantAcc.do" method="post">
<input type="hidden" id="mbInfoId" name="mbInfoId" value="${oauthUser.nlibVO.mbInfoId}" />
<input type="hidden" id="mbInfoId" name="mbInfoId" value="<c:out value='${oauthUser.nlibVO.mbInfoId}'/>" />
<div class="success">
<div class="text">
<p><span>${oauthUser.nlibVO.name}</span> 회원님의 계정이 정상적으로 <span>휴면 해제</span>되었습니다.</p>
<p><span><c:out value='${oauthUser.nlibVO.name}'/></span> 회원님의 계정이 정상적으로 <span>휴면 해제</span>되었습니다.</p>
</div>
<div class="box">
<c:if test="${empty message}">
<p><span>[로그인]</span>을 클릭하여 로그인을 계속 진행해 주시기 바랍니다.</p>
</c:if>
<c:if test="${not empty message}">
<p><span>${message }</span></p>
<p><span><c:out value='${message }'/></span></p>
</c:if>
</div>
<div class="btn">

View File

@ -34,7 +34,7 @@
<script>
<!--
$( document ).ready(function() {
fn_setPageTitle("${pageTitle}");
fn_setPageTitle("<c:out value='${pageTitle}'/>");
});
//-->
</script>
@ -45,15 +45,15 @@ $( document ).ready(function() {
<div class="inner">
<div class="row-top icon">
<div class="icon"><img src="/images/icon/icon-dormant.png" alt="자물쇠 아이콘"></div>
<p>${pageTitle }</p>
<p><c:out value='${pageTitle }'/></p>
</div>
<div class="contents row-bottom">
<div class="join-box">
<form name="dormantForm" id="dormantForm" action="${pageContext.request.contextPath}/login/activateDormantAcc.do" method="post">
<input type="hidden" id="mbInfoId" name="mbInfoId" value="${oauthUser.nlibVO.mbInfoId}" />
<input type="hidden" id="mbInfoId" name="mbInfoId" value="<c:out value='${oauthUser.nlibVO.mbInfoId}'/>" />
<div class="success">
<div class="text">
<p><span>${oauthUser.nlibVO.name}</span> 회원님의 계정은 현재 <span>휴면 상태</span>입니다.<br>서비스 이용을 원하신다면 지금 바로 휴면을 해제하세요!</p>
<p><span><c:out value='${oauthUser.nlibVO.name}'/></span> 회원님의 계정은 현재 <span>휴면 상태</span>입니다.<br>서비스 이용을 원하신다면 지금 바로 휴면을 해제하세요!</p>
<p>회원님의 정보를 안전하게 보호하기 위하여 <span>일정 기간동안</span> 이용내역이 없는 경우<br>휴면 상태로 계정을 전환하여 보관하는 정책을 실시하고 있습니다.</p>
</div>
<div class="box">
@ -61,7 +61,7 @@ $( document ).ready(function() {
<p>휴면 상태의 회원의 경우 서비스 이용이 제한되며,<br><span>[휴면해제]</span> 버튼을 통해 휴면해제 가능합니다. </p>
</c:if>
<c:if test="${not empty message}">
<p><span>${message }</span></p>
<p><span><c:out value='${message }'/></span></p>
</c:if>
</div>
<div class="btn">

View File

@ -32,7 +32,7 @@
<c:set var="pageTitle">로그인</c:set>
<script>
$( document ).ready(function() {
fn_setPageTitle("${pageTitle}");
fn_setPageTitle("<c:out value='${pageTitle}'/>");
});
function fn_signUp(){
location.href="${pageContext.request.contextPath}/login/memberSnsForm.do";
@ -56,9 +56,9 @@
<div class="join-box">
<div class="login">
<div class="Btn Naver"><button type="button" onclick="location.href='${naverUrl}';">네이버 아이디로 로그인</button></div>
<div class="Btn Kakao"><button type="button" onclick="location.href='${kakaoUrl}';">카카오 로그인</button></div>
<div class="Btn Google"><button type="button" onclick="location.href='${googleUrl}';">Google 계정으로 로그인</button></div>
<div class="Btn Naver"><button type="button" onclick="location.href='<c:out value="${naverUrl}"/>';">네이버 아이디로 로그인</button></div>
<div class="Btn Kakao"><button type="button" onclick="location.href='<c:out value="${kakaoUrl}"/>';">카카오 로그인</button></div>
<div class="Btn Google"><button type="button" onclick="location.href='<c:out value="${googleUrl}"/>';">Google 계정으로 로그인</button></div>
</div>
<div class="row Text">
<p>로그인할 때 이용할 SNS를 선택하세요!</p>

View File

@ -33,7 +33,7 @@
<script>
$( document ).ready(function() {
fn_setPageTitle("${pageTitle}");
fn_setPageTitle("<c:out value='${pageTitle}'/>");
});
function fn_signUp(){
@ -45,13 +45,13 @@
<div class="row Title">
<p>지방문화원 소장자료관</p>
<h3>${pageTitle }</h3>
<h3><c:out value='${pageTitle }'/></h3>
</div>
<div class="inner">
<div class="row First">
<div class="Btn Naver"><button type="button" onclick="location.href='${naverUrl}';">네이버 아이디로 로그인</button></div>
<div class="Btn Kakao"><button type="button" onclick="location.href='${kakaoUrl}';">카카오 로그인</button></div>
<div class="Btn Google"><button type="button" onclick="location.href='${googleUrl}';">Google 계정으로 로그인</button></div>
<div class="Btn Naver"><button type="button" onclick="location.href='<c:out value='${naverUrl}'/>';">네이버 아이디로 로그인</button></div>
<div class="Btn Kakao"><button type="button" onclick="location.href='<c:out value='${kakaoUrl}'/>';">카카오 로그인</button></div>
<div class="Btn Google"><button type="button" onclick="location.href='<c:out value='${googleUrl}'/>';">Google 계정으로 로그인</button></div>
</div>
<div class="row Text">
<p>회원가입하고 <span>대출/열람 서비스</span>를 이용해보세요!</p>

View File

@ -31,7 +31,7 @@
<script>
<!--
$( document ).ready(function() {
fn_setPageTitle("${pageTitle}");
fn_setPageTitle("<c:out value='${pageTitle}'/>");
});
//-->
</script>
@ -53,7 +53,7 @@ $( document ).ready(function() {
<div class="join-box">
<div class="success">
<div class="text">
<p><span>${message}</span></p>
<p><span><c:out value='${message}'/></span></p>
</div>
<c:if test='${logout == "" }'>
<div class="box">

View File

@ -33,7 +33,7 @@
<script>
$(document).ready(function() {
fn_setPageTitle("${pageTitle}");
fn_setPageTitle("<c:out value='${pageTitle}'/>");
$("#frmLoginProc").submit();
})
</script>
@ -41,8 +41,8 @@ $(document).ready(function() {
<!-- 로그인 섹션 -->
<section class="location join">
<form id="frmLoginProc" name="frmLoginProc" action="${url}" method="POST">
<input type="hidden" name="message" id="message" value="${message }" />
<form id="frmLoginProc" name="frmLoginProc" action="<c:out value='${url}'/>" method="POST">
<input type="hidden" name="message" id="message" value="<c:out value='${message }'/>" />
</form>
<h2 class="blind">로그인 섹션영역</h2>
@ -62,7 +62,7 @@ $(document).ready(function() {
<div class="row-bottom">
<div class="join-box">
<div class="row Text">
<p>처리중입니다. 잠시만 기다려 주시기 바랍니다.<br>${message }</p>
<p>처리중입니다. 잠시만 기다려 주시기 바랍니다.<br><c:out value='${message }'/></p>
</div>
</div>
</div>

View File

@ -31,20 +31,20 @@
<script>
<!--
$( document ).ready(function() {
fn_setPageTitle("${pageTitle}");
fn_setPageTitle("<c:out value='${pageTitle}'/>");
});
//-->
</script>
</script>
<!-- 회원가입 섹션 -->
<section class="location join">
<h2 class="blind">${pageTitle} 섹션영역</h2>
<h2 class="blind"><c:out value='${pageTitle}'/> 섹션영역</h2>
<div class="inner">
<div class="row-top">
<div class="location-box">
<ul class="loc">
<li>HOME</li>
<li class="on">${pageTitle}</li>
<li class="on"><c:out value='${pageTitle}'/></li>
</ul>
<div class="tit">
<h2><span>회원</span>가입</h2>
@ -69,9 +69,9 @@ $( document ).ready(function() {
</div>
</div>
<div class="login">
<div class="Btn Naver"><button type="button" onclick="location.href='${naverUrl}';">네이버로 간편 가입</button></div>
<div class="Btn Kakao"><button type="button" onclick="location.href='${kakaoUrl}';">카카오로 회원가입</button></div>
<div class="Btn Google"><button type="button" onclick="location.href='${googleUrl}';">Google 계정으로 가입</button></div>
<div class="Btn Naver"><button type="button" onclick="location.href='<c:out value='${naverUrl}'/>';">네이버로 간편 가입</button></div>
<div class="Btn Kakao"><button type="button" onclick="location.href='<c:out value='${kakaoUrl}'/>';">카카오로 회원가입</button></div>
<div class="Btn Google"><button type="button" onclick="location.href='<c:out value='${googleUrl}'/>';">Google 계정으로 가입</button></div>
</div>
</div>
</div>

View File

@ -39,14 +39,14 @@
<script>
<!--
$( document ).ready(function() {
fn_setPageTitle("${pageTitle}");
fn_setPageTitle("<c:out value='${pageTitle}'/>");
});
//-->
</script>
<!-- 계정연결완료 섹션 -->
<div class="location join succ connect">
<h2 class="blind">${pageTitle} 섹션영역</h2>
<h2 class="blind"><c:out value='${pageTitle} 섹션영역</h2>
<div class="inner">
<div class="row-top icon">
<div class="icon"><img src="/images/icon/icon-connect.png" alt="자물쇠 아이콘"></div>

View File

@ -31,7 +31,7 @@
<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags"%>
<script>
$(document).ready(function(){
var cnt=${cnt};
var cnt = '<c:out value='${cnt}'/>';
if(cnt > 0) {
gfn_showLayerPop();
@ -42,7 +42,7 @@ $(document).ready(function(){
<%//비밀번호 찾기 페이지에서 다시 돌아왔을 경우 %>
var previousPage = "${vo.previousPage}";
var previousPage ='<c:out value='${vo.previousPage}'/>';
if(previousPage == "alreadySignUpPopup")
{
$("#alreadySingUpForm").css("display","none");

View File

@ -32,7 +32,7 @@
<script>
$( document ).ready(function() {
fn_setPageTitle("${pageTitle}");
fn_setPageTitle("<c:out value='${pageTitle}'/>");
});
function deleteMembership()

View File

@ -24,9 +24,10 @@
%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<script>
$(document).ready(function() {
var previousPage ="${loginVO.previousPage}";
var previousPage ="<c:out value='${loginVO.previousPage}'/>";
if(previousPage == "alreadySignUpPopup")
{
document.getElementById("cancle").setAttribute("onClick", "fn_cancle()");
@ -69,7 +70,7 @@ function goFindPw(){
if(result == "success")
{
alert("입력하신 이메일로 임시 비밀번호가 발송되었습니다.\n메일을 확인해주세요.");
var previousPage ="${loginVO.previousPage}";
var previousPage ="<c:out value='${loginVO.previousPage}'/>";
if(previousPage == "alreadySignUpPopup")
{
document.initPw.action="${pageContext.request.contextPath}/member/selectAlreadySignUpMobilePopup.do";
@ -103,11 +104,11 @@ function fn_cancle()
</script>
<div class="pop-find">
<form id="initPw" name="initPw" method="post" onsubmit="return false;">
<input type="hidden" id="mbInfoId" name="mbInfoId" value="${loginVO.mbInfoId }">
<input type="hidden" id="nameTemp" name="nameTemp" value="${loginVO.nameTemp }">
<input type="hidden" id="emailTemp" name="emailTemp" value="${loginVO.emailTemp }">
<input type="hidden" id="mobileNo" name="mobileNo" value="${loginVO.mobileNo }">
<input type="hidden" id="previousPage" name="previousPage" value="${loginVO.previousPage}">
<input type="hidden" id="mbInfoId" name="mbInfoId" value="<c:out value='${loginVO.mbInfoId }'/>">
<input type="hidden" id="nameTemp" name="nameTemp" value="<c:out value='${loginVO.nameTemp }'/>">
<input type="hidden" id="emailTemp" name="emailTemp" value="<c:out value='${loginVO.emailTemp }'/>">
<input type="hidden" id="mobileNo" name="mobileNo" value="<c:out value='${loginVO.mobileNo }'/>">
<input type="hidden" id="previousPage" name="previousPage" value="<c:out value='${loginVO.previousPage}'/>">
<div class="row Title">
<p>내 정보</p>
<h3>비밀번호 찾기</h3>

View File

@ -33,7 +33,7 @@
<c:set var="pageTitle">회원가입</c:set>
<script>
$(document).ready(function() {
fn_setPageTitle("${pageTitle}");
fn_setPageTitle("<c:out value='${pageTitle}'/>");
birthSelectbox();
});
@ -520,36 +520,6 @@ function isValidDate(param) {
;
}
jQuery(function ($) {
var now = new Date();
var year = now.getFullYear();
var mon = now.getMonth() + 1 > 9 ? "" + (now.getMonth() + 1) : "0" + (now.getMonth() + 1);
var day = now.getDate() > 9 ? "" + now.getDate() : "0" + now.getDate();
// 년도
$("#birth_yy").append('<option value="">(선택)</option>');
for (var i = 1900; i <= year; i++) {
$("#birth_yy").append('<option value="' + i + '">' + i + "</option>");
}
// 월별
$("#birth_mm").append('<option value="">(선택)</option>');
for (var i = 1; i <= 12; i++) {
var mm = i > 9 ? i : "0" + i;
$("#birth_mm").append('<option value="' + mm + '">' + mm + "</option>");
}
// 일별
$("#birth_dd").append('<option value="">(선택)</option>');
for (var i = 1; i <= 31; i++) {
var dd = i > 9 ? i : "0" + i;
$("#birth_dd").append('<option value="' + dd + '">' + dd + "</option>");
}
// $("#birth_yy > option[value=" + year + "]").attr("selected", "true");
// $("#birth_mm > option[value=" + mon + "]").attr("selected", "true");
// $("#birth_dd > option[value=" + day + "]").attr("selected", "true");
});
function calcAge(birth) {
var date = new Date();
var year = date.getFullYear();
@ -577,13 +547,13 @@ function fn_cancel(){
</script>
<!-- 회원가입 섹션 -->
<div class="location join">
<h2 class="blind">${pageTitle} 섹션영역</h2>
<h2 class="blind"><c:out value='${pageTitle}'/> 섹션영역</h2>
<div class="inner">
<div class="row-top">
<div class="location-box">
<ul class="loc">
<li>HOME</li>
<li class="on">${pageTitle}</li>
<li class="on"><c:out value='${pageTitle}'/></li>
</ul>
<div class="tit">
<h2><span>회원</span>가입</h2>

View File

@ -35,13 +35,13 @@
<script>
<!--
$( document ).ready(function() {
fn_setPageTitle("${pageTitle}");
fn_setPageTitle("<c:out value='${pageTitle}'/>");
});
//-->
</script>
<!-- 회원가입완료 섹션 -->
<div class="location join succ">
<h2 class="blind">${pageTitle} 섹션영역</h2>
<h2 class="blind"><c:out value='${pageTitle}'/> 섹션영역</h2>
<div class="inner">
<div class="row-top icon">
<div class="icon"><img src="/images/icon/icon-join-suc.png" alt=""></div>
@ -53,7 +53,7 @@
<div class="text">
<p>반갑습니다!</p>
<p>지방문화원 소장자료관 <span>통합회원가입이 완료</span>되었습니다.</p>
<p><span>${result.name }</span>님의 지방문화원 소장자료관 회원증이 발급되었으며, <span>[회원증] 메뉴</span>를 통해 확인하실 수 있습니다.</p>
<p><span><c:out value='${result.name }'/></span>님의 지방문화원 소장자료관 회원증이 발급되었으며, <span>[회원증] 메뉴</span>를 통해 확인하실 수 있습니다.</p>
<p>가입시 입력된 정보는 <span>[마이페이지 &gt; 회원정보관리 &gt; 수정하기]</span>에서 수정 가능합니다.</p>
</div>
<div class="box">

View File

@ -33,7 +33,7 @@
<c:set var="pageTitle">회원가입</c:set>
<script>
$( document ).ready(function() {
fn_setPageTitle("${pageTitle}");
fn_setPageTitle("<c:out value='${pageTitle}'/>");
});
function snsCertForm(){

View File

@ -1,49 +0,0 @@
<%
/**
* <pre>
* @Class Name : snsCertForm.jsp
*
* @Description : 회원가입시 sns인증
*
*
* @프로젝트명: 지방문화원 통합자료관리시스템 구축사업 (2021)
*
* </pre>
*
* @ ------------ -------- ---------------------------
* @ 수정일 수정자 수정내용
* @ ------------ -------- ---------------------------
* @ 2021. 7. 12. JSYOO 최초 생성
*
*
* @author 이씨플라자 * DIGITALSHIP JSYOO
* @since 2021. 7. 12.
* @version 1.0
*
*/
%>
<%@ page language="java" contentType="text/html; charset=UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="validator" uri="http://www.springmodules.org/tags/commons-validator" %>
<script type="text/javascript" src="https://static.nid.naver.com/js/naverLogin_implicit-1.0.2.js" charset="utf-8"></script>
<script src = "//developers.kakao.com/sdk/js/kakao.min.js"></script>
<script src="https://apis.google.com/js/api:client.js"></script>
<c:set var="pageTitle">회원가입</c:set>
<script>
<!--
$( document ).ready(function() {
fn_setPageTitle("${pageTitle}");
});
//-->
</script>
SNS 인증
<br>
<div id="naver_id_login" style="text-align:center"><a href="${naverUrl}" ><img width="223" src="${pageContext.request.contextPath}/images/nlib/sns/naver_login_btn.png"/></a></div>
<div id="googleLogin" style="text-align:center"><a href="${googleUrl}" ><img width="223" src="${pageContext.request.contextPath}/images/nlib/sns/google_login_btn.png"/></a></div>
<div id="kakao_id_login" style="text-align: center"> <a href="${kakaoUrl}" > <img width="223" src="${pageContext.request.contextPath}/images/nlib/sns/kakao_login_btn.png" /></a> </div>
<br>

View File

@ -266,9 +266,16 @@ function changePassword(){
<%//패스워드 정규식 9자이상 소문자, 숫자 ,특수문자%>
var regExp = /^(?=.*[a-z])(?=.*\d)(?=.*[$@$!%*#?&])[A-Za-z\d$@$!%*#?&]{9,}$/i;
var exist_p = document.getElementById('password');
var p = document.getElementById('newPassword');
var p_cf = document.getElementById('newPasswordConfirm');
if(exist_p.value == "")
{
exist_p.focus();
alert("기존 비밀번호를 입력해주세요.");
return false;
}
if(!regExp.test(p.value)){
p.focus();
alert("9자리 이상, 숫자/문자/특수문자를 혼합하여 입력해주세요.");
@ -286,19 +293,33 @@ function changePassword(){
async: false,
data : {"password" : $("#password").val()
,"newPassword" : $("#newPassword").val()
,"newPasswordConfirm" : $("#newPasswordConfirm").val()
},
success : function(result){
if(result == "success");
{
alert("비밀번호 변경이 처리되었습니다.");
pwdChangePop();
}
if(result == "fail")
{
alert("기존 비밀번호가 올바르지 않습니다.");
return false;
}
if(result == "notLogin")
{
alert("잘못된 접근입니다. \n장시간 대기로 다시 로그인 후 진행해주세요.");
location.href="/";
return false;
}
if(result == "passwordNoMatch")
{
alert("9자리 이상, 숫자/문자/특수문자를 혼합하여 입력해주세요.");
return false;
}
if(result == "success");
{
alert("비밀번호 변경이 처리되었습니다.");
pwdChangePop();
return false;
}
},error : function(){
}
})

View File

@ -243,13 +243,29 @@ function gfn_changeInterestBtn(masterId,onOff){
async: false,
data: {"masterId" : masterId}
}).done(function(result){
alert(result);
if(result == "로그인 후, 이용하실 수 있습니다.")
if(result == "notLogin")
{
alert("로그인 후, 이용하실 수 있습니다.");
return false;
}
$(".favorit").removeAttr("onclick");
$(".favorit").attr("onclick","gfn_changeInterestBtn('" + masterId + "','off')");
if(result == "alreadyAdded")
{
alert("이미 추가된 관심자료입니다.");
}
if(result == "success")
{
alert("관심자료에 추가되었습니다.");
}
if(result == "fail")
{
alert("관심자료에 추가할 수 없습니다.");
}
if(result != "notLogin")
{
$(".favorit").removeAttr("onclick");
$(".favorit").attr("onclick","gfn_changeInterestBtn('" + masterId + "','off')");
}
});
}
if(onOff == "off")
@ -262,13 +278,21 @@ function gfn_changeInterestBtn(masterId,onOff){
async: false,
data : {"masterIdList" : masterIdArray},
success : function(result){
alert(result);
if(result == "로그인 후, 이용하실 수 있습니다.")
if(result == "notLogin")
{
alert("로그인 후, 이용하실 수 있습니다.");
return false;
}
$(".favorit").removeAttr("onclick");
$(".favorit").attr("onclick","gfn_changeInterestBtn('" + masterId + "','on')");
if(result == "success")
{
alert("관심자료가 삭제되었습니다.");
}
if( result != "notLogin")
{
$(".favorit").removeAttr("onclick");
$(".favorit").attr("onclick","gfn_changeInterestBtn('" + masterId + "','on')");
}
},error : function(){
}
});