|
|
|
|
ÇμøÀÌ / 2002-03-25 / ¿ÀÈÄ 6:19:43 / 61.33.59.215
Á¶È¸¼ö : 150
|
[Áú¹®] ȸ¿ø°¡ÀԺκÐÀÌ Àú¸¦ ¿ï·Á¿ä...x) |
Áö°¡¿ä...
»õ·Î ȸ»ç¿¡ µé¾î¿Ô´Âµ¥ ÀÌ ºÎºÐÀ» ¿Ï¼ºÇÏ¶ó±¸ Çؼ ÇÏ°í Àִµ¥ ¸îÀÏ° °í»ýÀ̳׿ä...
ȸ¿ø°¡ÀԺκп¡¼ ¸ðµç °ªÀ» µðºñ·Î ³Ñ±â´Â °Í ±îÁö´Â Çߴµ¥ Áߺ¹ ¾ÆÀ̵ð °Ë»ç¿¡¼ ¾È³Ñ¾î°¡³×¿ä. Á» µµ¿ÍÁÖ¼¼¿ä....
ÆÄÀÏÀº µÎ°µµ¥ Çϳª´Â µî·ÏȸéÀ̱¸, Çϳ °ªÀ» ¹Þ¾Æ Áߺ¹¾ÆÀ̵𸦠üũÇÏ´Â °Çµ¥ Á¤¸» ÀÚ²Ù ¾ÈµÇ³×¿ä...
Á» µµ¿ÍÁÖ¼¼¿ä....
µµ¿ÍÁÖ½Ã¸é ¿©±â ÁåÀå´ÔÀ» Å«¾ð´Ï·Î ¸ð½Ç²²¿ä....
registration.asp
<%@ Language=VBScript %>
<html>
<head>
<!--#include virtual="/inc/title.asp"-->
<!--#include virtual="/inc/css.asp"-->
<!--#include virtual="/inc/menu_java.asp"-->
<!--#include virtual="/inc/mail_java.asp"-->
<!--#include virtual="/inc/go_top.asp"-->
<meta http-equiv="content-type" content="text/html; charset=euc-kr">
<script language="vbscript">
sub join_idcheck_onClick()
IF join_form.join_id.value="" THEN
alert "¾ÆÀ̵𸦠ÀÔ·ÂÇÏ¼Å¾ß ÇÕ´Ï´Ù."
join_form.join_id.focus
ELSE
window.location.href="idcheck.asp?id="&document.join_form.join_id.value&""
END IF
end sub
function join_form_onSubmit
if (document.join_form.join_id.value="") or _
(document.join_form.join_passwd.value="") or _
(document.join_form.join_repasswd.value="") or _
(document.join_form.join_name.value="") or _
(document.join_form.join_email.value="") or _
(document.join_form.join_tel.value="") or _
(document.join_form.join_jumin.value="") then
alert "¸ðµÎ ÀÔ·ÂÇØÁÖ¼¼¿ä."
join_form_onSubmit=False
join_form.join_passwd.focus
ELSE
if document.join_form.join_passwd.value= document.join_form.join_repasswd.value then
IDtot = 0
IDAdd = "234567892345"
jumin=document.join_form.join_jumin.value
if len(jumin) < 13 then
alert "Áֹεî·Ï¹øÈ£ ÀÚ¸®°¡ Ʋ¸³´Ï´Ù."
join_form_onSubmit=False
join_form.join_jumin.focus
else
if (jumin="1234567890123") then
alert "Áֹεî·Ï¹øÈ£°¡ Ʋ¸³´Ï´Ù."
join_form_onSubmit=False
join_form.join_jumin.focus
else
for k=1 to 12
IDtot = IDtot + Mid(jumin, k, 1) * Mid(IDAdd, k, 1)
next
IDtot = 11 - (IDtot Mod 11)
if Right(jumin, 1)=Right(IDtot, 1) then
join_form_onSubmit=True
else
alert "Áֹεî·Ï¹øÈ£°¡ Ʋ¸³´Ï´Ù."
join_form_onSubmit=False
join_form.join_jumin.focus
end if
end if
end if
else
alert "ºñ¹Ð¹øÈ£°¡ Ʋ¸³´Ï´Ù."
join_form_onSubmit=False
join_form.join_passwd.focus
end if
END IF
end function
</script>
<script language="javascript">
function GoSearch()
{
fom = document.forms[0];
if ( document.InSearch.str_zip.value == "" )
{
alert("±âÀçÇÏ°í ½ÍÀº ÁÖ¼Ò¸¦ ¼±ÅÃÇϼ¼¿ä!");
fom.str_zip.focus();
return;
}
if (document.InSearch.str_zip.value.length <= 1)
{
alert("ÁÖ¼ÒÀÔ·ÂÀº 2ÀÚ¸® ÀÌ»óÀ̾î¾ß ÇÕ´Ï´Ù!");
fom.str_zip.focus();
return;
}
document.InSearch.submit();
}
</script>
<script language="JavaScript">
function onlyNumber()
{
if ( event.keyCode<48 || event.keyCode>57 )
event.returnValue=false;
}
// »õ·Î¿î À©µµ¿ì¶ç¿ì´ÂÇÔ¼ö
function sub(url, field)
{
var opt = "toolbar=no,resizable=yes,scrollbars=yes,location=no,resize=no,menubar=no,directories=no,copyhistory=0,width=470,height=250,top= 330,left = 370";
window.open(url, 'new_window', opt);
}
</script>
</head>
<body background="/images/left_bg.gif" topmargin=0 leftmargin=0 marginwidth=0 marginheight=0>
<form name=join_form action="insert.asp" method=post>
<table border=0 cellpadding=0 cellspacing=0 width=770 height="100%">
<tr>
<td valign="top">
<table border=0 cellpadding=0 cellspacing=0 width=770 height="100%">
<tr>
<td valign="top" width="170">
<table border=0 cellpadding=0 cellspacing=0 width=170>
<tr>
<td colspan=2><img src="images/left_top01.gif"></td>
</tr>
<tr>
<td background="/images/left_menu_bg.gif"><img src="/images/left_menu_bg.gif" width="9" height="1"></td>
<td>
</td>
</tr>
<tr>
<td colspan=2><img src="/images/left_top02.gif"></td>
</tr>
</table>
</td>
<td valign="top" width="20"><img src="/images/title_cap.jpg"></td>
<td valign="top" width="580">
<table border=0 cellpadding=0 cellspacing=0 width="100%">
<tr>
<td>
<table border=0 cellpadding=0 cellspacing=0 width="100%">
<tr>
<td><img src="images/title01.jpg"></td>
<td><img src="images/title_com.jpg"></td>
</tr>
</table>
</td>
</tr>
<tr><td height=5></td></tr>
<tr>
<td>
<!-- ȸ¿ø°¡ÀÔ ¾ç½Ä ³»¿ëÅ×À̺í %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%-->
<table width="580" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td> </td>
</tr>
<tr>
<td height="217" valign="top" align="center">
<table width=541 border=0 cellspacing=0 cellpadding=0 class=trcolor7>
<tr>
<td colspan=3 height=36 bgcolor=#ffffff><img src="images/bullet_01.gif">
[ <b><font color=#FF0000>*</font></b> ] Ç¥½Ã Ç׸ñÀº ȸ¿ø°¡ÀԽà Çʼö±âÀç»çÇ×ÀÔ´Ï´Ù.</td>
<td width=1 class=white height=36></td>
</tr>
</table>
<!--ÀüüÀûÀÎ ÆûÅ×ÀÌºí ¹Ú½º ½ÃÀÛ#####################################################-->
<table width=570 border=0 cellspacing=1 cellpadding=0 bgcolor=#BEBCBC>
<tr>
<td width=113 class=sign align=right><b><font color=#FF0000>*</font></b>
¾ÆÀ̵ð </td>
<td width="300" style="padding-top:0px; padding-right:0px; padding-bottom:0px; padding-left:3px;" colspan="3">
<span style="font-size:9pt;"><input type=text name=join_id id=join_id value=<%"join_id"%> size=8 style="border:1px dotted;border-color:#396da5;color:396da5;background-color:white;font-size:8pt"> <input type=button id=join_idcheck name=join_idcheck value=Áߺ¹Ã¼Å© style="border:1px dotted;border-color:#396da5;color:white;background-color:#396da5;font-size:8pt"></span>
</td>
</td>
<!--À̸§ºÎºÐ ³¡-->
</tr>
<tr>
<td width=113 class=sign height=35 align=right><b><font color=#FF0000>*</font></b>
ºñ¹Ð¹øÈ£ </td>
<td width=425 class=white>
<input type="password" name="join_passwd" id="join_passwd" maxlength="10" size="13" class="input">
<b>4</b>ÀÚ ÀÌ»ó ~ <b>10</b>ÀÚ À̳»</td>
</tr>
<tr>
<td width=113 class=sign height=35 align=right><b><font color=#FF0000>*</font></b>
ºñ¹Ð¹øȣȮÀÎ </td>
<td width=425 class=white>
<input type="password" name="join_repasswd" id="join_repasswd" maxlength="10" size="13" class="input">
</td>
</tr>
<tr>
<td width=113 class=sign height=35 align=right><b><font color=#FF0000>*</font></b>
À̸§ </td>
<td width=425 class=white>
<input type="text" name="join_name" id="join_name" maxlength="20" class="input">
</td>
</tr>
<tr>
<td width=113 class=sign height=35 align=right><b><font color=#FF0000>*</font></b>
Áֹεî·Ï¹øÈ£ </td>
<td width=425 class=white>
<input type="text" name="join_jumin" id="join_jumin" maxlength="15" size="14" class=input >
-¾øÀÌ ¼ýÀÚ¸¸ ³Ö¾îÁÖ¼¼¿ä.</td>
</tr>
<tr>
<td width=113 class=sign height=35 align=right><font color=#FF0000>*</font> À̸ÞÀÏ </td>
<td width=425 class=white height=30>
<input type="text" name="join_email" id="join_email" maxlength="50" class="input">
</td>
</tr>
<tr>
<td width=113 class=sign height=90 align=right><font color=#FF0000>*</font>ÁÖ¼Ò </td>
<td width=425 class=white height=79>
<!--ÁּҺРÀÛÀº Å×À̺í --------------------------------------------------->
<TABLE cellpadding="5" cellspacing="1" bgcolor="white" width="480" align="center">
<TR bgcolor="white" height="25">
<td align="center" style="padding:0" width="120" bgcolor="#EFEFEF">¿ìÆí¹øÈ£</td>
<td width="260" style="padding:0">
<input type="text" name="join_zipcode1" size="3" maxlength="3" onKeypress="onlyNumber();">
-
<input type="text" name="join_zipcode2" size="3" maxlength="3" onKeypress="onlyNumber();" >
</td>
<td width="100" style="padding:0" bgcolor="#dddddd" align="center">
<button onClick="sub('../ZC/zip.asp', this);" style="background-color:#dddddd; BORDER: #dddddd 1px solid; WIDTH:100%; HEIGHT: 20" class="verdana" accessKey="I">
¿ìÆí¹øÈ£°Ë»ö</button>
</td>
</TR>
<TR bgcolor="white" height="25">
<TD align="center" style="padding:0" width="120" bgcolor="#EFEFEF">
±âº» ÁÖ¼Ò :
</TD>
<TD height="5" width="387" colspan="2">
<input type="text" name="join_address1" size="30" style="HEIGHT:18; BORDER: white 1px solid; WIDTH: 100%">
</TD>
</TR>
<TR bgcolor="white" height="25">
<TD align="center" style="padding:0" width="120" bgcolor="#EFEFEF">³ª¸ÓÁö ÁÖ¼Ò</TD>
<TD height="5" width="387" colspan="2">
<input type="text" name="join_address2" size="30" style="HEIGHT:18; BORDER: white 1px solid; WIDTH: 100%">
</TD>
</TR>
</TABLE>
<!--ÁּҺРÀÛÀº Å×À̺í --------------------------------------------------->
</td>
</tr>
<tr>
<td width=113 class=sign height=35 align=right><font color=#FF0000>*</font>¿¬¶ôó </td>
<td width=425 class=white>
<input type="text" name="join_tel" id="join_tel" maxlength="20" class="input">
</td>
</tr>
<tr>
<td width=113 class=sign height=35 align=right>ÈÞ´ëÆù</td>
<td width=425 class=white>
<input type="text" name="join_mphone" maxlength="20" class="input">
</td>
</tr>
<tr>
<td width=113 class=sign height=35 align=right>ȨÆäÀÌÁö</td>
<td width=425 class=white>
<input type="text" name="join_site" id="join_site" value='http://' size=30 maxlength='100' class="input">
</td>
</tr>
<tr>
<td width=113 class=sign height=35 align=right>¼Ò°³</td>
<td width=425 class=white><textarea name="join_etc" id="join_etc" rows="5" cols="60"></textarea></td>
</tr>
</table>
<table width=580 border=0 cellspacing=0 cellpadding=10>
<tr>
<td height=30 >
<p>- <font color=#CC3300>Çʼö±âÀç»çÇ×À» ºüÁü¾øÀÌ ÀÔ·ÂÇϽŠÈÄ, ¾Æ·¡ÀÇ <b>È®ÀÎ</b> ¹öÆ°À» ´©¸£½Ã¸é °¡ÀÔÀÌ ¿Ï·áµË´Ï´Ù.</font><br>
</td>
</tr>
</table>
<table cellpadding=4 border=0 cellspacing=5>
<tr>
<p align="center"><span style="font-size:10pt;"><input type=submit name=submit id=submit value=ȸ¿ø°¡ÀÔ style="border:1px dotted;border-color:#396da5;color:white;background-color:#396da5;font-size:8pt;width:50"> <input type=reset value=´Ù½Ã style="border:1px dotted;border-color:#396da5;color:white;background-color:#396da5;font-size:8pt;width:50" id=reset name=reset></span></p>
<td><a href="insert.asp"><img src="images/join.gif" border=0 input type=submit name=submit id=submit></a></td>
<td><img src="images/cancel.gif" border=0 input type=reset id=reset name=reset></td>
</tr>
</table>
</td>
</tr>
</table>
<!--ȸ¿ø°¡ÀÔ ¾ç½Ä ³»¿ëÅ×ÀÌºí ³¡%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%-->
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td valign="bottom">
</td>
</tr>
</table>
</form>
</body>
</html>
idcheck.asp
<%@ Language=VBScript %>
<OBJECT RUNAT=server PROGID=ADODB.Connection id=conn></OBJECT>
<%
idcheck=Request.QueryString("join_id")
%>
<!--#include file="dbconn.inc"-->
<%
sqlstring="select num from member where id='"&idcheck&"' order by num desc"
set result=conn.Execute(sqlstring)
if not result.eof then
%>
<script language="javascript">
window.alert("ÀÌ¹Ì ´Ù¸¥ »ç¿ëÀÚ°¡ »ç¿ëÇÏ°í ÀÖ½À´Ï´Ù.")
window.history.back(1)
</script>
<%
else
%>
<script language="javascript">
window.alert("»ç¿ëÇÏ½Ç ¼ö ÀÖ½À´Ï´Ù.")
window.history.back(1)
</script>
<%
end if
conn.Close
%>
|
|
|
|