?? email_send.asp
字號:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file=DataBase/conn.asp-->
<!--#include file=config.asp-->
<!--#include file=purview.asp-->
<%
call email
set rs=server.CreateObject("adodb.recordset")
sql="select * from tb_Addresser order by id desc"
rs.open sql,conn,1,1
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>無標(biāo)題文檔</title>
<style type="text/css">
<!--
body {
background-color: #DFEEFF;
}
body,td,th {
font-size: 12px;
}
-->
</style>
<link href="css/css.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.style1 {font-weight: bold}
-->
</style>
</head>
<script language="javascript">
function checks()
{
if(form1.ClientName.value=="")
{
alert("請選擇收件人");
return false;
}
else if(form1.title.value=="")
{
alert("標(biāo)題不能為空");
return false;
}
else if(form1.content.value=="")
{
alert("內(nèi)容不能為空");
return false;
}
}
</script>
<body >
<form name="form1" method="post" action="email_sendsave.asp">
<fieldset class="fiedset">
<legend>發(fā)送郵件</legend>
<table width="970" height="248" border="0" align="center" cellspacing="0" bgcolor="#FFFFFF" class="table">
<tr>
<td width="18%" height="30" align="right">收件人地址:</td>
<td colspan="3" ><input name="ClientName" type="text" class="in" id="ClientName" value="<%=request("email")%>" size="30" readonly="true">
<input name="post" type="hidden" id="post" value="true"></td>
<td width="8%" align="right">發(fā)件人:</td>
<td width="33%" colspan="3">
<% if not rs.eof then %>
<select name="SendName" id="SendName">
<%
for i=1 to rs.recordcount
%>
<option value="<%=rs("id")%>"><%=rs("EmailName")%></option>
<%
rs.movenext
next
else
response.Write("沒有發(fā)件人,請<a href=Email_Addresser_add.asp>添加</a>")
%>
</select>
<% end if %>
</td>
</tr>
<tr>
<td height="30" align="right">郵件標(biāo)題:</td>
<td colspan="3"><input name="title" type="text" class="in" id="title" size="30"></td>
<td align="right"> </td>
<td colspan="3"> </td>
</tr>
<tr>
<td height="30" align="right"> </td>
<td colspan="7" rowspan="5"><textarea name="content" cols="90" rows="9" class="table" id="content"></textarea></td>
</tr>
<tr>
<td height="30" align="right"> </td>
</tr>
<tr>
<td height="30" align="right"> </td>
</tr>
<tr>
<td height="30" align="right"> </td>
</tr>
<tr>
<td height="30" align="right"> </td>
</tr>
<tr align="center">
<td height="30" colspan="8"><input name="Submit" type="submit" class="input" value=" 發(fā) 送 " onClick="return checks()"></td>
</tr>
</table>
<table width="90%" height="5" border="0" align="center">
<tr>
<td></td>
</tr>
</table>
</fieldset>
</form>
</body>
</html>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -