File name
Commit message
Commit date
File name
Commit message
Commit date
File name
Commit message
Commit date
File name
Commit message
Commit date
File name
Commit message
Commit date
File name
Commit message
Commit date
File name
Commit message
Commit date
<%
/**
* @Class Name : EgovMberSelectUpdt.jsp
* @Description : 일반회원상세조회, 수정 JSP
* @Modification Information
* @
* @ 수정일 수정자 수정내용
* @ ------- -------- ---------------------------
* @ 2009.03.02 조재영 최초 생성
* @ 2015.06.16 조정국 password 중복필드 정리
* @ 2016.06.13 장동한 표준프레임워크 v3.6 개선
* @ 2017.07.21 장동한 로그인인증제한 작업
*
* @author 공통서비스 개발팀 조재영
* @since 2009.03.02
* @version 1.0
* @see
*
*/
%>
<%@ 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" %>
<%@ taglib prefix="double-submit" uri="http://www.egovframe.go.kr/tags/double-submit/jsp" %>
<c:set var="pageTitle">일반회원</c:set>
<!DOCTYPE html>
<html>
<head>
<title>${pageTitle} 수정</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<script type="text/javascript" src="<c:url value="/validator.do"/>"></script>
<%-- <validator:javascript formName="mberManageVO" staticJavascript="false" xhtml="true" cdata="false"/> --%>
<link href="<c:url value='/'/>css/common.css" rel="stylesheet" type="text/css" >
<script src="<c:url value='/js/jquery-1.12.4.min.js' />"></script>
<script src="http://dmaps.daum.net/map_js_init/postcode.v2.js"></script>
<script type="text/javascript" src="<c:url value='/js/EgovMultiFile.js?ver=1'/>" ></script>
<script type="text/javascript" src="<c:url value='/js/EgovCmmUtl.js'/>" ></script>
<script type="text/javascript">
$( document ).ready(function() {
fn_egov_init();
});
var bCancel = false;
function validateMberManageVO(form) {
if (bCancel) return true;
else return validateRequired(form) && validateMaxLength(form) && validatePassword1(form) && validatePassword2(form) && validatePassword3(form) && validatePassword4(form) && validateInteger(form) && validateEmail(form);
}
function required () {
this.aa = new Array("mberId", "일반회원아이디은(는) 필수 입력값입니다.", new Function ("varName", "this.maxlength='20'; return this[varName];"));
this.ac = new Array("password", "비밀번호은(는) 필수 입력값입니다.", new Function ("varName", " return this[varName];"));
<c:if test="${not empty name and name.neceYn == 'Y' }">
this.ab = new Array("mberNm", "일반회원이름은(는) 필수 입력값입니다.", new Function ("varName", "this.maxlength='50'; return this[varName];"));
</c:if>
<c:if test="${not empty password2 and password2.neceYn == 'Y' }">
this.ad = new Array("password2", "비밀번호확인은(는) 필수 입력값입니다.", new Function ("varName", " return this[varName];"));
</c:if>
<c:if test="${not empty passwordHint and passwordHint.neceYn == 'Y' }">
this.ad = new Array("passwordHint", "비밀번호힌트은(는) 필수 입력값입니다.", new Function ("varName", " return this[varName];"));
</c:if>
<c:if test="${not empty passwordCnsr and passwordCnsr.neceYn == 'Y' }">
this.ae = new Array("passwordCnsr", "비밀번호정답은(는) 필수 입력값입니다.", new Function ("varName", "this.maxlength='100'; return this[varName];"));
</c:if>
<c:if test="${not empty tel and tel.neceYn == 'Y' }">
this.af = new Array("areaNo", "집지역번호은(는) 필수 입력값입니다.", new Function ("varName", "this.maxlength='4'; return this[varName];"));
</c:if>
<c:if test="${not empty tel and tel.neceYn == 'Y' }">
this.ag = new Array("middleTelno", "집중간전화번호은(는) 필수 입력값입니다.", new Function ("varName", "this.maxlength='4'; return this[varName];"));
</c:if>
<c:if test="${not empty tel and tel.neceYn == 'Y' }">
this.ah = new Array("endTelno", "집마지막전화번호은(는) 필수 입력값입니다.", new Function ("varName", "this.maxlength='4'; return this[varName];"));
</c:if>
<c:if test="${not empty moblphonNo and moblphonNo.neceYn == 'Y' }">
this.ai = new Array("moblphonNo", "핸드폰번호은(는) 필수 입력값입니다.", new Function ("varName", "this.maxlength='15'; return this[varName];"));
</c:if>
<c:if test="${not empty moblphonNo and moblphonNo.neceYn == 'Y' }">
this.aj = new Array("moblphonNo1", "핸드폰번호(앞)은(는) 필수 입력값입니다.", new Function ("varName", "this.maxlength='15'; return this[varName];"));
</c:if>
<c:if test="${not empty moblphonNo and moblphonNo.neceYn == 'Y' }">
this.ak = new Array("moblphonNo2", "핸드폰번호은(중간)(는) 필수 입력값입니다.", new Function ("varName", "this.maxlength='15'; return this[varName];"));
</c:if>
<c:if test="${not empty moblphonNo and moblphonNo.neceYn == 'Y' }">
this.al = new Array("moblphonNo3", "핸드폰번호은(끝)(는) 필수 입력값입니다.", new Function ("varName", "this.maxlength='15'; return this[varName];"));
</c:if>
<c:if test="${not empty mberEmailAdres and mberEmailAdres.neceYn == 'Y' }">
this.am = new Array("mberEmailAdres", "이메일주소은(는) 필수 입력값입니다.", new Function ("varName", "this.maxlength='50'; return this[varName];"));
</c:if>
<c:if test="${not empty mberEmailAdres and mberEmailAdres.neceYn == 'Y' }">
this.an = new Array("email1", "이메일주소(앞)은(는) 필수 입력값입니다.", new Function ("varName", "this.maxlength='50'; return this[varName];"));
</c:if>
<c:if test="${not empty mberEmailAdres and mberEmailAdres.neceYn == 'Y' }">
this.ao = new Array("email2", "이메일주소(뒤)은(는) 필수 입력값입니다.", new Function ("varName", "this.maxlength='50'; return this[varName];"));
</c:if>
<c:if test="${not empty adres and adres.neceYn == 'Y' }">
this.ap = new Array("adres", "주소은(는) 필수 입력값입니다.", new Function ("varName", "this.maxlength='100'; return this[varName];"));
</c:if>
<c:if test="${not empty detailAdres and detailAdres.neceYn == 'Y' }">
this.aq = new Array("detailAdres", "상세주소은(는) 필수 입력값입니다.", new Function ("varName", "this.maxlength='100'; return this[varName];"));
</c:if>
/* <c:if test="${not empty password and password.neceYn == 'Y' }">
this.ar = new Array("mberSttus", "일반회원상태코드은(는) 필수 입력값입니다.", new Function ("varName", " return this[varName];"));
</c:if> */
}
function maxlength () {
this.aa = new Array("mberId", "일반회원아이디은(는) 20자 이상 입력할수 없습니다.", new Function ("varName", "this.maxlength='20'; return this[varName];"));
<c:if test="${not empty name and name.neceYn == 'Y' }">
this.ab = new Array("mberNm", "일반회원이름은(는) 50자 이상 입력할수 없습니다.", new Function ("varName", "this.maxlength='50'; return this[varName];"));
</c:if>
<c:if test="${not empty passwordCnsr and passwordCnsr.neceYn == 'Y' }">
this.ac = new Array("passwordCnsr", "비밀번호정답은(는) 100자 이상 입력할수 없습니다.", new Function ("varName", "this.maxlength='100'; return this[varName];"));
</c:if>
<c:if test="${not empty tel and tel.neceYn == 'Y' }">
this.ad = new Array("areaNo", "집지역번호은(는) 4자 이상 입력할수 없습니다.", new Function ("varName", "this.maxlength='4'; return this[varName];"));
</c:if>
<c:if test="${not empty tel and tel.neceYn == 'Y' }">
this.ae = new Array("middleTelno", "집중간전화번호은(는) 4자 이상 입력할수 없습니다.", new Function ("varName", "this.maxlength='4'; return this[varName];"));
</c:if>
<c:if test="${not empty tel and tel.neceYn == 'Y' }">
this.af = new Array("endTelno", "집마지막전화번호은(는) 4자 이상 입력할수 없습니다.", new Function ("varName", "this.maxlength='4'; return this[varName];"));
</c:if>
<c:if test="${not empty moblphonNo and moblphonNo.neceYn == 'Y' }">
this.ag = new Array("moblphonNo", "핸드폰번호은(는) 15자 이상 입력할수 없습니다.", new Function ("varName", "this.maxlength='15'; return this[varName];"));
</c:if>
<c:if test="${not empty moblphonNo and moblphonNo.neceYn == 'Y' }">
this.ah = new Array("moblphonNo1", "핸드폰번호은(는) 15자 이상 입력할수 없습니다.", new Function ("varName", "this.maxlength='15'; return this[varName];"));
</c:if>
<c:if test="${not empty moblphonNo and moblphonNo.neceYn == 'Y' }">
this.ai = new Array("moblphonNo2", "핸드폰번호은(는) 15자 이상 입력할수 없습니다.", new Function ("varName", "this.maxlength='15'; return this[varName];"));
</c:if>
<c:if test="${not empty moblphonNo and moblphonNo.neceYn == 'Y' }">
this.aj = new Array("moblphonNo3", "핸드폰번호은(는) 15자 이상 입력할수 없습니다.", new Function ("varName", "this.maxlength='15'; return this[varName];"));
</c:if>
<c:if test="${not empty mberEmailAdres and mberEmailAdres.neceYn == 'Y' }">
this.ak = new Array("mberEmailAdres", "이메일주소은(는) 50자 이상 입력할수 없습니다.", new Function ("varName", "this.maxlength='50'; return this[varName];"));
</c:if>
<c:if test="${not empty mberEmailAdres and mberEmailAdres.neceYn == 'Y' }">
this.al = new Array("email1", "이메일주소(앞)은(는) 50자 이상 입력할수 없습니다.", new Function ("varName", "this.maxlength='50'; return this[varName];"));
</c:if>
<c:if test="${not empty mberEmailAdres and mberEmailAdres.neceYn == 'Y' }">
this.am = new Array("email2", "이메일주소(뒤)은(는) 50자 이상 입력할수 없습니다.", new Function ("varName", "this.maxlength='50'; return this[varName];"));
</c:if>
<c:if test="${not empty adres and adres.neceYn == 'Y' }">
this.an = new Array("adres", "주소은(는) 100자 이상 입력할수 없습니다.", new Function ("varName", "this.maxlength='100'; return this[varName];"));
</c:if>
<c:if test="${not empty detailAdres and detailAdres.neceYn == 'Y' }">
this.ao = new Array("detailAdres", "상세주소은(는) 100자 이상 입력할수 없습니다.", new Function ("varName", "this.maxlength='100'; return this[varName];"));
</c:if>
}
function password1 () {
this.aa = new Array("password", "비밀번호은(는) 8~20자 내에서 입력해야 합니다.", new Function ("varName", " return this[varName];"));
}
function password2 () {
this.aa = new Array("password", "비밀번호은(는) 한글,특수문자,띄어쓰기는 허용되지 않습니다.", new Function ("varName", " return this[varName];"));
}
function password3 () {
this.aa = new Array("password", "비밀번호은(는) 순차적인 숫자를 4개이상 연속해서 사용할수 없습니다.", new Function ("varName", " return this[varName];"));
}
function password4 () {
this.aa = new Array("password", "비밀번호은(는) 반복되는 문자나 숫자를 4개이상 연속해서 사용할 수 없습니다.", new Function ("varName", " return this[varName];"));
}
function IntegerValidations (){
<c:if test="${not empty tel and tel.useYn == 'Y' }">
this.aa = new Array("areaNo", "집지역번호은(는) integer 타입이어야 합니다.", new Function ("varName", "this.maxlength='4'; return this[varName];"));
</c:if>
<c:if test="${not empty tel and tel.useYn == 'Y' }">
this.ab = new Array("middleTelno", "집중간전화번호은(는) integer 타입이어야 합니다.", new Function ("varName", "this.maxlength='4'; return this[varName];"));
</c:if>
<c:if test="${not empty tel and tel.useYn == 'Y' }">
this.ac = new Array("endTelno", "집마지막전화번호은(는) integer 타입이어야 합니다.", new Function ("varName", "this.maxlength='4'; return this[varName];"));
</c:if>
}
function email () {
<c:if test="${not empty mberEmailAdres and mberEmailAdres.useYn == 'Y' and mberEmailAdres.neceYn == 'Y'}">
this.aa = new Array("mberEmailAdres", "이메일주소은(는) 유효하지 않은 이메일 주소입니다.", new Function ("varName", "this.maxlength='50'; return this[varName];"));
</c:if>
}
</script>
<script>
function execDaumPostcode() {
new daum.Postcode({
oncomplete: function(data) {
// 팝업에서 검색결과 항목을 클릭했을때 실행할 코드를 작성하는 부분.
// 도로명 주소의 노출 규칙에 따라 주소를 조합한다.
// 내려오는 변수가 값이 없는 경우엔 공백('')값을 가지므로, 이를 참고하여 분기 한다.
var fullRoadAddr = data.roadAddress; // 도로명 주소 변수
var extraRoadAddr = ''; // 도로명 조합형 주소 변수
// 법정동명이 있을 경우 추가한다. (법정리는 제외)
// 법정동의 경우 마지막 문자가 "동/로/가"로 끝난다.
if(data.bname !== '' && /[동|로|가]$/g.test(data.bname)){
extraRoadAddr += data.bname;
}
// 건물명이 있고, 공동주택일 경우 추가한다.
if(data.buildingName !== '' && data.apartment === 'Y'){
extraRoadAddr += (extraRoadAddr !== '' ? ', ' + data.buildingName : data.buildingName);
}
// 도로명, 지번 조합형 주소가 있을 경우, 괄호까지 추가한 최종 문자열을 만든다.
if(extraRoadAddr !== ''){
extraRoadAddr = ' (' + extraRoadAddr + ')';
}
// 도로명, 지번 주소의 유무에 따라 해당 조합형 주소를 추가한다.
if(fullRoadAddr !== ''){
fullRoadAddr += extraRoadAddr;
}
// 우편번호와 주소 정보를 해당 필드에 넣는다.
document.getElementById('zip').value = data.zonecode; //5자리 새우편번호 사용
document.getElementById('adres').value = fullRoadAddr;
//document.getElementById('sample4_jibunAddress').value = data.jibunAddress;
// 사용자가 '선택 안함'을 클릭한 경우, 예상 주소라는 표시를 해준다.
if(data.autoRoadAddress) {
//예상되는 도로명 주소에 조합형 주소를 추가한다.
var expRoadAddr = data.autoRoadAddress + extraRoadAddr;
document.getElementById('guide').innerHTML = '(예상 도로명 주소 : ' + expRoadAddr + ')';
} else if(data.autoJibunAddress) {
var expJibunAddr = data.autoJibunAddress;
document.getElementById('guide').innerHTML = '(예상 지번 주소 : ' + expJibunAddr + ')';
} else {
document.getElementById('guide').innerHTML = '';
}
}
}).open();
}
function checkemailaddy(){
if (document.mberManageVO.emailCodeList.value == '') {
document.mberManageVO.email2.readonly = false;
document.mberManageVO.email2.value = '';
document.mberManageVO.email2.focus();
}
else {
document.mberManageVO.email2.readonly = true;
document.mberManageVO.email2.value = $("#emailCodeList option:selected").text();
}
}
function fn_setBirth(){
var today = new Date();
var toyear = parseInt(today.getFullYear());
var start = toyear - 5
var end = toyear - 70;
var td_birth_str ="";
td_birth_str+="<font size=2><select name=birthYear id=birthYear>";
td_birth_str+="<option value=''>--선택하세요--</option>";
for (i=start;i>=end;i--) {
if (i == "<c:out value='${mberManageVO.birthYear}'/>") {
td_birth_str+="<option value='"+i+"' selected>"+i+"</option>";
} else {
td_birth_str+="<option value='"+i+"' >"+i+"</option>";
}
}
td_birth_str+="</select>년 ";
td_birth_str+="<select name=birthMonth id=birthMonth >";
td_birth_str+="<option value=''>--선택하세요--</option>";
for (i=1;i<=12;i++){
var month = "";
if(i.toString().length == 1){
month = "0" + i;
}else{
month = i;
}
if (month == "<c:out value='${mberManageVO.birthMonth}'/>") {
td_birth_str+="<option value='"+month+"' selected>"+i;
} else {
td_birth_str+="<option value='"+month+"'>"+i;
}
}
td_birth_str+="</select>월 ";
td_birth_str+="<select name=birthDay id=birthDay>";
td_birth_str+="<option value=''>--선택하세요--</option>";
for (i=1;i<=31;i++) {
var day = "";
if(i.toString().length == 1){
day = "0" + i;
}else{
day = i;
}
if (day == "<c:out value='${mberManageVO.birthDay}'/>") {
td_birth_str+="<option value='"+day+"' selected>"+i;
} else {
td_birth_str+="<option value='"+day+"'>"+i;
}
}
td_birth_str+="</select>일 </font>";
$('#td_birth').append(td_birth_str) ;
}
</script>
<script type="text/javaScript" language="javascript" defer="defer">
function fnListPage(){
document.mberManageVO.action = "<c:url value='/uss/umt/mber/EgovMberManage.do'/>";
document.mberManageVO.submit();
}
function fnDeleteMber(checkedIds) {
if(confirm("삭제")){
document.mberManageVO.checkedIdForDel.value=checkedIds;
document.mberManageVO.action = "<c:url value='/uss/umt/mber/EgovMberDelete.do'/>";
document.mberManageVO.submit();
}
}
function fnPasswordMove(){
document.mberManageVO.action = "<c:url value='/uss/umt/mber/EgovMberPasswordUpdtView.do'/>";
document.mberManageVO.submit();
}
function fnLockIncorrect(){
if(confirm("로그인인증제한을 해제 하시겠습니까?")){
document.mberManageVO.action = "<c:url value='/uss/umt/mber/EgovMberLockIncorrect.do'/>";
document.mberManageVO.selectedId.value=document.mberManageVO.uniqId.value;
document.mberManageVO.submit();
}
}
function fnUpdate(form){
if(confirm("저장 하시겠습니까?")){
//핸프폰번호 조합
$('#moblphonNo').val($('#moblphonNo1').val()+$('#moblphonNo2').val()+$('#moblphonNo3').val());
//이메일조홥
$('#mberEmailAdres').val($('#email1').val()+"@"+$('#email2').val());
//생년월일 조합
$('#birth').val($('#birthYear').val()+$('#birthMonth').val()+$('#birthDay').val());
if(validateMberManageVO(form)){
/* if(form.password.value != form.password2.value){
alert("<spring:message code="fail.user.passwordUpdate2" />");
return false;
} */
form.submit();
return true;
}
}
}
function fn_attfileSet(){
//------------------------------------------
//------------------------- 첨부파일 등록 Start
//-------------------------------------------
/* var maxFileNum = 1
var multi_selector = new MultiSelector( document.getElementById( 'egovComFileList' ), maxFileNum, 'file_label', true); // true:이미지 미리보기
multi_selector.addElement( document.getElementById( 'egovfile_1' ) );
<c:if test="${not empty mberManageVO.photofileId}">
fn_egov_multi_selector_update_setting(multi_selector);
</c:if> */
//------------------------- 첨부파일 등록 End
}
function fn_egov_init(){
//생년월일 폼 세팅
fn_setBirth();
//첨부파일 세팅
<c:if test="${not empty photo and photo.useYn == 'Y' }">
fn_attfileSet();
</c:if>
}
</script>
<style>
.modal-content {width: 400px;}
.default_tablestyle table th {
border-top:none;
}
.default_tablestyle table td {
border-bottom: 1px solid #81B1D5;
text-align:left;
}
</style>
</head>
<body>
<noscript class="noScriptTitle">자바스크립트를 지원하지 않는 브라우저에서는 일부 기능을 사용하실 수 없습니다.</noscript>
<!-- 전체 레이어 시작 -->
<div id="content">
<div id="cur_loc">
<div id="cur_loc_align">
<ul>
<span id="cnt_cate_list"></span>
</ul>
</div>
</div>
<!-- content start -->
<form:form commandName="mberManageVO" action="${pageContext.request.contextPath}/uss/umt/mber/EgovMberSelectUpdt.do" name="mberManageVO" method="post" onSubmit="fnUpdate(document.forms.mberManageVO); return false;" enctype="multipart/form-data">
<double-submit:preventer tokenKey="someKey" />
<!-- 상세정보 사용자 삭제시 prameter 전달용 input -->
<input name="checkedIdForDel" type="hidden" />
<!-- 검색조건 유지 -->
<input type="hidden" name="searchCondition" value="<c:out value='${userSearchVO.searchCondition}'/>"/>
<input type="hidden" name="searchKeyword" value="<c:out value='${userSearchVO.searchKeyword}'/>"/>
<input type="hidden" name="searchSexdstn" value="<c:out value='${userSearchVO.searchSexdstn}'/>"/>
<input type="hidden" name="pageIndex" value="<c:out value='${userSearchVO.pageIndex}'/>"/>
<!-- 우편번호검색 -->
<!-- 사용자유형정보 : password 수정화면으로 이동시 타겟 유형정보 확인용, 만약검색조건으로 유형이 포함될경우 혼란을 피하기위해 userTy명칭을 쓰지 않음-->
<input type="hidden" name="userTyForPassword" value="<c:out value='${mberManageVO.userTy}'/>" />
<!-- for validation -->
<input type="hidden" name="password" id="password" value="Test#$123)"/>
<input type="hidden" name="selectedId" id="selectedId" value=""/>
<div class="default_tablestyle">
<h2>${pageTitle} 수정</h2>
<!-- 수정폼 -->
<table class="wTable" summary="리스트" arguments="${pageTitle}" style="margin-top: 22px;" />
<caption>${pageTitle} 생성</caption>
<colgroup>
<col style="width: 22%;"><col style="width: ;">
</colgroup>
<tbody>
<!-- 입력/선택 -->
<c:set var="inputTxt">입력</c:set>
<c:set var="inputSelect">선택</c:set>
<!-- 일반회원아이디 -->
<c:set var="title">일반회원아이디</c:set>
<tr>
<th><label for="mberId">${title}</label> <span class="pilsu">*</span></th>
<td class="left">
<form:input path="mberId" id="mberId" title="${title} ${inputTxt}" size="20" readonly="true" maxlength="20" />
<form:errors path="mberId" cssClass="error" />
<form:hidden path="uniqId" />
</td>
</tr>
<!-- 일반회원이름 -->
<c:choose>
<c:when test="${not empty name and name.useYn == 'Y' }">
<c:set var="title">일반회원이름</c:set>
<tr>
<th><label for="mberNm">${title}</label> <span class="pilsu">*</span></th>
<td class="left">
<form:input path="mberNm" title="${title} ${inputTxt}" size="50" maxlength="60" />
<div><form:errors path="mberNm" cssClass="error" /></div>
</td>
</tr>
</c:when>
<c:otherwise>
<form:hidden path="mberNm" />
</c:otherwise>
</c:choose>
<!-- 비밀번호힌트 -->
<c:choose>
<c:when test="${not empty passwordHint and passwordHint.useYn == 'Y' }">
<c:set var="title">비밀번호힌트</c:set>
<tr>
<th><label for="passwordHint">${title}</label> <span class="pilsu">*</span></th>
<td class="left">
<form:select path="passwordHint" id="passwordHint" title="${title} ${inputSelect}">
<form:option value="" label="--선택하세요--"/>
<form:options items="${passwordHint_result}" itemValue="code" itemLabel="codeNm"/>
</form:select>
<div><form:errors path="passwordHint" cssClass="error"/></div>
</td>
</tr>
</c:when>
<c:otherwise>
<form:hidden path="passwordHint" />
</c:otherwise>
</c:choose>
<!-- 비밀번호정답 -->
<c:choose>
<c:when test="${not empty passwordCnsr and passwordCnsr.useYn == 'Y' }">
<c:set var="title">비밀번호정답</c:set>
<tr>
<th><label for="passwordCnsr">${title}</label> <span class="pilsu">*</span></th>
<td class="left">
<form:input path="passwordCnsr" id="passwordCnsr" title="${title} ${inputTxt}" size="50" maxlength="100" />
<div><form:errors path="passwordCnsr" cssClass="error"/></div>
</td>
</tr>
</c:when>
<c:otherwise>
<form:hidden path="passwordCnsr" />
</c:otherwise>
</c:choose>
<!-- 사진 -->
<c:choose>
<c:when test="${not empty photo and photo.useYn == 'Y' }">
<c:set var="title">사진</c:set>
<tr>
<th><label for="photo">${title}</label></th>
<td class="left">
<!-- 첨부목록을 보여주기 위한 -->
<c:import url="/cmm/fms/selectFileInfsForUpdate.do" charEncoding="utf-8">
<c:param name="param_atchFileId" value="${mberManageVO.photofileId}" />
<c:param name="img_view" value="Y" />
<c:param name="img_view_w" value="100" />
<c:param name="img_view_h" value="100" />
<c:param name="updateFlag" value="Y" />
<c:param name="img_change_view" value="Y" />
</c:import>
</td>
</tr>
</c:when>
<c:otherwise>
<form:hidden path="atchFileId" />
</c:otherwise>
</c:choose>
<!-- 성별구분코드 -->
<c:choose>
<c:when test="${not empty sexdstnCode and sexdstnCode.useYn == 'Y' }">
<c:set var="title">성별구분코드</c:set>
<tr>
<th><label for="sexdstnCode">${title}</label></th>
<td class="left">
<c:forEach var="item" items="${sexdstnCode_result}" varStatus="status">
${item.codeNm}
<%-- <input type="radio" style="width:5%" name="sexdstnCode" value="${item.code}"/> --%>
<form:radiobutton path="sexdstnCode" value="${item.code}" style="width:6%" />
</c:forEach>
</td>
</tr>
</c:when>
<c:otherwise>
<form:hidden path="sexdstnCode" />
</c:otherwise>
</c:choose>
<!-- 생년월일 -->
<c:choose>
<c:when test="${not empty birth and birth.useYn == 'Y' }">
<c:set var="title">생년월일</c:set>
<tr>
<th><label for="birthDay">${title}</label></th>
<td class="left" id="td_birth">
<%-- <form:select path="birthYear">
<form:options items="${birthDayYYYY}" itemValue="code" itemLabel="codeNm"/>
</form:select><spring:message code="comCopSmtSdm.regist.schdulYYYY"/> <!-- 시 --> --%>
<input type="hidden" name="birth" id="birth" value="" />
</td>
</tr>
</c:when>
<c:otherwise>
<form:hidden path="birth" /><form:hidden path="birthYear" /><form:hidden path="birthMonth" /><form:hidden path="birthDay" />
</c:otherwise>
</c:choose>
<!-- 전화번호 -->
<c:choose>
<c:when test="${not empty tel and tel.useYn == 'Y' }">
<c:set var="title">전화번호</c:set>
<tr>
<th><label for="areaNo">${title}</label> <span class="pilsu">*</span></th>
<td class="left">
<form:input path="areaNo" id="areaNo" title="전화번호" cssClass="txaIpUmt" size="5" maxlength="5" style="width:40px;"/>
- <form:input path="middleTelno" id="middleTelno" cssClass="txaIpUmt" size="5" maxlength="5" style="width:40px;"/>
- <form:input path="endTelno" id="endTelno" cssClass="txaIpUmt" size="5" maxlength="5" style="width:40px;"/>
<div><form:errors path="areaNo" cssClass="error" /></div>
<div><form:errors path="middleTelno" cssClass="error" /></div>
<div><form:errors path="endTelno" cssClass="error" /></div>
</td>
</tr>
</c:when>
<c:otherwise>
<form:hidden path="areaNo" /><form:hidden path="middleTelno" /><form:hidden path="endTelno" />
</c:otherwise>
</c:choose>
<!-- 헨드폰번호 -->
<c:choose>
<c:when test="${not empty moblphonNo and moblphonNo.useYn == 'Y' }">
<c:set var="title">헨드폰번호</c:set>
<tr>
<th><label for="moblphonNo">${title}</label> <span class="pilsu">*</span></th>
<td class="left">
<form:input path="moblphonNo1" id="moblphonNo1" title="${title} ${inputTxt}" cssClass="txaIpUmt" size="5" maxlength="5" style="width:40px;" />
- <form:input path="moblphonNo2" id="moblphonNo2" title="${title} ${inputTxt}" cssClass="txaIpUmt" size="5" maxlength="5" style="width:40px;" />
- <form:input path="moblphonNo3" id="moblphonNo3" title="${title} ${inputTxt}" cssClass="txaIpUmt" size="5" maxlength="5" style="width:40px;"/>
<div><form:errors path="moblphonNo1" cssClass="error" /></div>
<div><form:errors path="moblphonNo2" cssClass="error" /></div>
<div><form:errors path="moblphonNo3" cssClass="error" /></div>
<input type="hidden" name="moblphonNo" id="moblphonNo" value="" />
</td>
</tr>
</c:when>
<c:otherwise>
<form:hidden path="moblphonNo" /><form:hidden path="moblphonNo1" /><form:hidden path="moblphonNo2" /><form:hidden path="moblphonNo3" />
</c:otherwise>
</c:choose>
<!-- 이메일주소 -->
<c:choose>
<c:when test="${not empty mberEmailAdres and mberEmailAdres.useYn == 'Y' }">
<c:set var="title">이메일주소</c:set>
<tr>
<th><label for="mberEmailAdres">${title}</label> <span class="pilsu">*</span></th>
<td class="left">
<form:input path="email1" id="email1" title="${title} ${inputTxt}" cssClass="txaIpUmt" size="15" maxlength="50" style="width: 93px;"/>@
<form:input path="email2" id="email2" title="${title} ${inputTxt}" cssClass="txaIpUmt" size="20" maxlength="50" style="width: 93px;"/>
<select id="emailCodeList" name="emailCodeList" class="seltype1" title="이메일도메인주소선택" style="width:130px;" onChange="checkemailaddy();">
<option value="">직접입력</option>
<c:forEach var="item" items="${emailCodeList}">
<option value="${ item.code }">${ item.codeNm }</option>
</c:forEach>
</select>
<div><form:errors path="email1" cssClass="error" /></div>
<div><form:errors path="email2" cssClass="error" /></div>
<input type="hidden" id="mberEmailAdres" name="mberEmailAdres" value="" />
</td>
</tr>
</c:when>
<c:otherwise>
<form:hidden path="mberEmailAdres" /><form:hidden path="email1" /><form:hidden path="email2" />
</c:otherwise>
</c:choose>
<!-- 우편번호 -->
<c:choose>
<c:when test="${not empty zip and zip.useYn == 'Y' }">
<c:set var="title">우편번호</c:set>
<tr>
<th><label for="zip">${title}</label> <span class="pilsu">*</span></th>
<td class="left">
<form:input path="zip" id="zip" title="${title} ${inputTxt}" readonly="true" size="70" maxlength="6" style="width:60px;"/>
<a href="#LINK" onclick="execDaumPostcode(); return false;" title="우번번호검색">
<img src="/images/btn/icon_zip_search.gif" alt="">(우편번호 검색)
</a>
<div><form:errors path="zip" cssClass="error" /></div>
</td>
</tr>
</c:when>
<c:otherwise>
<form:hidden path="zip" />
</c:otherwise>
</c:choose>
<!-- 주소 -->
<c:choose>
<c:when test="${not empty adres and adres.useYn == 'Y' }">
<c:set var="title">주소</c:set>
<tr>
<th><label for="adres">${title}</label> <span class="pilsu">*</span></th>
<td class="left">
<form:input path="adres" id="adres" title="${title} ${inputTxt}" cssClass="txaIpUmt" size="70" maxlength="100" readonly="true" />
<div><form:errors path="adres" cssClass="error" /></div>
</td>
</tr>
</c:when>
<c:otherwise>
<form:hidden path="adres" />
</c:otherwise>
</c:choose>
<!-- 상세주소 -->
<c:choose>
<c:when test="${not empty detailAdres and detailAdres.useYn == 'Y' }">
<c:set var="title">상세주소</c:set>
<tr>
<th><label for="detailAdres">${title}</label></th>
<td class="left">
<form:input path="detailAdres" id="detailAdres" title="${title} ${inputTxt}" cssClass="txaIpUmt" size="70" maxlength="100" />
<div><form:errors path="detailAdres" cssClass="error" /></div>
</td>
</tr>
<span id="guide" style="color:#999"></span>
</c:when>
<c:otherwise>
<form:hidden path="detailAdres" />
</c:otherwise>
</c:choose>
<!-- 이메일수신여부 -->
<c:choose>
<c:when test="${not empty emailYN and emailYN.useYn == 'Y' }">
<c:set var="title">이메일수신여부</c:set>
<tr>
<th><label for="emailYN">${title}</label></th>
<td class="left">
<!-- <input type="checkbox" style="width:5%" name="emailYN" value="Y">이 메일을 받겠습니다. -->
<form:checkbox path="emailYN" style="width:5%" value="Y" />이 메일을 받겠습니다.
</td>
</tr>
</c:when>
<c:otherwise>
<form:hidden path="emailYN" />
</c:otherwise>
</c:choose>
<!-- SMS 수신여부 -->
<c:choose>
<c:when test="${not empty smsYN and smsYN.useYn == 'Y' }">
<c:set var="title">SMS 수신여부</c:set>
<tr>
<th><label for="smsYN">${title}</label></th>
<td class="left">
<!-- <input type="checkbox" style="width:5%" name="smsYN" value="Y"> 핸드폰 문자 메세지를 받겠습니다. -->
<form:checkbox path="smsYN" style="width:5%" value="Y" /> 핸드폰 문자 메세지를 받겠습니다.
</td>
</tr>
</c:when>
<c:otherwise>
<form:hidden path="smsYN" />
</c:otherwise>
</c:choose>
<!-- 회원권한 -->
<%-- <c:set var="title">회원권한</c:set>
<c:set var="inputSelect"><spring:message code="input.select"/></c:set>
<tr>
<th><label for="authorCode">${title}</label></th>
<td class="left">
<form:select path="authorCode" id="authorCode" title="${title} ${inputSelect}">
<form:option value="" label="${inputSelect}"/>
<form:options items="${authorManageList}" itemValue="authorCode" itemLabel="authorNm"/>
</form:select>
<form:hidden path="orignlAuthorCode" />
<div><form:errors path="authorCode" cssClass="error"/></div>
</td>
</tr> --%>
</tbody>
</table>
<!-- 하단 버튼 -->
<div class="buttons" style="margin-top: 12px;">
<a href="#LINK" onclick="JavaScript:fnUpdate(document.forms.mberManageVO); return false;;">저장</a>
<a href="#LINK" onClick="fnDeleteMber('<c:out value='${mberManageVO.userTy}'/>:<c:out value='${mberManageVO.uniqId}'/>'); return false;" title="삭제 버튼 ">삭제</a>
<a href="<c:url value='/uss/umt/mber/EgovMberList.do' />" title="리스트 버튼"> 리스트 버튼</a>
<a href="#LINK" onClick="fnPasswordMove(); return false;" title="비밀번호변경 버튼">비밀번호변경</a>
<%-- 기존 로그인인증제한 버튼 <button class="btn_s2" onClick="fnLockIncorrect(); return false;" title="<spring:message code="comUssUmt.common.lockAtBtn" /> <spring:message code="input.button" />"><spring:message code="comUssUmt.common.lockAtBtn" /></button> --%>
<a href="#LINK" onClick="document.mberManageVO.reset(); return false;" title="취소">취소</a>
</div></div>
</form:form>
</div>
<!-- //content 끝 -->
</body>
</html>