<html>
<head>
<title>FormMail</title>
<script>
function send() {
if(document.sendform.to_mail.value.length==0) {
alert("¹Þ´Â»ç¶÷ÀÇ E-mailÀ» ÀÔ·ÂÇϼ¼¿ä!");
document.sendform.to_mail.focus();
return false;
}
if(document.sendform.from_mail.value.length==0) {
alert("º¸³»´Â»ç¶÷ÀÇ E-mailÀ» ÀÔ·ÂÇϼ¼¿ä!");
document.sendform.from_mail.focus();
return false;
}
if(document.sendform.content.value.length==0) {
alert("³»¿ëÀ» ÀÔ·ÂÇϼ¼¿ä!");
document.sendform.content.focus();
return false;
}
document.sendform.submit();
}
</script>
</head>
<body>
<form name="sendform" method=post action="sendmail.php">
<table border="1" cellspacing="1" bgcolor="#F2F2F9"
bordercolordark="white" bordercolorlight="#BAC0FA"
style="border-width:1pt; border-color:blue; border-style:dotted;"
align="center" width="400">
<tr>
<td colspan=2 align=center><font color="#0000CC"><b>Mail
º¸³»±â</b></font></td>
</tr>
<tr>
<td bgcolor="#D6D7FF" align=right><font
color="blue" face="±¼¸²" size="2">¹Þ´Â»ç¶÷
À̸§ </font></td>
<td><input type=text onMouseOver="this.style.background='#fdf6f6'"
onMouseOut="this.style.background='#f7f7fd'" name="to_name"
style="color:blue; background-color:rgb(247,247,255);
border-width:1; border-color:blue; border-style:solid;"></td>
</tr>
<tr>
<td bgcolor="#D6D7FF" align=right><font
color="blue" face="±¼¸²" size="2">¹Þ´Â»ç¶÷
E-mail </font></td>
<td><input type=text onMouseOver="this.style.background='#fdf6f6'"
onMouseOut="this.style.background='#f7f7fd'" name="to_mail"
style="color:blue; background-color:rgb(247,247,255);
border-width:1; border-color:blue; border-style:solid;"
value=""></td>
</tr>
<tr>
<td bgcolor="#D6D7FF" align=right><font
color="blue" face="±¼¸²" size="2">º¸³»´Â»ç¶÷
À̸§ </font></td>
<td><input type=text onMouseOver="this.style.background='#fdf6f6'"
onMouseOut="this.style.background='#f7f7fd'" name="from_name"
style="color:blue; background-color:rgb(247,247,255);
border-width:1; border-color:blue; border-style:solid;"></td>
</tr>
<tr>
<td bgcolor="#D6D7FF" align=right><font
color="blue" face="±¼¸²" size="2">º¸³»´Â»ç¶÷
E-mail </font></td>
<td><input type=text onMouseOver="this.style.background='#fdf6f6'"
onMouseOut="this.style.background='#f7f7fd'" name="from_mail"
style="color:blue; background-color:rgb(247,247,255);
border-width:1; border-color:blue; border-style:solid;"></td>
</tr>
<tr>
<td bgcolor="#D6D7FF" align=right><font
color="blue" face="±¼¸²" size="2">Á¦¸ñ </font></td>
<td><input type=text onMouseOver="this.style.background='#fdf6f6'"
onMouseOut="this.style.background='#f7f7fd'" size="35"
name="title" style="color:blue; background-color:rgb(247,247,253);
border-width:1; border-color:blue; border-style:solid;"></td>
</tr>
<tr>
<td colspan="2" align=center><textarea
name="content" onMouseOver="this.style.background='#fdf6f6'"
onMouseOut="this.style.background='#e1e2fc'" rows="10"
cols="50" style="color:blue; background-color:rgb(212,212,250);
border-width:1; border-color:blue; border-style:solid;"></textarea></td>
</tr>
<tr>
<td colspan="2" align=center><input type="button"
value="ÆíÁöº¸³»±â" onClick="self.send();" style="font-size:9pt;
color:blue; background-color:rgb(225,226,252); border-width:1;
border-color:blue; border-style:solid; height:18;" name="send">
<input type="reset" value="´Ù½Ã¾²±â"
style="font-size:9pt; color:blue; background-color:rgb(231,227,255);
border-width:1; border-color:blue; border-style:solid; height:18;"
name="reset"></td>
</tr>
</table>
</form>
</body>
</html>
|