[¼Ò½º] À̸ÞÀÏ ¼Ò½º
À̸ÞÀÏ ¼Ò½º..!! |
<SCRIPT LANGUAGE="JavaScript"> function pop(pPage,Opt) { popUpWin = window.open(pPage,'',Opt); }
function check_mail(cg) { emailEx1 = /[^@]+@[A-Za-z0-9_-]+.[A-Za-z]+/; emailEx2 = /[^@]+@[A-Za-z0-9_-]+.[A-Za-z0-9_-]+.[A-Za-z]+/; emailEx3 = /[^@]+@[A-Za-z0-9_-]+.[A-Za-z0-9_-]+.[A-Za-z0-9_-]+.[A-Za-z]+/;
if(emailEx1.test(cg.value)) return true;; if(emailEx2.test(cg.value)) return true; if(emailEx3.test(cg.value)) return true;
return false; } function check_field() { var cf = document.form;
if (cf.f_name.value.length < 2) { alert("º¸³»´Â »ç¶÷ À̸§À» ÀÔ·ÂÇØÁÖ¼¼¿ä."); cf.f_name.focus(); return false; } if(!check_mail(cf.f_mail)) { alert("º¸³»´Â»ç¶÷ ¸ÞÀÏÁÖ¼Ò°¡ Çü½Ä¿¡ ¸ÂÁö ¾Ê½À´Ï´Ù."); cf.f_mail.focus(); return false; } if(!check_mail(cf.t_mail)) { alert("¹Þ´Â»ç¶÷ ¸ÞÀÏÁÖ¼Ò°¡ Çü½Ä¿¡ ¸ÂÁö ¾Ê½À´Ï´Ù."); cf.t_mail.focus(); return false; } if (cf.m_title.value.length < 2) { alert("Á¦¸ñÀ» ÀÔ·ÂÇØ ÁÖ¼¼¿ä."); cf.m_title.focus(); return false; } if (cf.comments.value.length < 2) { alert("º¸³»°í ½ÍÀº ³»¿ëÀ» ÀÔ·ÂÇØ ÁÖ¼¼¿ä."); cf.comments.focus(); return false; } if (cf.comments.value.length > 5000) { alert("º¸³»°í ½ÍÀº ³»¿ë ±ÛÀÚ¼ö°¡ 5,000ÀÚ¸¦ ³ÑÀ»¼ö ¾ø½À´Ï´Ù."); cf.comments.focus(); return false; }
return true; } </SCRIPT>
<FORM NAME="form" METHOD="POST" ACTION="http://3mail.supercgi.com/kr/mail.cgi"> <center> <input type=hidden NAME="mailok" VALUE="1"><p> ÀÌ ¸§ <INPUT TYPE=TEXT NAME=f_name MAXLENGTH=16 SIZE=16> html <INPUT TYPE="CHECKBOX" NAME="ishtml" VALUE="1"><p> º¸³»´Â »ç¶÷ ¸ÞÀÏ <INPUT TYPE=TEXT NAME=f_mail MAXLENGTH=45 SIZE=26><p> ¹Þ ´Â »ç¶÷ ¸ÞÀÏ <INPUT TYPE=TEXT NAME=t_mail MAXLENGTH=45 SIZE=26><p> Á¦ ¸ñ <INPUT TYPE=TEXT NAME=m_title MAXLENGTH=50 SIZE=33><p> ³» ¿ë<br><TEXTAREA NAME=comments ROWS=6 COLS=43></TEXTAREA><p> <input type="SUBMIT" name="SUBMIT" value="º¸³»±â" onClick=" return check_field()"> </FORM>
|
|