<!--#include virtual="/manager/common/file/top_ui.asp"-->
<!--#include file="config.asp"-->


<%

if is_write <> "Y" Then
	Call Back_back("쓰기권한이 없습니다.")
End If


' 파라미터정보 *************************************************************************************
m_num		= InputValue(request("m_num"))
'**************************************************************************************************



If m_num = "" then
	'등록

	b_l_sdate = getDateFm(now,4)
	b_l_edate = getDateFm(now,4)

	' 자동가입방지
	randomize
	autoimg_str	= Int((5 * Rnd) + 1)
	'$autoimg_str	= Int((5 * Rnd) + 1);
	'01.png = DF4PH3
	'02.png = HS42YP
	'03.png = S8VP3X
	'04.png = N4CW2U
	'05.png = 9SK6GR


	'$autoimg_str = "1";
	m_pwd_type = "password"
	reset_url = "write.asp"
	is_title_str = "신규 회원 생성"


else
	'수정


	'레코드필드
	R_Fields = "m_num, m_id, m_pwd, m_name, m_nickname, m_jumin, m_zipcode, m_addr1, m_addr2, m_phone1, m_phone2, m_phone3, m_email, m_mobile1, m_mobile2, m_mobile3, m_fax1, m_fax2, m_fax3, m_homepage, m_date, m_modymate, m_lastdate, m_chuchun, m_ip, m_level, m_autoimg_str, m_temp1, m_temp2, m_temp3, m_sex, m_birth, m_sms, m_mailing, m_marry, m_marrydate, m_job, m_text, m_secede_date, m_secede_reason"

	R_Fields = R_Fields & ", bdm_idx"

	R_tablename_str = "member"

	R_WHERE_str = " WHERE m_num=" & m_num

	Call SelectQuery(R_Fields, R_tablename_str, R_WHERE_str)


	disabled_opt = "disabled ='disabled'"
	m_pwd_type = "text"
	reset_url = "list.asp?" & page_info
	is_title_str = "회원 정보 수정"


	If IsNull(m_birth) Then m_birth = ""
	If IsNull(m_marrydate) Then m_marrydate = ""
	arr_birth = Split(m_birth,"-")
	arr_marrydate = Split(m_marrydate,"-")
	ReDim preserve arr_birth(2), arr_marrydate(2)

	m_birth_Y = arr_birth(0)
	m_birth_M = arr_birth(1)
	m_birth_D = arr_birth(2)

	m_marrydate_Y = arr_marrydate(0)
	m_marrydate_M = arr_marrydate(1)
	m_marrydate_D = arr_marrydate(2)

	m_jumin1 = left(m_jumin,6)
	m_jumin2 = right(m_jumin,7)

End if


'레코드필드
R_Fields = "mc_idx, mc_addr, mc_nickname, mc_phone, mc_mobile, mc_email, mc_homepage, mc_joinlevel, mc_wdate, mc_jumin, mc_mailing, mc_sms, mc_sex, mc_birth, mc_fax, mc_marry, mc_marrydate, mc_job, mc_text, mc_nickname_req, mc_jumin_req, mc_sex_req, mc_birth_req, mc_phone_req, mc_fax_req, mc_mobile_req, mc_email_req, mc_addr_req, mc_homepage_req, mc_marry_req, mc_marrydate_req, mc_job_req, mc_text_req"
R_tablename_str = "member_config"
R_WHERE_str = " WHERE mc_idx=1"
Call SelectQuery(R_Fields, R_tablename_str, R_WHERE_str)




'최상위부서 조회
sql = "select bdm_idx, bdm_menuname from bd_menu_page where bdm_chk = 'Y' and bdm_ref=0 order by bdm_code"
Set rs = dbcon.execute( sql )
If rs.bof Or rs.eof Then
	buseo_data1 = null
Else
	buseo_data1 = rs.getrows
End If
Set rs = Nothing
%>
<script type="text/javascript">
<!--
function w_chk(){



	if( CheckSpaces(document.getElementById('frm').m_name, '이름') ) { return ; }

	<%if mc_jumin = "Y" then	%>
		else if( Number(document.getElementById('frm').m_jumin1, '주민번호앞자리') ) { return ; }
		else if( Number(document.getElementById('frm').m_jumin2, '주민번호뒷자리') ) { return ; }
		else if(jumin_chk(document.getElementById('frm').m_jumin1,document.getElementById('frm').m_jumin2) ) { return ; }
	<%end if%>

	else if (CheckSpaces(document.getElementById('frm').m_id, 'ID')) { return ; }
	else if (alphaDigit(document.getElementById('frm').m_id, 'ID')) { return ; }
	else if (CheckLen(document.getElementById('frm').m_id, '4', '30')) { return ; }

	<%if m_num = "" then %> ////등록일대만 보임
	/*
	else if (document.getElementById('frm').m_id_chk.value = ""){

		alert("아이디 중복체크를 확인하세요");
		//document.getElementById('frm').agree_chk.focus();
		return false;

	}
	*/
	<%end if%>


	else if( CheckSpaces(document.getElementById('frm').m_pwd, '비밀번호') ) { return; }

	<%if m_num = "" then%> //등록일대만 보임
		else if( CheckSpaces(document.getElementById('frm').m_pwdchk, '비밀번호확인') ) { return ; }
		else if( CheckEqual(document.getElementById('frm').m_pwd,document.getElementById('frm').m_pwdchk,'비밀번호')) { return ; }
		else if( CheckSpaces(document.getElementById('frm').m_autoimg_str,'자동가입방지')) { return ; }
	<%end if%>

	else {
		loading_st(1);
		document.getElementById('frm').submit();
	}

}

function disabled_chk(){

	alert("수정모드일때는 변경할수 없습니다.");

}

var buseo_view_idx = "";
function buseo_select_view(value){

	var obj = document.getElementById("bdm_idx_"+value);
	obj.style.display = "inline";
	obj.disabled = false;

	if(buseo_view_idx != ""){
		var obj2 = document.getElementById("bdm_idx_"+buseo_view_idx);
		obj2.style.display = "none";
		obj2.disabled = true;
	}
	buseo_view_idx = value;

}

//-->
</script>


<!-- 내용영역 -->
<div id="contents">

	<div id="contents_head">
		<div id="contents_title">
			<img src="/manager/img/tit_ic03.gif" width="22" height="21" class="<%=skin%> center" alt="" /><h1><span><%=is_title_str%></span></h1>
		</div>
		<div id="location">
			<a href="/manager/">Home</a> &gt; <a href="/manager/content/03member/?sec=1">회원관리</a> &gt; <a href="write.asp" class="now"><%=is_title_str%></a>
		</div>
	</div>

	<!-- 내용들어가는곳 -->
	<div id="contents_area">


		<form id="frm" method="post" action="write_ok.asp?<%=page_info%>">

		<div>
			<input type="hidden" name="m_num" value="<%=m_num%>" /><!-- (수정일때사용) -->
			<input type="hidden" name="autoimg_str" value="<%=autoimg_str%>" />
			<input type="hidden" name="m_id_chk" value="" />
		</div>


		<h2 class="<%=skin%>" style="text-align:left;">회원 기본정보 <span><img src="/manager/img/ic_vcheck.gif" width="7" height="10" alt="*" /> 표시가 된 곳은 필수 항목입니다.</span></h2>
		<fieldset>
		<legend>회원 기본정보 서식 작성</legend>
		<table cellspacing="0" class="bbs_<%=skin%>" summary="신규 회원 기본정보를 위한 입력 양식입니다.">
		<caption>기능정보 서식</caption>
		<colgroup>
		<col width="140" />
		<col width="580" />
		</colgroup>
		<tr>
			<th scope="row"><label for="m_name"><img src="/manager/img/ic_vcheck.gif" width="7" height="10" alt="*" /> 이름</label></th>
			<td class="left"><input type="text" size="23" title="이름 입력" id="m_name" name="m_name" class="input_box" onfocus="focus_on1_<%=skin%>(this);" onblur="focus_off1(this);" value="<%=m_name%>" maxlength="30"  <%=disabled_opt %> /> <span class="text1">* 한글만 사용하실 수 있습니다. </span></td>
		</tr>

		<tr>
			<th scope="row"><label for="m_id"><img src="/manager/img/ic_vcheck.gif" width="7" height="10" alt="*" /> 아이디</label></th>
			<td class="left"><input type="text" size="23" title="아이디 입력" id="m_id" name="m_id" class="input_box" onfocus="focus_on1_<%=skin%>(this);" onblur="focus_off1(this);" value="<%=m_id%>" maxlength="30"  <%=disabled_opt %> /> <span class="text1">* 10자 이내의 영문/숫자만 사용하실 수 있습니다. </span></td>
		</tr>
		<tr>
			<th scope="row"><label for="m_pwd"><img src="/manager/img/ic_vcheck.gif" width="7" height="10" alt="*" /> 비밀번호</label></th>
			<td class="left"><input type="<%=m_pwd_type%>" size="23" title="비밀번호 입력" id="m_pwd" name="m_pwd" class="input_box" onfocus="focus_on1_<%=skin%>(this);" onblur="focus_off1(this);" value="<%=m_pwd%>" maxlength="30"  /></td>
		</tr>

		<%if m_num = "" then%><!--등록일대만 보임-->
		<tr>
			<th scope="row"><label for="m_pwd"><img src="/manager/img/ic_vcheck.gif" width="7" height="10" alt="*" /> 비밀번호확인</label></th>
			<td class="left"><input type="password" size="23" title="비밀번호 한번더 입력" id="m_pwdchk" name="m_pwdchk" class="input_box" onfocus="focus_on1_<%=skin%>(this);" onblur="focus_off1(this);" value="" maxlength="30"  /> <span class="text1">* 비밀번호를 한번 더 입력하세요.</span></td>
		</tr>
		<%end if%>


		<%if mc_nickname= "Y" then %>
		<tr>
			<th scope="row"><label for="m_nickname"><%if mc_nickname_req= "Y" then %><img src="/manager/img/ic_vcheck.gif" width="7" height="10" alt="*" /><%end if%> 닉네임</label></th>
			<td class="left"><input type="text" size="23" id="m_nickname" name="m_nickname" class="input_box" onfocus="focus_on1_<%=skin%>(this);" onblur="focus_off1(this);" value="<%=m_nickname%>" maxlength="15"  /><span class="text1">* 10자이내의 한글만 사용하실 수 있습니다.</span></td>
		</tr>
		<%end if%>

		<%if mc_jumin = "Y" then %>
		<tr>
			<th scope="row"><label for="m_jumin1"><%if mc_jumin_req= "Y" then %><img src="/manager/img/ic_vcheck.gif" width="7" height="10" alt="*" /><%end if%> 주민등록번호</label></th>
			<td class="left"><input type="text" size="9" title="주민등록번호 앞자리(6자리) 입력" id="m_jumin1" name="m_jumin1" class="input_box" onfocus="focus_on1_<%=skin%>(this);" onblur="focus_off1(this);" maxlength="6" value="<%=m_jumin1%>"  /> - <input type="text" size="9" title="주민등록번호 뒷자리(7자리) 입력" id="m_jumin2" name="m_jumin2" class="input_box" onfocus="focus_on1_<%=skin%>(this);" onblur="focus_off1(this);" maxlength="7" value="<%=m_jumin2%>"  /> <span class="text1">* 숫자만 사용하실 수 있습니다. </span></td>
		</tr>
		<%end if%>

		<tr>
			<th scope="row"><label for="m_level"><img src="/manager/img/ic_vcheck.gif" width="7" height="10" alt="*" /> 등급</label></th>
			<td class="left">
				<select id="m_level" name="m_level" title="회원가입시 등급 선택"  >


				<%
				'회원권한 부분
				
				R_Fields_mg = "g_num, g_menuname"
				sql2 = "Select " & R_Fields_mg & " from member_group where g_chk='Y' order by g_code "
				Set Rs2 = Dbcon.Execute (sql2)

				Do While Not Rs2.eof
				%>
				<option value="<%=Rs2("g_num")%>" <%if m_level = Rs2("g_num") Then response.write "selected='selected'" %>><%=Rs2("g_menuname")%></option>
				<%
					rs2.movenext
				loop
				%>

				</select>
			</td>
		</tr>

		<tr>
			<th scope="row"><label for="m_level"><img src="/manager/img/ic_vcheck.gif" width="7" height="10" alt="*" /> 부서</label></th>
			<td class="left">
				<select id="p_buseo" name="p_buseo" onchange="buseo_select_view(this.value);">
<%
If Not( isnull(buseo_data1) ) Then
	For i = 0 To ubound(buseo_data1, 2)
		p_bdm_idx		= buseo_data1(0, i)
		p_bdm_menuname	= buseo_data1(1, i)
%>
					<option value="<%=p_bdm_idx%>" <%=chkSelect(p_bdm_idx, get_bdm_idx2(bdm_idx))%>><%=p_bdm_menuname%></option>
<%
	next
End if
%>
				</select>
<%
If Not( isnull(buseo_data1) ) Then
	For i = 0 To ubound(buseo_data1, 2)
		p_bdm_idx		= buseo_data1(0, i)
		p_bdm_menuname	= buseo_data1(1, i)
%>
				<select id="bdm_idx_<%=p_bdm_idx%>" name="bdm_idx" disabled="disabled" style="display:none;">
<%
		sql = "select bdm_idx, bdm_menuname from bd_menu_page where bdm_ref = '" & p_bdm_idx & "' and bdm_chk = 'Y' order by bdm_code"
		Set rs = dbcon.execute( sql )
		If rs.bof Or rs.eof Then
			buseo_data2 = null
		Else
			buseo_data2 = rs.getrows
		End If
		Set rs = Nothing
		
		If Not( isnull( buseo_data2 ) ) Then
			For z = 0 To Ubound(buseo_data2, 2)
				c_bdm_idx		= buseo_data2(0, z)
				c_bdm_menuname	= buseo_data2(1, z)
%>
				<option value="<%=c_bdm_idx%>" <%=chkSelect(bdm_idx, c_bdm_idx)%>><%=c_bdm_menuname%></option>
<%
			next
		End if
%>

				</select>
<%
	next
End if
%>

				<script type="text/javascript">
				//<![CDATA[
					buseo_select_view(document.getElementById("p_buseo").value);
				//]]>
				</script>

			</td>
		</tr>

		<%if mc_sex= "Y" then %>
		<tr>
			<th scope="row"><%if mc_sex_req= "Y" then %><img src="/manager/img/ic_vcheck.gif" width="7" height="10" alt="*" /><%end if%> 성별</th>
			<td class="left">				
				<label for="m_sex_1">남</label>
				<input name="m_sex" id="m_sex_1" type="radio" value="1" <%if m_sex= "1" or m_sex= "" then %>checked="checked" <%end if%> />
				<label for="m_sex_2">여</label>
				<input name="m_sex" id="m_sex_2" type="radio" value="2" <%if m_sex= "2" then %>checked="checked" <%end if%> />
			</td>
		</tr>
		<%end if%>

		<%if mc_birth= "Y" then %>
		<tr>
			<th scope="row"><label for="m_birth_Y"><%if mc_birth_req= "Y" then %><img src="/manager/img/ic_vcheck.gif" width="7" height="10" alt="*" /><%end if%> 생년월일</label></th>
			<td class="left">				
				<input type="text" size="5" id="m_birth_Y" name="m_birth_Y" class="input_box" onfocus="focus_on1_<%=skin%>(this);" onblur="focus_off1(this);" value="<%=m_birth_Y%>" maxlength="4" /> 년 
				<input type="text" size="3" id="m_birth_M" name="m_birth_M" class="input_box" onfocus="focus_on1_<%=skin%>(this);" onblur="focus_off1(this);" value="<%=m_birth_M%>" maxlength="2" /> 월 
				<input type="text" size="3" id="m_birth_D" name="m_birth_D" class="input_box" onfocus="focus_on1_<%=skin%>(this);" onblur="focus_off1(this);" value="<%=m_birth_D%>" maxlength="2" /> 일
			</td>
		</tr>
		<%end if%>

		<%if mc_email= "Y" then %>
		<tr>
			<th scope="row"><label for="m_email"><%if mc_email_req= "Y" then %><img src="/manager/img/ic_vcheck.gif" width="7" height="10" alt="*" /><%end if%> 이메일</label></th>
			<td class="left">				
				<input type="text" size="26" id="m_email" name="m_email" class="input_box" onfocus="focus_on1_<%=skin%>(this);" onblur="focus_off1(this);" value="<%=m_email%>" maxlength="100" />
				<span class="text1"> * <strong>@</strong>포함한 이메일주소를 정확히 입력하세요.</span>
			</td>
		</tr>
		<%end if%>

		<%if mc_mailing= "Y" then %>
		<tr>
			<th scope="row"><img src="/manager/img/ic_vcheck.gif" width="7" height="10" alt="*" /> 메일링 서비스</th>
			<td class="left">				
				<label for="m_mailing_Y">신청합니다</label>
				<input name="m_mailing" id="m_mailing_Y" type="radio" value="Y" <%if m_mailing= "Y" or m_mailing= "" then %>checked="checked" <%end if%> />
				<label for="m_mailing_N">신청하지않습니다</label>
				<input name="m_mailing" id="m_mailing_N" type="radio" value="N" <%if m_mailing= "N" then %>checked="checked" <%end if%> />		
			</td>
		</tr>
		<%end if%>

		<%If mc_phone = "Y" then %>
		<tr>
			<th scope="row"><label for="m_phone1"><%if mc_phone_req= "Y" then %><img src="/manager/img/ic_vcheck.gif" width="7" height="10" alt="*" /><%end if%> 전화번호</label></th>
			<td class="left"><input type="text" size="4" title="연락처 첫번째 입력" id="m_phone1" name="m_phone1" class="input_box" onfocus="focus_on1_<%=skin%>(this);" onblur="focus_off1(this);" value="<%=m_phone1%>" maxlength="4"  /> - <input type="text" size="4" title="연락처 두번째 입력" id="m_phone2" name="m_phone2" class="input_box" onfocus="focus_on1_<%=skin%>(this);" onblur="focus_off1(this);" value="<%=m_phone2%>" maxlength="4"  /> - <input type="text" size="4" title="연락처 세번째 입력" id="m_phone3" name="m_phone3" class="input_box" onfocus="focus_on1_<%=skin%>(this);" onblur="focus_off1(this);" value="<%=m_phone3%>" maxlength="4"  /></td>
		</tr>
		<%end if%>

		<%If mc_mobile = "Y" then %>
		<tr>
			<th scope="row"><label for="m_mobile1"><%if mc_mobile_req= "Y" then %><img src="/manager/img/ic_vcheck.gif" width="7" height="10" alt="*" /><%end if%> 휴대폰</label></th>
			<td class="left"><input type="text" size="4" title="휴대폰 첫번째 입력" id="m_mobile1" name="m_mobile1" class="input_box" onfocus="focus_on1_<%=skin%>(this);" onblur="focus_off1(this);" value="<%=m_mobile1%>" maxlength="4"  /> - <input type="text" size="4" title="휴대폰 두번째 입력" id="m_mobile2" name="m_mobile2" class="input_box" onfocus="focus_on1_<%=skin%>(this);" onblur="focus_off1(this);" value="<%=m_mobile2%>" maxlength="4"  /> - <input type="text" size="4" title="휴대폰 세번째 입력" id="m_mobile3" name="m_mobile3" class="input_box" onfocus="focus_on1_<%=skin%>(this);" onblur="focus_off1(this);" value="<%=m_mobile3%>" maxlength="4"  /></td>
		</tr>
		<%end if%>

		<%if mc_sms= "Y" then %>
		<tr>
			<th scope="row"><img src="/manager/img/ic_vcheck.gif" width="7" height="10" alt="*" /> SMS 서비스</th>
			<td class="left">				
				<label for="m_sms_Y">신청합니다</label>
				<input name="m_sms" id="m_sms_Y" type="radio" value="Y" <%if m_sms= "Y" Or m_sms= "" then %>checked="checked" <%end if%>/>
				<label for="m_sms_N">신청하지않습니다</label>
				<input name="m_sms" id="m_sms_N" type="radio" value="N" <%if m_sms= "N" then%>checked="checked" <%end if%> />		
			</td>
		</tr>
		<%end if%>

		<%If mc_fax = "Y" then %>
		<tr>
			<th scope="row"><label for="m_fax1"><%if mc_fax_req= "Y" then %><img src="/manager/img/ic_vcheck.gif" width="7" height="10" alt="*" /><%end if%> 팩스번호</label></th>
			<td class="left"><input type="text" size="4" id="m_fax1" name="m_fax1" class="input_box" onfocus="focus_on1_<%=skin%>(this);" onblur="focus_off1(this);" value="<%=m_fax1%>" maxlength="4"  /> - <input type="text" size="4" id="m_fax2" name="m_fax2" class="input_box" onfocus="focus_on1_<%=skin%>(this);" onblur="focus_off1(this);" value="<%=m_fax2%>" maxlength="4"  /> - <input type="text" size="4" id="m_fax3" name="m_fax3" class="input_box" onfocus="focus_on1_<%=skin%>(this);" onblur="focus_off1(this);" value="<%=m_fax3%>" maxlength="4"  /></td>
		</tr>
		<%end if%>


		<%If mc_addr = "Y" then %>
		<tr>
			<th scope="row"><label for="m_zip1"><%if mc_addr_req= "Y" then %><img src="/manager/img/ic_vcheck.gif" width="7" height="10" alt="*" /><%end if%> 주소</label></th>
			<td class="left">

				<div id="Addr_search1">

					<input type="button" value="우편번호찾기" class="ct_bt01" onclick="document.getElementById('Addr_search1').style.display='none';document.getElementById('Addr_search2').style.display='block';document.getElementById('frm').ZC_SG.focus();" />

					<input type="text" size="4" title="우편번호 첫번째 3자리" id="m_zip1" name="m_zip1" class="input_box"  value="<%=left(m_zipcode,3)%>"  />
					-
					<input type="text" size="4" title="우편번호 두번째 3자리" id="m_zip2" name="m_zip2" class="input_box"  value="<%=right(m_zipcode,3)%>"  />

					<div class="pt3">
						<input type="text" size="26" title="주소" id="m_addr1" name="m_addr1" class="input_box" value="<%=m_addr1%>"  />
						<input type="text" size="60" title="상세주소" id="m_addr2" name="m_addr2" class="input_box" onfocus="focus_on1_<%=skin%>(this);" onblur="focus_off1(this);" value="<%=m_addr2%>" maxlength="100"  /><br />
					</div>

				</div>




				<!-- 우편번호 찾기 부분 -->
				<div id="Addr_search2" class="disnone" >
					<div class="post_write">
						<label for="ZC_SG">동이름</label> :
						<input type="text" id="ZC_SG" name="ZC_SG" size="10" class="input_box" onkeypress="if(event.keyCode==13){return false;}" value=""  />
						<input type="button" value=" 검색 " class="post_btn" onclick="wdSearch_Addr()"  />
						<input type="button" value=" 취소 " class="post_btn" onclick="document.getElementById('Addr_search1').style.display='block';document.getElementById('Addr_search2').style.display='none';"  /> 예)내당동, 수성구
					</div>
					<div class="post_search_wrap">
						<strong>↓ 기본 주소 </strong> - 동이름 검색 결과 목록입니다. 목록중 한개를 선택하세요.

						<!-- 우편번호 나열 -->
						<div id="Search_Form" class="post_search"></div>

					</div>
				</div>



				<script type="text/javascript">
				<!--
				function wdSearch_Addr(){

					if(!document.getElementById("frm").ZC_SG.value) {

						alert("검색어를 적어주세요");
						document.getElementById("frm").ZC_SG.focus();

					}
					else{
						//document.getElementById("Search_Form").innerHTML= " <table valign='top'><tr><td>찾는 중입니다!!!</td></tr><table> ";

						document.getElementById("frm_addr").ZC_SG.value = document.getElementById("frm").ZC_SG.value;

						document.getElementById("frm_addr").action = "/manager/content/01info/addr_search.asp";
						document.getElementById("frm_addr").target = "Search_Iframe";

						document.getElementById("Search_Form").innerHTML="<iframe name='Search_Iframe' width='100%' height='100%' frameborder='0'></iframe>";

						document.getElementById("frm_addr").submit();
					}
				}

				//-->
				</script>


			</td>
		</tr>
		<%end if%>

		<%if mc_marry= "Y" then %>
		<tr>
			<th scope="row"><img src="/manager/img/ic_vcheck.gif" width="7" height="10" alt="*" /> 결혼여부</th>
			<td class="left">
				<label for="m_marry_Y">예</label>
				<input name="m_marry" id="m_marry_Y" type="radio" value="Y" <%if m_marry= "Y" then %>checked="checked" <%end if%> />
				<label for="m_marry_N">아니오</label>
				<input name="m_marry" id="m_marry_N" type="radio" value="N" <%if m_marry= "N" or m_marry= "" then %>checked="checked" <%end if%> />			
			</td>
		</tr>
		<%end if%>


		<%if mc_marrydate= "Y" then %>
		<tr>
			<th scope="row"><label for="m_marrydate_Y"><%if mc_marrydate_req= "Y" then %><img src="/manager/img/ic_vcheck.gif" width="7" height="10" alt="*" /><%end if%> 결혼기념일</label></th>
			<td class="left">				
				<input type="text" size="5" id="m_marrydate_Y" name="m_marrydate_Y" class="input_box" onfocus="focus_on1_<%=skin%>(this);" onblur="focus_off1(this);" value="<%=m_marrydate_Y%>" maxlength="4" /> 년 
				<input type="text" size="3" id="m_marrydate_M" name="m_marrydate_M" class="input_box" onfocus="focus_on1_<%=skin%>(this);" onblur="focus_off1(this);" value="<%=m_marrydate_M%>" maxlength="2" /> 월 
				<input type="text" size="3" id="m_marrydate_D" name="m_marrydate_D" class="input_box" onfocus="focus_on1_<%=skin%>(this);" onblur="focus_off1(this);" value="<%=m_marrydate_D%>" maxlength="2" /> 일
			</td>
		</tr>
		<%end if%>


		<%if mc_homepage= "Y" then %>
		<tr>
			<th scope="row"><label for="m_homepage"><%if mc_homepage_req= "Y" then %><img src="/manager/img/ic_vcheck.gif" width="7" height="10" alt="*" /><%end if%> 홈페이지</label></th>
			<td class="left"><input type="text" size="50" id="m_homepage" name="m_homepage" class="input_box" onfocus="focus_on1_<%=skin%>(this);" onblur="focus_off1(this);" value="<%=m_homepage%>"  /></td>
		</tr>
		<%end if%>

		<%if mc_job= "Y" then %>
		<tr>
			<th scope="row"><label for="m_job"><%if mc_job_req= "Y" then %><img src="/manager/img/ic_vcheck.gif" width="7" height="10" alt="*" /><%end if%> 직업</label></th>
			<td class="left"><input type="text" size="23" id="m_job" name="m_job" class="input_box" onfocus="focus_on1_<%=skin%>(this);" onblur="focus_off1(this);" value="<%=m_job%>" /></td>
		</tr>
		<%end if%>

		<%if mc_text= "Y" then %>
		<tr>
			<th scope="row"><label for="m_job"><%if mc_text_req= "Y" then %><img src="/manager/img/ic_vcheck.gif" width="7" height="10" alt="*" /><%end if%> 남기는말씀</label></th>
			<td class="left"><textarea name="m_text" id="m_text" style="height: 70px; width: 90%;"><%=m_text%></textarea></td>
		</tr>
		<%end if%>

	
		<%If m_num = "" then%><!--등록일대만 보임-->
		<tr>
			<th scope="row"><label for="m_autoimg_str">자동가입방지</label></th>
			<td class="left"><img src="/manager/img/0<%=autoimg_str%>.png" width="156" height="62" alt="자동가입방지" class="img_center" /> &nbsp;<input type="text" size="20" title=" 자동가입방지 입력" id="m_autoimg_str" name="m_autoimg_str" class="input_box" onfocus="focus_on1_<%=skin%>(this);" onblur="focus_off1(this);" value="" maxlength="6"  /><span class="text1"> * 왼쪽에 보이는 숫자 및 문자를 모두 입력하세요.</span></td>
		</tr>
		<%end if%>
		</table>
		</fieldset>




		<div class="contoll_box">
			<div id="<%=skin%>_bt"><span class="button"><input type="button" value="등록" onclick="w_chk();"  /></span>  <span class="button"><input type="button" value="취소" onclick="dialog_close();"  /></span></div>
		</div>

		</form>

	</div>
	<!-- 내용들어가는곳 -->

</div>
<!-- //내용영역 -->


<form id= "frm_addr" method='post' action="">
<div>
	<input type="hidden" name="ZC_SG" />
</div>
</form>


<!--#include virtual="/manager/common/file/bottom_ui.asp"-->

