묻고답하기
page_full_width" class="col-xs-12" |cond="$__Context->page_full_width">
회원가입 양식입니다~ 도와주세요...일주일 째입니다.ㅠㅠ
2005.11.17 14:21
일주일정도 하구 있는데... 최대한 손 대느라 댔습니다.
잘몰라서 여러번 삭제하구 제로보드도 첨부터 깔기를 여러번 한 끝에 이만큼 했습니다.;;
다른게 아니오라...
필수 입력을 하겠금 하고 싶은데... 어떠한 부분이 잘못된건지 도무지 알수가 없네요.
제로보드 강좌에 의하면...
if(!write.handphone.value) {alert("핸드폰번호를 입력하여 주십시오.");write.handphone.focus(); return false;}
if(!write.hobby.value) {alert("결혼예정일을 입력하여 주십시오.");write.hobby.focus(); return false;}
위와 같이 생긴걸 넣으면 필수 입력이 된다고 했는데...
기존 회원가입 양식폼에 이미 존재한 상태였구요...
제가 추가적으로 hobby를 추가했습니다.
테스트 결과 이메일까지는 필수입력이 됩니다.
하지만 그 아래부터는 안되는 군요...;;
소스가 틀리지도 않았고...
도무지 뭐가 문제인지 알수가 없네요...
회원 정보 수정을 특정 부분 못하게 하고 싶습니다.
찾은 바에 의하면... class=input ->인풋 대신에 readonly 추가하라 해서 했는데...
잘 되지 않는 군요...
php 볼지도 모르고 무작정 따라하는게 다인데요... (현재로서는;;)
바쁘구, 귀찮으시겠지만... 도와주세요...;; 주변에 아는 사람이라도 있다면 물어라도 보는데;;
이렇게 운영하고 있는 홈페이지가 유일한 의지할 곳 입니다. ㅠㅠ
소스 첨부 합니다.
---------------------------------------------------------------------------------------------------------------
<?
// 라이브러리 함수 파일 인크루드
include "lib.php";
// DB 연결
if(!$connect) $connect=dbConn();
// 그룹 번호 체크
if(!$group_no) {
$tmpResult = mysql_fetch_array(mysql_query("select * from $group_table order by no limit 1"));
$group_no = $tmpResult[no];
}
// 멤버 정보 구해오기;;; 멤버가 있을때
$member=member_info();
if($mode=="admin"&&($member[is_admin]==1||($member[is_admin]==2&&$member[group_no]==$group_no))) $mode = "admin";
else $mode = "";
if($member[no]&&!$mode) Error("이미 가입이 되어 있습니다.","window.close");
// 게시판과 그룹설정에 따라서 회원 가입 설정
if($id) {
// 현재 게시판 설정 읽어 오기
$setup=get_table_attrib($id);
// 설정되지 않은 게시판일때 에러 표시
if(!$setup[name]) Error("생성되지 않은 게시판입니다.<br><br>게시판을 생성후 사용하십시요","window.close");
// 현재 게시판의 그룹의 설정 읽어 오기
$group=group_info($setup[group_no]);
if(!$group[use_join]&&!$mode) Error("현재 지정된 그룹은 추가 회원을 모집하지 않습니다","window.close");
} else {
if($group_name) $group=mysql_fetch_array(mysql_query("select * from $group_table where name='$group_name'"));
elseif($group_no) $group=mysql_fetch_array(mysql_query("select * from $group_table where no='$group_no'"));
if(!$group[no]) Error("지정된 그룹이 존재하지 않습니다");
if(!$group[use_join]&&!$mode) Error("현재 지정된 그룹은 추가 회원을 모집하지 않습니다");
}
$check[1]="checked";
if(!$referer) $referer=$HTTP_REFERER;
$setup[header]="";
$setup[footer]="";
$setup[header_url]="";
$setup[footer_url]="";
$group[header]="";
$group[footer]="";
$group[header_url]="";
$group[footer_url]="";
$setup[skinname]="";
head();
echo "<div align=center>";
?>
<script>
function address_popup(num)
{
window.open('zipcode/search_zipcode.php?num='+num,'searchaddress','width=440,height=230,scrollbars=yes');
}
function check_submit()
{
<?
if(file_exists("./join_license.txt")) {
?>
if(!write.accept.checked) {
alert("가입약관에 동의하셔야 회원가입을 할수 있습니다");
return false;
}
<?
}
?>
if(!write.user_id.value) {alert("아이디를 입력하여 주십시요.");write.user_id.focus(); return false;}
<?
if($_zbDefaultSetup[enable_hangul_id]=="false") {
?>
// 아이디 체크
if(write.user_id.value.length<4||write.user_id.value.length>12) {
alert("아이디는 4자 이상, 12자 이하여야 합니다.");
write.user_id.focus();
return false;
}
var valid = "abcdefghijklmnopqrstuvwxyz0123456789_";
var startChar = "abcdefghijklmnopqrstuvwxyz";
var temp;
write.user_id.value = write.user_id.value.toLowerCase();
temp = write.user_id.value.substring(0,1);
if (startChar.indexOf(temp) == "-1") {
alert("아이디의 첫 글자는 영문이어야 합니다.");
write.user_id.value = "";
write.user_id.focus();
return false;
}
for (var i=0; i<write.user_id.value.length; i++) {
temp = "" + write.user_id.value.substring(i, i+1);
if (valid.indexOf(temp) == "-1") {
alert("아이디는 영문과 숫자, _ 로만 이루어질수 있습니다.");
write.user_id.value = "";
write.user_id.focus();
return false;
}
}
<?
}
?>
if(!write.password.value) {alert("비밀번호를 입력하여 주십시요.");write.password.focus(); return false;}
if(!write.password1.value) {alert("비밀번호 확인을 입력하여 주십시요.");write.password1.focus(); return false;}
if(write.password.value!=write.password1.value) {alert("패스워드가 일치하지 않습니다.");write.password.value="";write.password1.value=""; write.password.focus(); return false;}
if(!write.name.value) { alert("이름을 입력하세요"); write.name.focus(); return false; }
<? if($group[use_birth])
{ ?>
if ( write.birth_1.value < 1000 || write.birth_1.value <= 0 ) {
alert('생년이 잘못입력되었습니다.');
write.birth_1.value='';
write.birth_1.focus();
return false;
}
if ( write.birth_2.value > 12 || write.birth_2.value <= 0 ) {
alert('생월이 잘못입력되었습니다.');
write.birth_2.value='';
write.birth_2.focus();
return false;
}
if ( write.birth_3.value > 31 || write.birth_3.value <= 0 ) {
alert('생일이 잘못입력되었습니다.');
write.birth_3.value='';
write.birth_3.focus();
return false;
}
<? } ?>
if(!write.email.value) {alert("E-Mail을 입력하여 주십시오.");write.email.focus(); return false;}
if(!write.email_key.value) {alert("E-mail Check키를 입력하여 주십시오.");write.email_key.focus(); return false;}
if(!write.job.value) {alert("직업을 입력하여 주십시요.");write.job.focus(); return false;}
if(!write.home_address.value) {alert("주소를 입력하여 주십시오.");write.home_address.focus(); return false;}
if(!write.home_tel.value) {alert("전화번호를 입력하여 주십시오.");write.home_tel.focus(); return false;}
if(!write.handphone.value) {alert("핸드폰번호를 입력하여 주십시오.");write.handphone.focus(); return false;}
if(!write.hobby.value) {alert("결혼예정일을 입력하여 주십시오.");write.hobby.focus(); return false;}
<? if($group[use_jumin]&&!$mode)
{ ?>
if(!write.jumin1.value) {alert("주민등록번호를 입력하여 주십시요");write.jumin1.focus(); return false;}
if(!write.jumin2.value) {alert("주민등록번호를 입력하여 주십시요");write.jumin2.focus(); return false;}
<?}?>
return true;
}
function check_id(id)
{
if(!id)
{
alert('아이디를 입력하여 주십시요');
}
else
{
window.open('check_user_id.php?user_id='+id,'check_user_id','width=200,height=100,toolbar=no,status=no,resizable=no');
}
}
function check_accept() {
return confirm("위의 가입 약관을 모두 보았으며, 동의하십니까?");
}
// 주민번호 체크하여 생일로 포커스 옮김
function Birth_date() {
var birth = document.write.jumin1.value;
var jumin2input = document.write.jumin2.value.charAt(0);
if(jumin2input <= 2) {y2k = "19";} else {y2k = "20";}
document.write.birth_1.value = y2k+birth.substring(0,2);
if (birth.substring(2,3) == "0") {
document.write.birth_2.value = birth.substring(3,4);
} else {
document.write.birth_2.value = birth.substring(2,4);
}
if (birth.substring(4,5) == "0") {
document.write.birth_3.value = birth.substring(5,6);
} else {
document.write.birth_3.value = birth.substring(4,6);
}
}
function Next_Jumin_Input()
{
if (event.keyCode!=37 && event.keyCode!=39)
{
if (write.jumin1.value.length == 6)
{
write.jumin2.focus();
write.birth_1.value="19"+write.jumin1.value.substring(0,2);
write.birth_2.value=write.jumin1.value.substring(2,4);
write.birth_3.value=write.jumin1.value.substring(4);
}
}
}
</script>
<script>
<!--
function MoveFocus() {
document.write.user_id.focus();
return;
}
// -->
</script>
<!--
---------------------------[ Designed by wooyeon ]---------------------------
Homepage:http://lhw1205.cafe24.com
E-mail:enomys@hanmail.net
-----------------------------------------------------------------------------
-->
<html>
<head>
<style type='text/css'>
body {color:#181818}
A:link {color:#181818;text-decoration:none;}
A:visited {color:#181818;text-decoration:none;}
A:active {color:#181818;text-decoration:none;}
A:hover {color:#181818;text-decoration:none;}
body
{ scrollbar-3dlight-color: #B4B4B4;
scrollbar-arrow-color: #333333;
scrollbar-base-color: #EEEEEE;
scrollbar-darkshadow-color: #FFFFFF;
scrollbar-face-color: #EEEEEE;
scrollbar-highlight-color: #FFFFFF;
scrollbar-shadow-color: #B4B4B4
}
</style>
</head>
<body onload='MoveFocus();'>
<table cellpadding="0" cellspacing="0" width="544">
<form name=write method=post action=member_join_ok.php enctype=multipart/form-data onsubmit="return check_submit();">
<input type=hidden name=page value=<?=$page?>>
<input type=hidden name=id value=<?=$id?>>
<input type=hidden name=no value=<?=$no?>>
<input type=hidden name=select_arrange value=<?=$select_arrange?>>
<input type=hidden name=desc value=<?=$desc?>>
<input type=hidden name=page_num value=<?=$page_num?>>
<input type=hidden name=keyword value="<?=$keyword?>">
<input type=hidden name=category value="<?=$category?>">
<input type=hidden name=sn value="<?=$sn?>">
<input type=hidden name=ss value="<?=$ss?>">
<input type=hidden name=sc value="<?=$sc?>">
<input type=hidden name=referer value="<?=$referer?>">
<input type=hidden name=group_no value="<?=$group[no]?>">
<input type=hidden name=mode value="<?=$mode?>">
<tr>
<td width="544" colspan="2"><img align="top" src="member_img/join/join.gif" width="544" height="70" border="0"></td>
</tr>
<?
if(file_exists("./join_license.txt")) {
$f=fopen("join_license.txt",r);
$join_license = fread($f,filesize("join_license.txt"));
fclose($f);
?>
<tr>
<td width="544" colspan="2" align="center"><textarea cols="80" rows="10" readonly style=border-color:#cecfce;width:92% class=input><?=$join_license?></textarea></td>
</tr>
<tr>
<td width="544" colspan="2" align="center"><input type=checkbox name=accept value=1 onclick=return check_accept()><span style=font-size:9pt;><font color="#181818">위의 가입약관에 동의합니다.</font></span></td>
</tr>
<tr>
<td width="544" colspan="2" height="10"></td>
</tr>
<?
}
?>
<tr>
<td width="134" height="30"><img align="top" src="member_img/name/id.gif" width="134" height="29" border="0"></td>
<td width="410" height="30">
<table cellpadding="0" cellspacing="0" width="385" background="member_img/dot.gif">
<tr>
<td width="293" height="29"><input type=text name=user_id size=20 maxlength=20 style=border-color:#cecfce class=input><input type=button value='Check ID' style="font-family:Tahoma; font-size:7pt; color:#ffffff; background-color:#666666; border-width:1px; border-color:#666666; border-style:solid; height:18px;" onclick=check_id(write.user_id.value)><? if($_zbDefaultSetup[enable_hangul_id]=="false") {?><? } ?></td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="134" height="30"><img align="top" src="member_img/name/pass.gif" width="134" height="29" border="0"></td>
<td width="410" height="30">
<table width="385" cellpadding="0" cellspacing="0" background="member_img/dot.gif">
<tr>
<td width="160" height="29"><input type=password name=password size=20 maxlength=20 style=border-color:#cecfce class=input></td>
<td width="65" height="29"><img align="top" src="member_img/name/confirm.gif" width="65" height="29" border="0"></td>
<td width="160" height="29"><input type=password name=password1 size=20 maxlength=20 style=border-color:#cecfce class=input></td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="134" height="30"><img align="top" src="member_img/name/name.gif" width="134" height="29" border="0"></td>
<td width="410" height="30">
<table cellpadding="0" cellspacing="0" width="385" background="member_img/dot.gif">
<tr>
<td width="385" height="29"><input type=text name=name size=20 maxlength=20 value='<?=$member[name]?>' style=border-color:#cecfce class=input><span style=font-size:9pt;><font color="#181818"> (예 : 김도연)</font></span></td>
</tr>
</table>
</td>
</tr>
<? if($group[use_jumin]) { ?>
<tr>
<td width="134" height="30"><img align="top" src="member_img/name/jumin.gif" width="134" height="29" border="0"></td>
<td width="410" height="30"><table width="385" cellpadding="0" cellspacing="0" background="member_img/dot.gif">
<tr>
<td width="400" height="29"><input type=text name=jumin1 size=6 maxlength=6 style=border-color:#cecfce class=input onKeyUp="Next_Jumin_Input();"> <font color="#cecfce">-</font> <input type=password name=jumin2 size=7 maxlength=7 style=border-color:#cecfce class=input onBlur="Birth_date();"></td>
</tr>
</table></td>
</tr>
<? } ?>
<? if($group[use_birth]) { ?>
<tr>
<td width="134" height="30"><img align="top" src="member_img/name/birth.gif" width="134" height="29" border="0"></td>
<td width="410" height="30">
<table cellpadding="0" cellspacing="0" width="385" background="member_img/dot.gif">
<tr>
<td width="80" height="29"><input type=text name=birth_1 size=12 maxlength=12 style=border-color:#cecfce class=input> </td>
<td width="35" height="29"><img align="top" src="member_img/name/nuun.gif" width="35" height="29" border="0"></td>
<td width="60" height="29"><input type=text name=birth_2 size=8 maxlength=8 style=border-color:#cecfce class=input> </td>
<td width="35" height="29"><img align="top" src="member_img/name/ul.gif" width="35" height="29" border="0"></td>
<td width="60" height="29"><input type=text name=birth_3 size=8 maxlength=8 style=border-color:#cecfce class=input> </td>
<td width="38" height="29"><img align="top" src="member_img/name/il.gif" width="35" height="29" border="0"></td>
<td width="77" height="29"><input type=checkbox value=1 checked name=open_birth><span style=font-size:9pt;><font color="#181818">공개</font></span></td>
</tr>
</table>
</td>
</tr>
<? } ?>
<script type="text/JavaScript">
function email_CH() {
var email=document.write.email.value;
if(!email) {
alert('e-mail 주소를 입력해 주십시오.');
document.write.email.focus();
return false;
}
mail.location.href='email_CH.php?email='+email;
}
</script>
<iframe name="mail" src="" style="display:none;"></iframe>
<tr>
<td width="134" height="30"><img align="top" src="member_img/name/mail.gif" width="134" height="29" border="0"></td>
<td width="410" height="30">
<table cellpadding="0" cellspacing="0" width="385" background="member_img/dot.gif">
<tr>
<td width="385" height="29"><input type="text" name="email" size="35" maxlength="255" value="<?=$member[email]?>" style=border-color:#cecfce class="input"><input type="button" value='E-mail Check' style="font-family:Tahoma; font-size:7pt; color:#ffffff; background-color:#666666; border-width:1px; border-color:#666666; border-style:solid; height:18px;" onclick="email_CH();return false;"><span style=font-size:9pt;><font color="#181818"></font></span></td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="134" height="30"><img align="top" src="member_img/name/mail_1.gif" width="134" height="29" border="0"></td>
<td width="410" height="30">
<table width="385" cellpadding="0" cellspacing="0" background="member_img/dot.gif">
<tr>
<td width="400" height="29"><input type="text" name="email_key" size="20" maxlength="255" style=border-color:#cecfce class="input"><span style=font-size:9pt;><font color="#181818"> (메일로 전송된 코드를 입력하세요.)</font></span></td>
</tr>
</table>
</td>
</tr>
<? if($group[use_hobby]) { ?>
<tr>
<td width="134" height="30"><img align="top" src="member_img/name/marriage.gif" width="134" height="29" border="0"></td>
<td width="410" height="30"><table width="385" cellpadding="0" cellspacing="0" background="member_img/dot.gif">
<tr>
<td width="400" height="29"><input type=text name=hobby size=20 maxlength=20 value='<?=$member[hobby]?>' style=border-color:#cecfce class=input><span style=font-size:9pt;><font color="#181818"> (예 : 06.01.11)</font></span></td>
</tr>
</table></td>
</tr>
<? if($group[use_icq]) { ?>
<tr>
<td width="134" height="30"><img align="top" src="member_img/name/icq.gif" width="134" height="29" border="0"></td>
<td width="410" height="30"><table width="385" cellpadding="0" cellspacing="0" background="member_img/dot.gif">
<tr>
<td width="400" height="29"><input type=text name=icq size=20 maxlength=20 value='<?=$member[icq]?>' style=border-color:#cecfce class=input> </td>
</tr>
</table></td>
</tr>
<? } ?>
<? if($group[use_aol]) { ?>
<tr>
<td width="134" height="30"><img align="top" src="member_img/name/aim.gif" width="134" height="29" border="0"></td>
<td width="410" height="30"><table width="385" cellpadding="0" cellspacing="0" background="member_img/dot.gif">
<tr>
<td width="400" height="29"><input type=text name=aol size=20 maxlength=20 value='<?=$member[aol]?>' style=border-color:#cecfce class=input> </td>
</tr>
</table>
</td>
</tr>
<? } ?>
<? if($group[use_msn]) { ?>
<tr>
<td width="134" height="30"><img align="top" src="member_img/name/msn.gif" width="134" height="29" border="0"></td>
<td width="410" height="30"><table width="385" cellpadding="0" cellspacing="0" background="member_img/dot.gif">
<tr>
<td width="400" height="29"><input type=text name=msn size=20 maxlength=250 value='<?=$member[msn]?>' style=border-color:#cecfce class=input><input type=checkbox value=1 name=open_msn checked><span style=font-size:9pt;><font color="#181818">공개</font></span></td>
</tr>
</table></td>
</tr>
<? } ?>
<? } ?>
<? if($group[use_job]) { ?>
<tr>
<td width="134" height="30"><img align="top" src="member_img/name/job.gif" width="134" height="29" border="0"></td>
<td width="410" height="30"><table width="385" cellpadding="0" cellspacing="0" background="member_img/dot.gif">
<tr>
<td width="400" height="29"><input type=text name=job size=20 maxlength=20 value='<?=$member[job]?>' style=border-color:#cecfce class=input><input type=checkbox value=1 name=open_job checked><span style=font-size:9pt;><font color="#181818">공개</font></span></td>
</tr>
</table></td>
</tr>
<? } ?>
<? if($group[use_home_address]) { ?>
<tr>
<td width="134" height="30"><img align="top" src="member_img/name/home_address.gif" width="134" height="29" border="0"></td>
<td width="410" height="30"><table width="385" cellpadding="0" cellspacing="0" background="member_img/dot.gif">
<tr>
<td width="400" height="29"><input type=text name=home_address size=40 maxlength=255 value='<?=$member[home_address]?>' style=border-color:#cecfce class=input><input type=button value='Search' style="font-family:Tahoma; font-size:7pt; color:#ffffff; background-color:#666666; border-width:1px; border-color:#666666; border-style:solid; height:18px;" class=input onclick=address_popup(1)><input type=checkbox value=1 name=open_home_address checked><span style=font-size:9pt;><font color="#181818">공개</font></span></td>
</tr>
</table></td>
</tr>
<? } ?>
<? if($group[use_home_tel]) { ?>
<tr>
<td width="134" height="30"><img align="top" src="member_img/name/home_phone.gif" width="134" height="29" border="0"></td>
<td width="410" height="30"><table width="385" cellpadding="0" cellspacing="0" background="member_img/dot.gif">
<tr>
<td width="400" height="29"><input type=text name=home_tel size=20 maxlength=20 value='<?=$member[home_tel]?>' style=border-color:#cecfce class=input><input type=checkbox value=1 name=open_home_tel checked><span style=font-size:9pt;><font color="#181818">공개</font></span></td>
</tr>
</table></td>
</tr>
<? } ?>
<? if($group[use_office_address]) { ?>
<tr>
<td width="134" height="30"><img align="top" src="member_img/name/com_address.gif" width="134" height="29" border="0"></td>
<td width="410" height="30"><table width="385" cellpadding="0" cellspacing="0" background="member_img/dot.gif">
<tr>
<td width="400" height="29"><input type=text name=office_address size=40 maxlength=255 value='<?=$member[office_address]?>' style=border-color:#cecfce class=input><input type=button value='Search' style="font-family:Tahoma; font-size:7pt; color:#ffffff; background-color:#666666; border-width:1px; border-color:#666666; border-style:solid; height:18px;" class=input onclick=address_popup(2)><input type=checkbox value=1 name=open_office_address checked><span style=font-size:9pt;><font color="#181818">공개</font></span></td>
</tr>
</table></td>
</tr>
<? } ?>
<? if($group[use_office_tel]) { ?>
<tr>
<td width="134" height="30"><img align="top" src="member_img/name/com_phone.gif" width="134" height="29" border="0"></td>
<td width="410" height="30"><table width="385" cellpadding="0" cellspacing="0" background="member_img/dot.gif">
<tr>
<td width="400" height="29"><input type=text name=office_tel size=20 maxlength=20 value='<?=$member[office_tel]?>' style=border-color:#cecfce class=input><span style=font-size:9pt;><font color="#181818"><input type=checkbox value=1 name=open_office_tel checked>공개</font></span></td>
</tr>
</table></td>
</tr>
<? } ?>
<? if($group[use_handphone]) { ?>
<tr>
<td width="134" height="30"><img align="top" src="member_img/name/handphone.gif" width="134" height="29" border="0"></td>
<td width="410" height="30"><table width="385" cellpadding="0" cellspacing="0" background="member_img/dot.gif">
<tr>
<td width="400" height="29"><input type=text name=handphone size=20 maxlength=20 value='<?=$member[handphone]?>' style=border-color:#cecfce class=input><input type=checkbox value=1 name=open_handphone checked><span style=font-size:9pt;><font color="#181818">공개</font></span></td>
</tr>
</table></td>
</tr>
<? } ?>
<? if($group[use_mailing]) { ?>
<tr>
<td width="134" height="30"><img align="top" src="member_img/name/mailing_join.gif" width="134" height="29" border="0"></td>
<td width="410" height="30"><table width="385" cellpadding="0" cellspacing="0" background="member_img/dot.gif">
<tr>
<td width="400" height="29"><input type=checkbox name=mailing value=1 checked><span style=font-size:9pt;><font color="#181818">메일링 가입</font></span></td>
</tr>
</table></td>
</tr>
<? } ?>
<? if($group[use_picture]) { ?>
<tr>
<td width="544" height="30" colspan="2" align="center">
<table cellpadding="0" cellspacing="0" width="544">
<tr>
<td width="534" height="29">
<table cellpadding="0" cellspacing="0" width="544" height="29">
<tr>
<td width="134"><img align="top" src="member_img/name/photo.gif" width="134" height="29" border="0"></td>
<td width="410"><input type=file name=picture size="34" maxlength=255 style=border-color:#cecfce class=input><? if($member[picture]) echo"<br> <img src='$member[picture]' border=0>"; ?><input type=checkbox value=1 name=open_picture checked><span style=font-size:9pt;><font color="#181818">공개</font></span></td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="534">
<table cellpadding="0" cellspacing="0" width="519">
<tr>
<td width="18" height="1"></td>
<td width="501" background="member_img/dot3.gif" height="1"></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<? } ?>
<? if($group[use_comment]) { ?>
<tr>
<td width="134" height="29"><img align="top" src="member_img/name/comment.gif" width="134" height="29" border="0"></td>
<td width="410" height="70" rowspan="2" valign="middle"><textarea cols="47" rows=4 name=comment style=border-color:#cecfce class=textarea><?=$member[comment]?></textarea><input type=checkbox value=1 name=open_comment checked><span style=font-size:9pt;><font color="#181818">공개</font></span></td>
</tr>
<tr>
<td width="134" height="41"></td>
</tr>
<? } ?>
<tr>
<td width="134" height="30"><img align="top" src="member_img/name/person.gif" width="134" height="29" border="0"></td>
<td width="410" height="30"><table width="385" cellpadding="0" cellspacing="0" background="member_img/dot.gif">
<tr>
<td width="400" height="29"><input type=checkbox name=openinfo value=1 checked><span style=font-size:9pt;><font color="#181818">정보 공개</font></span></td>
</tr>
</table></td>
</tr>
<tr>
<td width="134" height="11"></td>
<td width="410" height="11"></td>
</tr>
<tr>
<td width="544" height="50" colspan="2">
<table cellpadding="0" cellspacing="0" width="544">
<tr>
<td width="135" height="50"></td>
<td width="133" height="50"><input type=image src=member_img/join/yes.gif width="134" height="50" border=0 onfocus="this.blur()"></td>
<td width="276" height="50"><img src=member_img/exit.gif width="134" height="50" border=0 style=cursor:hand onClick=window.close()></td>
</tr>
</form>
</table>
</td>
</tr>
<tr>
<td width="134" height="18"></td>
<td width="410" height="18"></td>
</tr>
</table>
</body>
</html>
<?
@mysql_close($connect);
foot();
?>
잘몰라서 여러번 삭제하구 제로보드도 첨부터 깔기를 여러번 한 끝에 이만큼 했습니다.;;
다른게 아니오라...
필수 입력을 하겠금 하고 싶은데... 어떠한 부분이 잘못된건지 도무지 알수가 없네요.
제로보드 강좌에 의하면...
if(!write.handphone.value) {alert("핸드폰번호를 입력하여 주십시오.");write.handphone.focus(); return false;}
if(!write.hobby.value) {alert("결혼예정일을 입력하여 주십시오.");write.hobby.focus(); return false;}
위와 같이 생긴걸 넣으면 필수 입력이 된다고 했는데...
기존 회원가입 양식폼에 이미 존재한 상태였구요...
제가 추가적으로 hobby를 추가했습니다.
테스트 결과 이메일까지는 필수입력이 됩니다.
하지만 그 아래부터는 안되는 군요...;;
소스가 틀리지도 않았고...
도무지 뭐가 문제인지 알수가 없네요...
회원 정보 수정을 특정 부분 못하게 하고 싶습니다.
찾은 바에 의하면... class=input ->인풋 대신에 readonly 추가하라 해서 했는데...
잘 되지 않는 군요...
php 볼지도 모르고 무작정 따라하는게 다인데요... (현재로서는;;)
바쁘구, 귀찮으시겠지만... 도와주세요...;; 주변에 아는 사람이라도 있다면 물어라도 보는데;;
이렇게 운영하고 있는 홈페이지가 유일한 의지할 곳 입니다. ㅠㅠ
소스 첨부 합니다.
---------------------------------------------------------------------------------------------------------------
<?
// 라이브러리 함수 파일 인크루드
include "lib.php";
// DB 연결
if(!$connect) $connect=dbConn();
// 그룹 번호 체크
if(!$group_no) {
$tmpResult = mysql_fetch_array(mysql_query("select * from $group_table order by no limit 1"));
$group_no = $tmpResult[no];
}
// 멤버 정보 구해오기;;; 멤버가 있을때
$member=member_info();
if($mode=="admin"&&($member[is_admin]==1||($member[is_admin]==2&&$member[group_no]==$group_no))) $mode = "admin";
else $mode = "";
if($member[no]&&!$mode) Error("이미 가입이 되어 있습니다.","window.close");
// 게시판과 그룹설정에 따라서 회원 가입 설정
if($id) {
// 현재 게시판 설정 읽어 오기
$setup=get_table_attrib($id);
// 설정되지 않은 게시판일때 에러 표시
if(!$setup[name]) Error("생성되지 않은 게시판입니다.<br><br>게시판을 생성후 사용하십시요","window.close");
// 현재 게시판의 그룹의 설정 읽어 오기
$group=group_info($setup[group_no]);
if(!$group[use_join]&&!$mode) Error("현재 지정된 그룹은 추가 회원을 모집하지 않습니다","window.close");
} else {
if($group_name) $group=mysql_fetch_array(mysql_query("select * from $group_table where name='$group_name'"));
elseif($group_no) $group=mysql_fetch_array(mysql_query("select * from $group_table where no='$group_no'"));
if(!$group[no]) Error("지정된 그룹이 존재하지 않습니다");
if(!$group[use_join]&&!$mode) Error("현재 지정된 그룹은 추가 회원을 모집하지 않습니다");
}
$check[1]="checked";
if(!$referer) $referer=$HTTP_REFERER;
$setup[header]="";
$setup[footer]="";
$setup[header_url]="";
$setup[footer_url]="";
$group[header]="";
$group[footer]="";
$group[header_url]="";
$group[footer_url]="";
$setup[skinname]="";
head();
echo "<div align=center>";
?>
<script>
function address_popup(num)
{
window.open('zipcode/search_zipcode.php?num='+num,'searchaddress','width=440,height=230,scrollbars=yes');
}
function check_submit()
{
<?
if(file_exists("./join_license.txt")) {
?>
if(!write.accept.checked) {
alert("가입약관에 동의하셔야 회원가입을 할수 있습니다");
return false;
}
<?
}
?>
if(!write.user_id.value) {alert("아이디를 입력하여 주십시요.");write.user_id.focus(); return false;}
<?
if($_zbDefaultSetup[enable_hangul_id]=="false") {
?>
// 아이디 체크
if(write.user_id.value.length<4||write.user_id.value.length>12) {
alert("아이디는 4자 이상, 12자 이하여야 합니다.");
write.user_id.focus();
return false;
}
var valid = "abcdefghijklmnopqrstuvwxyz0123456789_";
var startChar = "abcdefghijklmnopqrstuvwxyz";
var temp;
write.user_id.value = write.user_id.value.toLowerCase();
temp = write.user_id.value.substring(0,1);
if (startChar.indexOf(temp) == "-1") {
alert("아이디의 첫 글자는 영문이어야 합니다.");
write.user_id.value = "";
write.user_id.focus();
return false;
}
for (var i=0; i<write.user_id.value.length; i++) {
temp = "" + write.user_id.value.substring(i, i+1);
if (valid.indexOf(temp) == "-1") {
alert("아이디는 영문과 숫자, _ 로만 이루어질수 있습니다.");
write.user_id.value = "";
write.user_id.focus();
return false;
}
}
<?
}
?>
if(!write.password.value) {alert("비밀번호를 입력하여 주십시요.");write.password.focus(); return false;}
if(!write.password1.value) {alert("비밀번호 확인을 입력하여 주십시요.");write.password1.focus(); return false;}
if(write.password.value!=write.password1.value) {alert("패스워드가 일치하지 않습니다.");write.password.value="";write.password1.value=""; write.password.focus(); return false;}
if(!write.name.value) { alert("이름을 입력하세요"); write.name.focus(); return false; }
<? if($group[use_birth])
{ ?>
if ( write.birth_1.value < 1000 || write.birth_1.value <= 0 ) {
alert('생년이 잘못입력되었습니다.');
write.birth_1.value='';
write.birth_1.focus();
return false;
}
if ( write.birth_2.value > 12 || write.birth_2.value <= 0 ) {
alert('생월이 잘못입력되었습니다.');
write.birth_2.value='';
write.birth_2.focus();
return false;
}
if ( write.birth_3.value > 31 || write.birth_3.value <= 0 ) {
alert('생일이 잘못입력되었습니다.');
write.birth_3.value='';
write.birth_3.focus();
return false;
}
<? } ?>
if(!write.email.value) {alert("E-Mail을 입력하여 주십시오.");write.email.focus(); return false;}
if(!write.email_key.value) {alert("E-mail Check키를 입력하여 주십시오.");write.email_key.focus(); return false;}
if(!write.job.value) {alert("직업을 입력하여 주십시요.");write.job.focus(); return false;}
if(!write.home_address.value) {alert("주소를 입력하여 주십시오.");write.home_address.focus(); return false;}
if(!write.home_tel.value) {alert("전화번호를 입력하여 주십시오.");write.home_tel.focus(); return false;}
if(!write.handphone.value) {alert("핸드폰번호를 입력하여 주십시오.");write.handphone.focus(); return false;}
if(!write.hobby.value) {alert("결혼예정일을 입력하여 주십시오.");write.hobby.focus(); return false;}
<? if($group[use_jumin]&&!$mode)
{ ?>
if(!write.jumin1.value) {alert("주민등록번호를 입력하여 주십시요");write.jumin1.focus(); return false;}
if(!write.jumin2.value) {alert("주민등록번호를 입력하여 주십시요");write.jumin2.focus(); return false;}
<?}?>
return true;
}
function check_id(id)
{
if(!id)
{
alert('아이디를 입력하여 주십시요');
}
else
{
window.open('check_user_id.php?user_id='+id,'check_user_id','width=200,height=100,toolbar=no,status=no,resizable=no');
}
}
function check_accept() {
return confirm("위의 가입 약관을 모두 보았으며, 동의하십니까?");
}
// 주민번호 체크하여 생일로 포커스 옮김
function Birth_date() {
var birth = document.write.jumin1.value;
var jumin2input = document.write.jumin2.value.charAt(0);
if(jumin2input <= 2) {y2k = "19";} else {y2k = "20";}
document.write.birth_1.value = y2k+birth.substring(0,2);
if (birth.substring(2,3) == "0") {
document.write.birth_2.value = birth.substring(3,4);
} else {
document.write.birth_2.value = birth.substring(2,4);
}
if (birth.substring(4,5) == "0") {
document.write.birth_3.value = birth.substring(5,6);
} else {
document.write.birth_3.value = birth.substring(4,6);
}
}
function Next_Jumin_Input()
{
if (event.keyCode!=37 && event.keyCode!=39)
{
if (write.jumin1.value.length == 6)
{
write.jumin2.focus();
write.birth_1.value="19"+write.jumin1.value.substring(0,2);
write.birth_2.value=write.jumin1.value.substring(2,4);
write.birth_3.value=write.jumin1.value.substring(4);
}
}
}
</script>
<script>
<!--
function MoveFocus() {
document.write.user_id.focus();
return;
}
// -->
</script>
<!--
---------------------------[ Designed by wooyeon ]---------------------------
Homepage:http://lhw1205.cafe24.com
E-mail:enomys@hanmail.net
-----------------------------------------------------------------------------
-->
<html>
<head>
<style type='text/css'>
body {color:#181818}
A:link {color:#181818;text-decoration:none;}
A:visited {color:#181818;text-decoration:none;}
A:active {color:#181818;text-decoration:none;}
A:hover {color:#181818;text-decoration:none;}
body
{ scrollbar-3dlight-color: #B4B4B4;
scrollbar-arrow-color: #333333;
scrollbar-base-color: #EEEEEE;
scrollbar-darkshadow-color: #FFFFFF;
scrollbar-face-color: #EEEEEE;
scrollbar-highlight-color: #FFFFFF;
scrollbar-shadow-color: #B4B4B4
}
</style>
</head>
<body onload='MoveFocus();'>
<table cellpadding="0" cellspacing="0" width="544">
<form name=write method=post action=member_join_ok.php enctype=multipart/form-data onsubmit="return check_submit();">
<input type=hidden name=page value=<?=$page?>>
<input type=hidden name=id value=<?=$id?>>
<input type=hidden name=no value=<?=$no?>>
<input type=hidden name=select_arrange value=<?=$select_arrange?>>
<input type=hidden name=desc value=<?=$desc?>>
<input type=hidden name=page_num value=<?=$page_num?>>
<input type=hidden name=keyword value="<?=$keyword?>">
<input type=hidden name=category value="<?=$category?>">
<input type=hidden name=sn value="<?=$sn?>">
<input type=hidden name=ss value="<?=$ss?>">
<input type=hidden name=sc value="<?=$sc?>">
<input type=hidden name=referer value="<?=$referer?>">
<input type=hidden name=group_no value="<?=$group[no]?>">
<input type=hidden name=mode value="<?=$mode?>">
<tr>
<td width="544" colspan="2"><img align="top" src="member_img/join/join.gif" width="544" height="70" border="0"></td>
</tr>
<?
if(file_exists("./join_license.txt")) {
$f=fopen("join_license.txt",r);
$join_license = fread($f,filesize("join_license.txt"));
fclose($f);
?>
<tr>
<td width="544" colspan="2" align="center"><textarea cols="80" rows="10" readonly style=border-color:#cecfce;width:92% class=input><?=$join_license?></textarea></td>
</tr>
<tr>
<td width="544" colspan="2" align="center"><input type=checkbox name=accept value=1 onclick=return check_accept()><span style=font-size:9pt;><font color="#181818">위의 가입약관에 동의합니다.</font></span></td>
</tr>
<tr>
<td width="544" colspan="2" height="10"></td>
</tr>
<?
}
?>
<tr>
<td width="134" height="30"><img align="top" src="member_img/name/id.gif" width="134" height="29" border="0"></td>
<td width="410" height="30">
<table cellpadding="0" cellspacing="0" width="385" background="member_img/dot.gif">
<tr>
<td width="293" height="29"><input type=text name=user_id size=20 maxlength=20 style=border-color:#cecfce class=input><input type=button value='Check ID' style="font-family:Tahoma; font-size:7pt; color:#ffffff; background-color:#666666; border-width:1px; border-color:#666666; border-style:solid; height:18px;" onclick=check_id(write.user_id.value)><? if($_zbDefaultSetup[enable_hangul_id]=="false") {?><? } ?></td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="134" height="30"><img align="top" src="member_img/name/pass.gif" width="134" height="29" border="0"></td>
<td width="410" height="30">
<table width="385" cellpadding="0" cellspacing="0" background="member_img/dot.gif">
<tr>
<td width="160" height="29"><input type=password name=password size=20 maxlength=20 style=border-color:#cecfce class=input></td>
<td width="65" height="29"><img align="top" src="member_img/name/confirm.gif" width="65" height="29" border="0"></td>
<td width="160" height="29"><input type=password name=password1 size=20 maxlength=20 style=border-color:#cecfce class=input></td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="134" height="30"><img align="top" src="member_img/name/name.gif" width="134" height="29" border="0"></td>
<td width="410" height="30">
<table cellpadding="0" cellspacing="0" width="385" background="member_img/dot.gif">
<tr>
<td width="385" height="29"><input type=text name=name size=20 maxlength=20 value='<?=$member[name]?>' style=border-color:#cecfce class=input><span style=font-size:9pt;><font color="#181818"> (예 : 김도연)</font></span></td>
</tr>
</table>
</td>
</tr>
<? if($group[use_jumin]) { ?>
<tr>
<td width="134" height="30"><img align="top" src="member_img/name/jumin.gif" width="134" height="29" border="0"></td>
<td width="410" height="30"><table width="385" cellpadding="0" cellspacing="0" background="member_img/dot.gif">
<tr>
<td width="400" height="29"><input type=text name=jumin1 size=6 maxlength=6 style=border-color:#cecfce class=input onKeyUp="Next_Jumin_Input();"> <font color="#cecfce">-</font> <input type=password name=jumin2 size=7 maxlength=7 style=border-color:#cecfce class=input onBlur="Birth_date();"></td>
</tr>
</table></td>
</tr>
<? } ?>
<? if($group[use_birth]) { ?>
<tr>
<td width="134" height="30"><img align="top" src="member_img/name/birth.gif" width="134" height="29" border="0"></td>
<td width="410" height="30">
<table cellpadding="0" cellspacing="0" width="385" background="member_img/dot.gif">
<tr>
<td width="80" height="29"><input type=text name=birth_1 size=12 maxlength=12 style=border-color:#cecfce class=input> </td>
<td width="35" height="29"><img align="top" src="member_img/name/nuun.gif" width="35" height="29" border="0"></td>
<td width="60" height="29"><input type=text name=birth_2 size=8 maxlength=8 style=border-color:#cecfce class=input> </td>
<td width="35" height="29"><img align="top" src="member_img/name/ul.gif" width="35" height="29" border="0"></td>
<td width="60" height="29"><input type=text name=birth_3 size=8 maxlength=8 style=border-color:#cecfce class=input> </td>
<td width="38" height="29"><img align="top" src="member_img/name/il.gif" width="35" height="29" border="0"></td>
<td width="77" height="29"><input type=checkbox value=1 checked name=open_birth><span style=font-size:9pt;><font color="#181818">공개</font></span></td>
</tr>
</table>
</td>
</tr>
<? } ?>
<script type="text/JavaScript">
function email_CH() {
var email=document.write.email.value;
if(!email) {
alert('e-mail 주소를 입력해 주십시오.');
document.write.email.focus();
return false;
}
mail.location.href='email_CH.php?email='+email;
}
</script>
<iframe name="mail" src="" style="display:none;"></iframe>
<tr>
<td width="134" height="30"><img align="top" src="member_img/name/mail.gif" width="134" height="29" border="0"></td>
<td width="410" height="30">
<table cellpadding="0" cellspacing="0" width="385" background="member_img/dot.gif">
<tr>
<td width="385" height="29"><input type="text" name="email" size="35" maxlength="255" value="<?=$member[email]?>" style=border-color:#cecfce class="input"><input type="button" value='E-mail Check' style="font-family:Tahoma; font-size:7pt; color:#ffffff; background-color:#666666; border-width:1px; border-color:#666666; border-style:solid; height:18px;" onclick="email_CH();return false;"><span style=font-size:9pt;><font color="#181818"></font></span></td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="134" height="30"><img align="top" src="member_img/name/mail_1.gif" width="134" height="29" border="0"></td>
<td width="410" height="30">
<table width="385" cellpadding="0" cellspacing="0" background="member_img/dot.gif">
<tr>
<td width="400" height="29"><input type="text" name="email_key" size="20" maxlength="255" style=border-color:#cecfce class="input"><span style=font-size:9pt;><font color="#181818"> (메일로 전송된 코드를 입력하세요.)</font></span></td>
</tr>
</table>
</td>
</tr>
<? if($group[use_hobby]) { ?>
<tr>
<td width="134" height="30"><img align="top" src="member_img/name/marriage.gif" width="134" height="29" border="0"></td>
<td width="410" height="30"><table width="385" cellpadding="0" cellspacing="0" background="member_img/dot.gif">
<tr>
<td width="400" height="29"><input type=text name=hobby size=20 maxlength=20 value='<?=$member[hobby]?>' style=border-color:#cecfce class=input><span style=font-size:9pt;><font color="#181818"> (예 : 06.01.11)</font></span></td>
</tr>
</table></td>
</tr>
<? if($group[use_icq]) { ?>
<tr>
<td width="134" height="30"><img align="top" src="member_img/name/icq.gif" width="134" height="29" border="0"></td>
<td width="410" height="30"><table width="385" cellpadding="0" cellspacing="0" background="member_img/dot.gif">
<tr>
<td width="400" height="29"><input type=text name=icq size=20 maxlength=20 value='<?=$member[icq]?>' style=border-color:#cecfce class=input> </td>
</tr>
</table></td>
</tr>
<? } ?>
<? if($group[use_aol]) { ?>
<tr>
<td width="134" height="30"><img align="top" src="member_img/name/aim.gif" width="134" height="29" border="0"></td>
<td width="410" height="30"><table width="385" cellpadding="0" cellspacing="0" background="member_img/dot.gif">
<tr>
<td width="400" height="29"><input type=text name=aol size=20 maxlength=20 value='<?=$member[aol]?>' style=border-color:#cecfce class=input> </td>
</tr>
</table>
</td>
</tr>
<? } ?>
<? if($group[use_msn]) { ?>
<tr>
<td width="134" height="30"><img align="top" src="member_img/name/msn.gif" width="134" height="29" border="0"></td>
<td width="410" height="30"><table width="385" cellpadding="0" cellspacing="0" background="member_img/dot.gif">
<tr>
<td width="400" height="29"><input type=text name=msn size=20 maxlength=250 value='<?=$member[msn]?>' style=border-color:#cecfce class=input><input type=checkbox value=1 name=open_msn checked><span style=font-size:9pt;><font color="#181818">공개</font></span></td>
</tr>
</table></td>
</tr>
<? } ?>
<? } ?>
<? if($group[use_job]) { ?>
<tr>
<td width="134" height="30"><img align="top" src="member_img/name/job.gif" width="134" height="29" border="0"></td>
<td width="410" height="30"><table width="385" cellpadding="0" cellspacing="0" background="member_img/dot.gif">
<tr>
<td width="400" height="29"><input type=text name=job size=20 maxlength=20 value='<?=$member[job]?>' style=border-color:#cecfce class=input><input type=checkbox value=1 name=open_job checked><span style=font-size:9pt;><font color="#181818">공개</font></span></td>
</tr>
</table></td>
</tr>
<? } ?>
<? if($group[use_home_address]) { ?>
<tr>
<td width="134" height="30"><img align="top" src="member_img/name/home_address.gif" width="134" height="29" border="0"></td>
<td width="410" height="30"><table width="385" cellpadding="0" cellspacing="0" background="member_img/dot.gif">
<tr>
<td width="400" height="29"><input type=text name=home_address size=40 maxlength=255 value='<?=$member[home_address]?>' style=border-color:#cecfce class=input><input type=button value='Search' style="font-family:Tahoma; font-size:7pt; color:#ffffff; background-color:#666666; border-width:1px; border-color:#666666; border-style:solid; height:18px;" class=input onclick=address_popup(1)><input type=checkbox value=1 name=open_home_address checked><span style=font-size:9pt;><font color="#181818">공개</font></span></td>
</tr>
</table></td>
</tr>
<? } ?>
<? if($group[use_home_tel]) { ?>
<tr>
<td width="134" height="30"><img align="top" src="member_img/name/home_phone.gif" width="134" height="29" border="0"></td>
<td width="410" height="30"><table width="385" cellpadding="0" cellspacing="0" background="member_img/dot.gif">
<tr>
<td width="400" height="29"><input type=text name=home_tel size=20 maxlength=20 value='<?=$member[home_tel]?>' style=border-color:#cecfce class=input><input type=checkbox value=1 name=open_home_tel checked><span style=font-size:9pt;><font color="#181818">공개</font></span></td>
</tr>
</table></td>
</tr>
<? } ?>
<? if($group[use_office_address]) { ?>
<tr>
<td width="134" height="30"><img align="top" src="member_img/name/com_address.gif" width="134" height="29" border="0"></td>
<td width="410" height="30"><table width="385" cellpadding="0" cellspacing="0" background="member_img/dot.gif">
<tr>
<td width="400" height="29"><input type=text name=office_address size=40 maxlength=255 value='<?=$member[office_address]?>' style=border-color:#cecfce class=input><input type=button value='Search' style="font-family:Tahoma; font-size:7pt; color:#ffffff; background-color:#666666; border-width:1px; border-color:#666666; border-style:solid; height:18px;" class=input onclick=address_popup(2)><input type=checkbox value=1 name=open_office_address checked><span style=font-size:9pt;><font color="#181818">공개</font></span></td>
</tr>
</table></td>
</tr>
<? } ?>
<? if($group[use_office_tel]) { ?>
<tr>
<td width="134" height="30"><img align="top" src="member_img/name/com_phone.gif" width="134" height="29" border="0"></td>
<td width="410" height="30"><table width="385" cellpadding="0" cellspacing="0" background="member_img/dot.gif">
<tr>
<td width="400" height="29"><input type=text name=office_tel size=20 maxlength=20 value='<?=$member[office_tel]?>' style=border-color:#cecfce class=input><span style=font-size:9pt;><font color="#181818"><input type=checkbox value=1 name=open_office_tel checked>공개</font></span></td>
</tr>
</table></td>
</tr>
<? } ?>
<? if($group[use_handphone]) { ?>
<tr>
<td width="134" height="30"><img align="top" src="member_img/name/handphone.gif" width="134" height="29" border="0"></td>
<td width="410" height="30"><table width="385" cellpadding="0" cellspacing="0" background="member_img/dot.gif">
<tr>
<td width="400" height="29"><input type=text name=handphone size=20 maxlength=20 value='<?=$member[handphone]?>' style=border-color:#cecfce class=input><input type=checkbox value=1 name=open_handphone checked><span style=font-size:9pt;><font color="#181818">공개</font></span></td>
</tr>
</table></td>
</tr>
<? } ?>
<? if($group[use_mailing]) { ?>
<tr>
<td width="134" height="30"><img align="top" src="member_img/name/mailing_join.gif" width="134" height="29" border="0"></td>
<td width="410" height="30"><table width="385" cellpadding="0" cellspacing="0" background="member_img/dot.gif">
<tr>
<td width="400" height="29"><input type=checkbox name=mailing value=1 checked><span style=font-size:9pt;><font color="#181818">메일링 가입</font></span></td>
</tr>
</table></td>
</tr>
<? } ?>
<? if($group[use_picture]) { ?>
<tr>
<td width="544" height="30" colspan="2" align="center">
<table cellpadding="0" cellspacing="0" width="544">
<tr>
<td width="534" height="29">
<table cellpadding="0" cellspacing="0" width="544" height="29">
<tr>
<td width="134"><img align="top" src="member_img/name/photo.gif" width="134" height="29" border="0"></td>
<td width="410"><input type=file name=picture size="34" maxlength=255 style=border-color:#cecfce class=input><? if($member[picture]) echo"<br> <img src='$member[picture]' border=0>"; ?><input type=checkbox value=1 name=open_picture checked><span style=font-size:9pt;><font color="#181818">공개</font></span></td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="534">
<table cellpadding="0" cellspacing="0" width="519">
<tr>
<td width="18" height="1"></td>
<td width="501" background="member_img/dot3.gif" height="1"></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<? } ?>
<? if($group[use_comment]) { ?>
<tr>
<td width="134" height="29"><img align="top" src="member_img/name/comment.gif" width="134" height="29" border="0"></td>
<td width="410" height="70" rowspan="2" valign="middle"><textarea cols="47" rows=4 name=comment style=border-color:#cecfce class=textarea><?=$member[comment]?></textarea><input type=checkbox value=1 name=open_comment checked><span style=font-size:9pt;><font color="#181818">공개</font></span></td>
</tr>
<tr>
<td width="134" height="41"></td>
</tr>
<? } ?>
<tr>
<td width="134" height="30"><img align="top" src="member_img/name/person.gif" width="134" height="29" border="0"></td>
<td width="410" height="30"><table width="385" cellpadding="0" cellspacing="0" background="member_img/dot.gif">
<tr>
<td width="400" height="29"><input type=checkbox name=openinfo value=1 checked><span style=font-size:9pt;><font color="#181818">정보 공개</font></span></td>
</tr>
</table></td>
</tr>
<tr>
<td width="134" height="11"></td>
<td width="410" height="11"></td>
</tr>
<tr>
<td width="544" height="50" colspan="2">
<table cellpadding="0" cellspacing="0" width="544">
<tr>
<td width="135" height="50"></td>
<td width="133" height="50"><input type=image src=member_img/join/yes.gif width="134" height="50" border=0 onfocus="this.blur()"></td>
<td width="276" height="50"><img src=member_img/exit.gif width="134" height="50" border=0 style=cursor:hand onClick=window.close()></td>
</tr>
</form>
</table>
</td>
</tr>
<tr>
<td width="134" height="18"></td>
<td width="410" height="18"></td>
</tr>
</table>
</body>
</html>
<?
@mysql_close($connect);
foot();
?>