📄 write_email.asp
字号:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<%
str = "select name,email from member where id = " & Request("receipt")
session("rs").open str,session("conn")
if not session("rs").eof then
session("contact") = trim(session("rs")("name"))
session("contact_email") = trim(session("rs")("email"))
else
Response.End()
end if
session("rs").close
%>
<html>
<head>
<title>写邮件</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="../style/style.css" rel="stylesheet" type="text/css">
</head>
<body>
<FORM action="send_email.asp" method="post" name="formEmail" enctype="multipart/form-data">
<TABLE width="500" border="0" cellspacing="1" cellpadding="1" align="center">
<TR>
<TD width="20%" height="20" bgcolor="#dddddd"> 收信人:</TD>
<TD height="20" colspan="3" bgcolor="#dddddd"> <a id="recipient" href="mailto:<% = session("contact_email") %>"><% = session("contact") %></a>
<INPUT type="hidden" name="recipientName" value="<% = session("contact") %>">
<INPUT type="hidden" name="recipientEmail" value="<% = session("contact_email") %>">
</TD>
</TR>
<TR>
<TD width="20%" bgcolor="#FFFFFF"> 你的姓名:</TD>
<TD width="30%" bgcolor="#FFFFFF"> <INPUT name="name" type="text">
</TD>
<TD width="20%" bgcolor="#FFFFFF"> 你的电子邮件:</TD>
<TD width="30%" align="right" bgcolor="#FFFFFF"> <INPUT name="email" type="text">
</TD>
</TR>
<TR>
<TD width="20%" bgcolor="#dddddd"> 电话:</TD>
<TD width="30%" bgcolor="#dddddd"> <INPUT name="phone" type="text">
</TD>
<TD width="20%" bgcolor="#dddddd"> 传真:</TD>
<TD width="30%" align="right" bgcolor="#dddddd"> <INPUT name="fax" type="text">
</TD>
</TR>
<TR>
<TD width="20%" bgcolor="#FFFFFF"> 邮件标题:</TD>
<TD width="30%" bgcolor="#FFFFFF"> <input name="subject" type="text"></TD>
<TD width="20%" bgcolor="#FFFFFF"> 城市:</TD>
<TD width="30%" align="right" bgcolor="#FFFFFF"> <INPUT name="city" type="text">
</TD>
</TR>
<TR>
<TD width="20%" valign="top" bgcolor="#dddddd"> 内容:</TD>
<TD colspan="3" bgcolor="#dddddd"> <textarea name="content" style="width:400;height:100"></textarea></TD>
</TR>
<TR>
<TD valign="top" bgcolor="#ffffff"> 附件:</TD>
<TD colspan="3" bgcolor="#ffffff"><input name="accessory" type="file" id="accessory" style="width:400;height:20"></TD>
</TR>
<TR>
<TD valign="top" bgcolor="#dddddd"> </TD>
<TD colspan="3" bgcolor="#dddddd"><input name="submit" type="submit" id="submit" value="送 出">
</TD>
</TR>
</TABLE>
</FORM>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -