회원 가입 부분에 대해서 질문입니당.. 정보
그누보드 회원 가입 부분에 대해서 질문입니당..첨부파일
본문
화면 캡쳐를 하면 잘 보인다는 사실을 어제 알아서..^^;;
현재 회원 가입 부분을 하고 있는데요..그 부분을 그누하고는 완전히 다르거든요...
그래서 그런지..회원 가입을 하게 되면 '등록된 주민번호이거나/등록된 E-mail이란 오류 메시지가 뜨면서 초기화가 되어버리네요..
어찌된 일인지...
아래꺼가 소스구요..
================================================================================================================
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
<style type="text/css">
<!--
.1 {
font-family: "굴림체";
font-size: 12px;
line-height: 13pt;
color: #999999;
}
.2 {
font-family: "굴림체";
font-size: 12px;
line-height: 13pt;
color: #336666;
}
.3 {
border-top-width: 1px;
border-right-width: 1px;
border-bottom-width: 1px;
border-left-width: 1px;
border-top-style: solid;
border-bottom-style: solid;
border-top-color: #D8D8D8;
border-right-color: #D8D8D8;
border-bottom-color: #D8D8D8;
border-left-color: #D8D8D8;
}
-->
</style>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
<!-- onsubmit='return formcheck(this)' -->
<table width="600" height="862" border="0" cellpadding="0" cellspacing="0">
<form name=fmbform method=post action='<?="./?doc=$cfg[bbs_dir]/mbupdate.php"?>' enctype='multipart/form-data' autocomplete=off>
<input type=hidden name=bo_table value='<?=$bo_table?>'>
<input type=hidden name=w value='<?=$w?>'>
<input type=hidden name=url value='<?=$urlencode?>'>
<tr align="left" valign="top">
<td width="42" height="38"><img src="./img2/top_01.jpg" width="41" height="38"></td>
<td width="113" height="38"><img src="./img2/top_02.jpg" width="113" height="38"></td>
<td width="183" height="38"><img src="./img2/top_03.jpg" width="183" height="38"></td>
<td width="131" height="38"><img src="./img2/top_04.jpg" width="131" height="38"></td>
<td width="60" height="38"><img src="./img2/top_05.jpg" width="60" height="38"></td>
<td width="73" height="38"><img src="./img2/top_06.jpg" width="73" height="38"></td>
</tr>
<tr>
<td height="12" colspan="5" align="left" valign="top" background="./img2/top_bg.jpg"><img src="./img2/top_bg.jpg" width="8" height="12"></td>
<td width="73" height="12" align="left" valign="top"><img src="./img2/top_07.jpg" width="73" height="12"></td>
</tr>
<tr>
<td height="62" colspan="5" align="center" valign="middle">
<table width="516" height="62" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="21" align="center"><img src="./img2/icon_01.jpg" width="10" height="9"></td>
<td width="495" class="1">
<font color="#666666">Orange Day 회원 등록은 무료로 이루어 집니다.</font>
</td>
</tr>
<tr>
<td height="41" align="center"><img src="./img2/icon_01.jpg" width="10" height="9"></td>
<td class="1">
<font color="#666666">Orange Day 회원 등록시 작성하신 회원님의 정보는
행사 참여시 보험가입에 이용되므로<br> 정확한 정보를 입력하여 주시기 바랍니다.</font></td>
</tr>
</table>
</td>
<td width="73" height="62"><img src="./img2/top_08.jpg" width="73" height="62"></td>
</tr>
<tr align="center" valign="middle">
<td height="750" colspan="6" class="1">
<table width="600" height="708" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="588" height="708" align="center"> <br>
<table width="595" height="58" border="0" cellpadding="0" cellspacing="0" bgcolor="#F9FAF1" class="3">
<tr bgcolor="#FAFBF2">
<td width="35" height="28" align="center" valign="middle"><font color="#336666"> <img src="./img2/icon_02.jpg" width="16" height="16"></font></td>
<td width="513" class="2"><font color="#336666">는 필수 입력사항 입니다. </font></td>
</tr>
<tr bgcolor="#FAFBF2">
<td height="28"><font color="#336666"> </font></td>
<td class="2">
<font color="#336666">선택 입력사항의 정보는 회원님의 레져 이용시
더 풍부한 서비스를 제공하기위한 정보입니다.</font>
</td>
</tr>
</table>
<br>
<table width="595" border="0" cellpadding="0" cellspacing="0">
<? if ($w == '') { ?>
<tr height=180 class='content contentbg'>
<td colspan=2 align=center>
<textarea rows=10 style='width:99%;' class=textarea readonly><?=$de_member_provision?></textarea>
<input type='checkbox' name='agree' value='1'> 위의 회원가입약관에 동의합니다.
</td>
</tr>
<tr><td colspan=2 height=1 background='<?="$member_skin/line.gif"?>'></td></tr>
<? } ?>
</table>
<table width="595" border="1" cellpadding="0" cellspacing="0" bordercolor="#EDC787">
<tr>
<td width="651" height="47" align="center">
<table width="595" border="0" cellspacing="2" cellpadding="0">
<tr>
<td width="25" align="center" valign="bottom">
<font color="#336666"><img src="./img2/icon_02.jpg" width="16" height="16"></font>
</td>
<td width="166" align="center" valign="middle" bgcolor="#EDEDDA" class="1">
<font color="#666666">실 명
</font>
</td>
<!-- name field -->
<td width="220" class="program">
<input type=text class=1 name='mb_name' size=20 maxlength=20 minlength=2 itemname='이름' value='<?=$mb_name?>'>
</td>
<td width="174" class="program"> </td>
</tr>
<tr>
<td width="25" height="18" align="center" valign="bottom">
<font color="#336666"><img src="./img2/icon_02.jpg" width="16" height="16"></font>
</td>
<td width="166" align="center" valign="middle" bgcolor="#EDEDDA" class="1">
<font color="#666666">주민등록번호</font>
</td>
<td class="program">
<input type=text class=1 name='mb_jumin1' size=7 maxlength=6 minlength=6 itemname='주민등록번호 앞자리' onkeyup='if (this.value.length >= 6) this.form.mb_jumin2.focus();'>
-
<input type=password class=1 name='mb_jumin2' size=8 maxlength=7 minlength=7 itemname='주민등록번호 뒷자리'>
<font color="#999999">* 암호화 저장</font>
</td>
<td class="program"> </td>
</tr>
</table>
</td>
</tr>
</table>
<br>
<table width="595" border="1" cellpadding="0" cellspacing="0" bordercolor="#EDC787">
<tr>
<td width="545" height="93" align="center">
<table width="595" border="0" cellspacing="2" cellpadding="0">
<tr class="program">
<td width="25" align="center" valign="middle">
<font color="#336666"><img src="./img2/icon_02.jpg" width="16" height="16"></font>
</td>
<td width="90" align="center" valign="middle" bgcolor="#EDEDDA" class="1">
<font color="#666666">ID (아이디)</font>
</td>
<td width="144">
<input type=text class="1" name='mb_id' size=20 value='<?=$mb_id?>' maxlength=20 minlength=3 itemname='아이디' <?= ($w == '') ?>>
</td>
<td width="70">
<? if ($w == '') { ?>
<input type=image name=btnsubmit src="./img2/jb_01.jpg" onMouseOver=this.src="./img2/jb_02.jpg" onMouseOut=this.src="./img2/jb_01.jpg" class=button onclick='mb_id_check()'>
<? } ?>
</td>
<td width="232">
<font color="#336666">*</font>
<font color="#996666"><span class="2">주의
: 아이디는 변경이 불가능합니다</span>.</font></td>
</tr>
<tr class="program">
<td width="25" rowspan="2" align="center" valign="middle">
<font color="#336666"><img src="./img2/icon_02.jpg" width="16" height="16"></font>
</td>
<td width="90" rowspan="2" align="center" valign="middle" bgcolor="#EDEDDA" class="1">
<font color="#666666">비 밀 번 호</font>
</td>
<td>
<input type=password class=1 name='mb_passwd' size=20 maxlength=20 itemname='비밀번호' <?=$mb_passwd_required?>>
</td>
<td colspan="2" class="1">
<font color="#999999">* 영문 + 숫자 4 ~ 12자 까지 사용</font>
</td>
</tr>
<tr class="program">
<td>
<input type=password class=1 name='mb_passwd_re' size=20 maxlength=20 itemname='비밀번호 확인' <?=$mb_passwd_required?>>
</td>
<td colspan="2" class="1"><font color="#999999">* 다시한번 입력해 주세요</font></td>
</tr>
</table>
</td>
</tr>
</table>
<br>
<table width="595" border="1" cellpadding="0" cellspacing="0" bordercolor="#EDC787">
<tr>
<td align="center">
<table width="595" border="0" cellpadding="0" cellspacing="2" bordercolor="#938266">
<tr class="program">
<td width="25" align="center">
<font color="#336666"><img src="./img2/icon_02.jpg" width="16" height="16"></font>
</td>
<? if ($is_addr) { ?>
<td width="101" align="center" bgcolor="#EDEDDA" class="1">
<font color="#666666">주 소 지</font>
</td>
<td width="406">
<table width="316" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="155">
<input type=text class=1 name='mb_zip1' size=4 maxlength=3 readonly itemname='우편번호 앞자리' value='<?=$mb_zip1?>'>
-
<input type=text class=1 name='mb_zip2' size=4 maxlength=3 readonly itemname='우편번호 뒷자리' value='<?=$mb_zip2?>'>
</td>
<td width="161">
<input type=image class=button class='button' src="./img2/join_add_01.jpg" onMouseOver=this.src="./img2/join_add_02.jpg" onMouseOut=this.src="./img2/join_add_01.jpg" onclick="popup_zip('fmbform', 'mb_zip1', 'mb_zip2', 'mb_addr1', 'mb_addr2', '<?="./$cfg[bbs_dir]"?>', 100, 200);">
</td>
</tr>
<tr>
<td colspan="2">
<input type=text class=1 name='mb_addr1' readonly style='width:70 %' value='<?=$mb_addr1?>'><br>
<input type=text class=1 name='mb_addr2' size=35 itemname='상세주소' value='<?=$mb_addr2?>'>
<font color="#999999"> 상세주소 입력 </font>
</td>
</tr>
<? } ?>
</table>
</td>
<td width="22"> </td>
</tr>
<tr class="program">
<td width="25" align="center">
<font color="#336666"><img src="./img2/icon_02.jpg" width="16" height="16"></font>
</td>
<? if ($is_hp) { ?>
<td width="101" align="center" bgcolor="#EDEDDA" class="1">
<font color="#666666">핸드폰/전화번호</font>
</td>
<td>
<input type=text class=1 name='mb_hp' size=21 maxlength=20 itemname='핸드폰번호' value='<?=$mb_hp?>'>
</td>
<td> </td>
<? } ?>
</tr>
<tr class="program">
<td width="25" height="18" align="center">
<font color="#336666"><img src="./img2/icon_02.jpg" width="16" height="16"></font>
</td>
<? if ($is_email) { ?>
<td width="101" align="center" bgcolor="#EDEDDA" class="1">
<font color="#666666">e - mail</font>
</td>
<td>
<input type=text class=1 name='mb_email' size=30 maxlength=100 email itemname='E-MAIL' value='<?=$mb_email?>'>
<!--
<span class="1">수신유무
<input type='radio' name='mail_check' value='Y' checked>
예 </span>
<input type='radio' name='mail_check' value='N'>
<span class="1">아니오</span> -->
</td>
<td> </td>
<? } ?>
</tr>
</table>
</td>
</tr>
</table>
<br>
<table width="120" height="17" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="26"><img src="./img2/icon_03.jpg" width="21" height="22"></td>
<td width="94" height="30" class="1"><font color="#336699"><strong>선택 입력사항</strong></font></td>
</tr>
</table>
<br>
<table width="595" border="1" cellpadding="0" cellspacing="0" bordercolor="#D6E3C6">
<tr>
<td width="577" height="17" align="center">
<table width="595" border="0" cellspacing="2" cellpadding="0">
<tr class="program">
<td width="25"> </td>
<td width="150" align="center" bgcolor="#E9E9EF" class="1"><font color="#000000">생 년 월 일</font></td>
<td>
<input type=text class=1 name=mb_birth size=9 maxlength=8 value='<?=$mb_birth?>'>
<font color="#999999"> 예) 1972년 9월 1일인 경우 19720901 </font>
</td>
</tr>
<? if ($is_job) { ?>
<tr class="program">
<td width="25"> </td>
<td width="150" align="center" bgcolor="#E9E9EF" class="1"><font color="#000000">직 업</font></td>
<td>
<table width="408" height="18" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="125">
<select name="mb_job" size="1">
<option>선택해주세요</option>
<option value="official">공무원</option>
<option value="business">회사원</option>
<option value="business">자영업</option>
<option value="specialist">전문직</option>
<option value="service">서비스업</option>
<option value="student">학생</option>
<option value="lier">법조인</option>
<option value="medical">의료인</option>
<option value="speech">언론인</option>
<option value="artist">예술인</option>
<option value="government">정치인</option>
<option value="faming">농 업</option>
<option value="animals">축산업</option>
<option value="finish">수산업</option>
<option value="housewife">주 부</option>
<option value="etc">기 타</option>
</select>
</td>
</tr>
</table>
</td>
</tr>
<? } ?>
<tr class="program">
<td width="25"> </td>
<td width="150" align="center" bgcolor="#E9E9EF" class="1">
<font color="#000000">성 별</font></td>
<td>
<table width="142" border="0" cellspacing="0" cellpadding="0">
<? if ($is_sex) { ?>
<tr class="program">
<td>
<SELECT NAME="person">
<option selected>선택하세요</option>
<option value='F'>여자</option>
<option value='M'>남자</option>
</SELECT>
</td>
</tr>
<? } ?>
</table>
</td>
</tr>
<? if ($is_ha) { ?>
<tr class="program">
<td width="25"> </td>
<td width="150" align="center" bgcolor="#E9E9EF" class="1"><font color="#000000">레져우선순위</font></td>
<td>
<table width="406" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="113">
<select name="leisure" size="1">
<option>선택하세요</option>
<option value="leports">레포츠즐기기</option>
<option value="movie">영화 보기</option>
<option value="house">시체 놀이</option>
<option value="travel">여 행</option>
<option value="drive">드라이브</option>
<option value="eating">외 식</option>
<option value="meeting">미 팅</option>
<option value="gathering">동호회활동</option>
<option value="shopping">쇼 핑</option>
<option value="attend">봉사활동</option>
<option value="etc">기 타</option>
</select>
</td>
<td class="1">
<font color="#999999">*회원님의 여가활동 경향을 알려주세요</font>
</td>
</tr>
</table>
</td>
</tr>
<? } ?>
</table>
</td>
</tr>
</table>
<br>
<table width="342" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="153" align="center">
<input type=image src="./img2/join_K01.jpg" onMouseOver=this.src="./img2/join_k02.jpg" onMouseOut=this.src="./img2/join_K01.jpg" width="150" height="30" border="0">
</td>
<td width="150" align="center"><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('유료회원전환','','./img2/join_Y02.jpg',1)"><img src="./img2/join_Y01.jpg" name="유료회원전환" width="150" height="30" border="0"></a></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</form>
</table>
<script language='Javascript'>
if (document.fmbform.w.value == "") {
document.fmbform.mb_id.focus();
} else if (document.fmbform.w.value == "u") {
document.fmbform.mb_passwd.focus();
}
// submit 최종 폼체크
function formcheck(f)
{
if (f.w.value == '' && !f.agree.checked) {
alert("회원가입약관에 동의하셔야 가입하실 수 있습니다.");
f.agree.focus();
return false;
}
if (f.mb_passwd.value != f.mb_passwd_re.value) {
alert("비밀번호가 같지 않습니다.");
f.mb_passwd.focus();
return false;
} else if (typeof(f.mb_jumin1) != 'undefined') {
var is_jumin = jumin_check(f.mb_jumin1, f.mb_jumin2);
if (!is_jumin) {
alert("주민등록번호가 올바르지 않습니다.");
f.mb_jumin1.focus();
return false;
}
}
if (typeof(f.mb_sex) != 'undefined') {
if (f.mb_sex.value == '') {
alert('성별을 선택하세요.');
f.mb_sex.focus();
return false;
}
}
if (typeof(f.mb_married) != 'undefined') {
if (f.mb_married.value == '') {
alert('결혼여부를 선택하세요.');
f.mb_married.focus();
return false;
}
}
return true;
}
// 회원아이디 검사
function mb_id_check()
{
if (document.fmbform.mb_id.value == "") {
alert('회원 아이디를 입력하세요.');
document.fmbform.mb_id.focus();
return false;
}
window.open('<?="./?doc=$cfg[bbs_dir]/mbidcheck.php&mb_id="?>'+document.fmbform.mb_id.value, 'mbidcheck', 'left=0,top=10000,width=1,height=1');
}
</script>
================================================================================================================
다음 파일로 첨부하는게 그림이랍니다..
고수분들 함 봐주세요...
현재 회원 가입 부분을 하고 있는데요..그 부분을 그누하고는 완전히 다르거든요...
그래서 그런지..회원 가입을 하게 되면 '등록된 주민번호이거나/등록된 E-mail이란 오류 메시지가 뜨면서 초기화가 되어버리네요..
어찌된 일인지...
아래꺼가 소스구요..
================================================================================================================
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
<style type="text/css">
<!--
.1 {
font-family: "굴림체";
font-size: 12px;
line-height: 13pt;
color: #999999;
}
.2 {
font-family: "굴림체";
font-size: 12px;
line-height: 13pt;
color: #336666;
}
.3 {
border-top-width: 1px;
border-right-width: 1px;
border-bottom-width: 1px;
border-left-width: 1px;
border-top-style: solid;
border-bottom-style: solid;
border-top-color: #D8D8D8;
border-right-color: #D8D8D8;
border-bottom-color: #D8D8D8;
border-left-color: #D8D8D8;
}
-->
</style>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
<!-- onsubmit='return formcheck(this)' -->
<table width="600" height="862" border="0" cellpadding="0" cellspacing="0">
<form name=fmbform method=post action='<?="./?doc=$cfg[bbs_dir]/mbupdate.php"?>' enctype='multipart/form-data' autocomplete=off>
<input type=hidden name=bo_table value='<?=$bo_table?>'>
<input type=hidden name=w value='<?=$w?>'>
<input type=hidden name=url value='<?=$urlencode?>'>
<tr align="left" valign="top">
<td width="42" height="38"><img src="./img2/top_01.jpg" width="41" height="38"></td>
<td width="113" height="38"><img src="./img2/top_02.jpg" width="113" height="38"></td>
<td width="183" height="38"><img src="./img2/top_03.jpg" width="183" height="38"></td>
<td width="131" height="38"><img src="./img2/top_04.jpg" width="131" height="38"></td>
<td width="60" height="38"><img src="./img2/top_05.jpg" width="60" height="38"></td>
<td width="73" height="38"><img src="./img2/top_06.jpg" width="73" height="38"></td>
</tr>
<tr>
<td height="12" colspan="5" align="left" valign="top" background="./img2/top_bg.jpg"><img src="./img2/top_bg.jpg" width="8" height="12"></td>
<td width="73" height="12" align="left" valign="top"><img src="./img2/top_07.jpg" width="73" height="12"></td>
</tr>
<tr>
<td height="62" colspan="5" align="center" valign="middle">
<table width="516" height="62" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="21" align="center"><img src="./img2/icon_01.jpg" width="10" height="9"></td>
<td width="495" class="1">
<font color="#666666">Orange Day 회원 등록은 무료로 이루어 집니다.</font>
</td>
</tr>
<tr>
<td height="41" align="center"><img src="./img2/icon_01.jpg" width="10" height="9"></td>
<td class="1">
<font color="#666666">Orange Day 회원 등록시 작성하신 회원님의 정보는
행사 참여시 보험가입에 이용되므로<br> 정확한 정보를 입력하여 주시기 바랍니다.</font></td>
</tr>
</table>
</td>
<td width="73" height="62"><img src="./img2/top_08.jpg" width="73" height="62"></td>
</tr>
<tr align="center" valign="middle">
<td height="750" colspan="6" class="1">
<table width="600" height="708" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="588" height="708" align="center"> <br>
<table width="595" height="58" border="0" cellpadding="0" cellspacing="0" bgcolor="#F9FAF1" class="3">
<tr bgcolor="#FAFBF2">
<td width="35" height="28" align="center" valign="middle"><font color="#336666"> <img src="./img2/icon_02.jpg" width="16" height="16"></font></td>
<td width="513" class="2"><font color="#336666">는 필수 입력사항 입니다. </font></td>
</tr>
<tr bgcolor="#FAFBF2">
<td height="28"><font color="#336666"> </font></td>
<td class="2">
<font color="#336666">선택 입력사항의 정보는 회원님의 레져 이용시
더 풍부한 서비스를 제공하기위한 정보입니다.</font>
</td>
</tr>
</table>
<br>
<table width="595" border="0" cellpadding="0" cellspacing="0">
<? if ($w == '') { ?>
<tr height=180 class='content contentbg'>
<td colspan=2 align=center>
<textarea rows=10 style='width:99%;' class=textarea readonly><?=$de_member_provision?></textarea>
<input type='checkbox' name='agree' value='1'> 위의 회원가입약관에 동의합니다.
</td>
</tr>
<tr><td colspan=2 height=1 background='<?="$member_skin/line.gif"?>'></td></tr>
<? } ?>
</table>
<table width="595" border="1" cellpadding="0" cellspacing="0" bordercolor="#EDC787">
<tr>
<td width="651" height="47" align="center">
<table width="595" border="0" cellspacing="2" cellpadding="0">
<tr>
<td width="25" align="center" valign="bottom">
<font color="#336666"><img src="./img2/icon_02.jpg" width="16" height="16"></font>
</td>
<td width="166" align="center" valign="middle" bgcolor="#EDEDDA" class="1">
<font color="#666666">실 명
</font>
</td>
<!-- name field -->
<td width="220" class="program">
<input type=text class=1 name='mb_name' size=20 maxlength=20 minlength=2 itemname='이름' value='<?=$mb_name?>'>
</td>
<td width="174" class="program"> </td>
</tr>
<tr>
<td width="25" height="18" align="center" valign="bottom">
<font color="#336666"><img src="./img2/icon_02.jpg" width="16" height="16"></font>
</td>
<td width="166" align="center" valign="middle" bgcolor="#EDEDDA" class="1">
<font color="#666666">주민등록번호</font>
</td>
<td class="program">
<input type=text class=1 name='mb_jumin1' size=7 maxlength=6 minlength=6 itemname='주민등록번호 앞자리' onkeyup='if (this.value.length >= 6) this.form.mb_jumin2.focus();'>
-
<input type=password class=1 name='mb_jumin2' size=8 maxlength=7 minlength=7 itemname='주민등록번호 뒷자리'>
<font color="#999999">* 암호화 저장</font>
</td>
<td class="program"> </td>
</tr>
</table>
</td>
</tr>
</table>
<br>
<table width="595" border="1" cellpadding="0" cellspacing="0" bordercolor="#EDC787">
<tr>
<td width="545" height="93" align="center">
<table width="595" border="0" cellspacing="2" cellpadding="0">
<tr class="program">
<td width="25" align="center" valign="middle">
<font color="#336666"><img src="./img2/icon_02.jpg" width="16" height="16"></font>
</td>
<td width="90" align="center" valign="middle" bgcolor="#EDEDDA" class="1">
<font color="#666666">ID (아이디)</font>
</td>
<td width="144">
<input type=text class="1" name='mb_id' size=20 value='<?=$mb_id?>' maxlength=20 minlength=3 itemname='아이디' <?= ($w == '') ?>>
</td>
<td width="70">
<? if ($w == '') { ?>
<input type=image name=btnsubmit src="./img2/jb_01.jpg" onMouseOver=this.src="./img2/jb_02.jpg" onMouseOut=this.src="./img2/jb_01.jpg" class=button onclick='mb_id_check()'>
<? } ?>
</td>
<td width="232">
<font color="#336666">*</font>
<font color="#996666"><span class="2">주의
: 아이디는 변경이 불가능합니다</span>.</font></td>
</tr>
<tr class="program">
<td width="25" rowspan="2" align="center" valign="middle">
<font color="#336666"><img src="./img2/icon_02.jpg" width="16" height="16"></font>
</td>
<td width="90" rowspan="2" align="center" valign="middle" bgcolor="#EDEDDA" class="1">
<font color="#666666">비 밀 번 호</font>
</td>
<td>
<input type=password class=1 name='mb_passwd' size=20 maxlength=20 itemname='비밀번호' <?=$mb_passwd_required?>>
</td>
<td colspan="2" class="1">
<font color="#999999">* 영문 + 숫자 4 ~ 12자 까지 사용</font>
</td>
</tr>
<tr class="program">
<td>
<input type=password class=1 name='mb_passwd_re' size=20 maxlength=20 itemname='비밀번호 확인' <?=$mb_passwd_required?>>
</td>
<td colspan="2" class="1"><font color="#999999">* 다시한번 입력해 주세요</font></td>
</tr>
</table>
</td>
</tr>
</table>
<br>
<table width="595" border="1" cellpadding="0" cellspacing="0" bordercolor="#EDC787">
<tr>
<td align="center">
<table width="595" border="0" cellpadding="0" cellspacing="2" bordercolor="#938266">
<tr class="program">
<td width="25" align="center">
<font color="#336666"><img src="./img2/icon_02.jpg" width="16" height="16"></font>
</td>
<? if ($is_addr) { ?>
<td width="101" align="center" bgcolor="#EDEDDA" class="1">
<font color="#666666">주 소 지</font>
</td>
<td width="406">
<table width="316" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="155">
<input type=text class=1 name='mb_zip1' size=4 maxlength=3 readonly itemname='우편번호 앞자리' value='<?=$mb_zip1?>'>
-
<input type=text class=1 name='mb_zip2' size=4 maxlength=3 readonly itemname='우편번호 뒷자리' value='<?=$mb_zip2?>'>
</td>
<td width="161">
<input type=image class=button class='button' src="./img2/join_add_01.jpg" onMouseOver=this.src="./img2/join_add_02.jpg" onMouseOut=this.src="./img2/join_add_01.jpg" onclick="popup_zip('fmbform', 'mb_zip1', 'mb_zip2', 'mb_addr1', 'mb_addr2', '<?="./$cfg[bbs_dir]"?>', 100, 200);">
</td>
</tr>
<tr>
<td colspan="2">
<input type=text class=1 name='mb_addr1' readonly style='width:70 %' value='<?=$mb_addr1?>'><br>
<input type=text class=1 name='mb_addr2' size=35 itemname='상세주소' value='<?=$mb_addr2?>'>
<font color="#999999"> 상세주소 입력 </font>
</td>
</tr>
<? } ?>
</table>
</td>
<td width="22"> </td>
</tr>
<tr class="program">
<td width="25" align="center">
<font color="#336666"><img src="./img2/icon_02.jpg" width="16" height="16"></font>
</td>
<? if ($is_hp) { ?>
<td width="101" align="center" bgcolor="#EDEDDA" class="1">
<font color="#666666">핸드폰/전화번호</font>
</td>
<td>
<input type=text class=1 name='mb_hp' size=21 maxlength=20 itemname='핸드폰번호' value='<?=$mb_hp?>'>
</td>
<td> </td>
<? } ?>
</tr>
<tr class="program">
<td width="25" height="18" align="center">
<font color="#336666"><img src="./img2/icon_02.jpg" width="16" height="16"></font>
</td>
<? if ($is_email) { ?>
<td width="101" align="center" bgcolor="#EDEDDA" class="1">
<font color="#666666">e - mail</font>
</td>
<td>
<input type=text class=1 name='mb_email' size=30 maxlength=100 email itemname='E-MAIL' value='<?=$mb_email?>'>
<!--
<span class="1">수신유무
<input type='radio' name='mail_check' value='Y' checked>
예 </span>
<input type='radio' name='mail_check' value='N'>
<span class="1">아니오</span> -->
</td>
<td> </td>
<? } ?>
</tr>
</table>
</td>
</tr>
</table>
<br>
<table width="120" height="17" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="26"><img src="./img2/icon_03.jpg" width="21" height="22"></td>
<td width="94" height="30" class="1"><font color="#336699"><strong>선택 입력사항</strong></font></td>
</tr>
</table>
<br>
<table width="595" border="1" cellpadding="0" cellspacing="0" bordercolor="#D6E3C6">
<tr>
<td width="577" height="17" align="center">
<table width="595" border="0" cellspacing="2" cellpadding="0">
<tr class="program">
<td width="25"> </td>
<td width="150" align="center" bgcolor="#E9E9EF" class="1"><font color="#000000">생 년 월 일</font></td>
<td>
<input type=text class=1 name=mb_birth size=9 maxlength=8 value='<?=$mb_birth?>'>
<font color="#999999"> 예) 1972년 9월 1일인 경우 19720901 </font>
</td>
</tr>
<? if ($is_job) { ?>
<tr class="program">
<td width="25"> </td>
<td width="150" align="center" bgcolor="#E9E9EF" class="1"><font color="#000000">직 업</font></td>
<td>
<table width="408" height="18" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="125">
<select name="mb_job" size="1">
<option>선택해주세요</option>
<option value="official">공무원</option>
<option value="business">회사원</option>
<option value="business">자영업</option>
<option value="specialist">전문직</option>
<option value="service">서비스업</option>
<option value="student">학생</option>
<option value="lier">법조인</option>
<option value="medical">의료인</option>
<option value="speech">언론인</option>
<option value="artist">예술인</option>
<option value="government">정치인</option>
<option value="faming">농 업</option>
<option value="animals">축산업</option>
<option value="finish">수산업</option>
<option value="housewife">주 부</option>
<option value="etc">기 타</option>
</select>
</td>
</tr>
</table>
</td>
</tr>
<? } ?>
<tr class="program">
<td width="25"> </td>
<td width="150" align="center" bgcolor="#E9E9EF" class="1">
<font color="#000000">성 별</font></td>
<td>
<table width="142" border="0" cellspacing="0" cellpadding="0">
<? if ($is_sex) { ?>
<tr class="program">
<td>
<SELECT NAME="person">
<option selected>선택하세요</option>
<option value='F'>여자</option>
<option value='M'>남자</option>
</SELECT>
</td>
</tr>
<? } ?>
</table>
</td>
</tr>
<? if ($is_ha) { ?>
<tr class="program">
<td width="25"> </td>
<td width="150" align="center" bgcolor="#E9E9EF" class="1"><font color="#000000">레져우선순위</font></td>
<td>
<table width="406" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="113">
<select name="leisure" size="1">
<option>선택하세요</option>
<option value="leports">레포츠즐기기</option>
<option value="movie">영화 보기</option>
<option value="house">시체 놀이</option>
<option value="travel">여 행</option>
<option value="drive">드라이브</option>
<option value="eating">외 식</option>
<option value="meeting">미 팅</option>
<option value="gathering">동호회활동</option>
<option value="shopping">쇼 핑</option>
<option value="attend">봉사활동</option>
<option value="etc">기 타</option>
</select>
</td>
<td class="1">
<font color="#999999">*회원님의 여가활동 경향을 알려주세요</font>
</td>
</tr>
</table>
</td>
</tr>
<? } ?>
</table>
</td>
</tr>
</table>
<br>
<table width="342" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="153" align="center">
<input type=image src="./img2/join_K01.jpg" onMouseOver=this.src="./img2/join_k02.jpg" onMouseOut=this.src="./img2/join_K01.jpg" width="150" height="30" border="0">
</td>
<td width="150" align="center"><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('유료회원전환','','./img2/join_Y02.jpg',1)"><img src="./img2/join_Y01.jpg" name="유료회원전환" width="150" height="30" border="0"></a></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</form>
</table>
<script language='Javascript'>
if (document.fmbform.w.value == "") {
document.fmbform.mb_id.focus();
} else if (document.fmbform.w.value == "u") {
document.fmbform.mb_passwd.focus();
}
// submit 최종 폼체크
function formcheck(f)
{
if (f.w.value == '' && !f.agree.checked) {
alert("회원가입약관에 동의하셔야 가입하실 수 있습니다.");
f.agree.focus();
return false;
}
if (f.mb_passwd.value != f.mb_passwd_re.value) {
alert("비밀번호가 같지 않습니다.");
f.mb_passwd.focus();
return false;
} else if (typeof(f.mb_jumin1) != 'undefined') {
var is_jumin = jumin_check(f.mb_jumin1, f.mb_jumin2);
if (!is_jumin) {
alert("주민등록번호가 올바르지 않습니다.");
f.mb_jumin1.focus();
return false;
}
}
if (typeof(f.mb_sex) != 'undefined') {
if (f.mb_sex.value == '') {
alert('성별을 선택하세요.');
f.mb_sex.focus();
return false;
}
}
if (typeof(f.mb_married) != 'undefined') {
if (f.mb_married.value == '') {
alert('결혼여부를 선택하세요.');
f.mb_married.focus();
return false;
}
}
return true;
}
// 회원아이디 검사
function mb_id_check()
{
if (document.fmbform.mb_id.value == "") {
alert('회원 아이디를 입력하세요.');
document.fmbform.mb_id.focus();
return false;
}
window.open('<?="./?doc=$cfg[bbs_dir]/mbidcheck.php&mb_id="?>'+document.fmbform.mb_id.value, 'mbidcheck', 'left=0,top=10000,width=1,height=1');
}
</script>
================================================================================================================
다음 파일로 첨부하는게 그림이랍니다..
고수분들 함 봐주세요...
댓글 전체