Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
edit_mail.asp
Package: imail.rar [view]
Upload User: lwb168
Upload Date: 2021-10-31
Package Size: 722k
Code Size: 5k
Category:
Email Server
Development Platform:
ASP/ASPX
- <!--#include file = admin_conn.asp -->
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
- <title>新增--群发邮件</title>
- <base target="_self">
- <STYLE type="text/css"> <!-- a:link { text-decoration: none; font-family: AdobeSm; color: #000000 }
- a:visited { text-decoration: none; color: #000000 }
- A:hover {COLOR: green; FONT-FAMILY: "宋体"; TEXT-DECORATION: underline;}
- body { font-size: 9pt; font-family: 宋体, Arial;color: #000000}
- TD {FONT-SIZE: 9pt; FONT-FAMILY: "宋体", "Arial";color: #000000}
- p {FONT-SIZE: 9pt; FONT-FAMILY: "宋体", "Arial";color: #000000}
- input {FONT-SIZE: 9pt; FONT-FAMILY: "宋体", "Arial";color: #000000}
- body { margin-top: 0; margin-bottom: 0; color: #000000 }
- --></STYLE>
- </head>
- <body>
- <%
- if request("id")<>"" then
- id=request("id")
- sql = "select * from mail where id="&id
- Set rs = Server.CreateObject("ADODB.RecordSet")
- rs.Open sql,conn,1,1
- name1=rs("name")
- email=rs("email")
- email_pop=rs("email_pop")
- email_pass=rs("email_pass")
- title=rs("title")
- add=rs("add")
- content=rs("info")
- rs.close
- set rs=nothing
- end if
- %>
- <form method="POST" action="admin_news_add_save.asp<%if request("id")<>"" then response.write "?edit=1&id="&request("id")%>" onsubmit="return FrontPage_Form1_Validator(this)" language="JavaScript" name="FrontPage_Form1">
- <table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#0000FF">
- <tr>
- <td width="14%" height="25" bgcolor="#FFFFFF"><font size="2">发件人名称:</font></td>
- <td width="67%" bgcolor="#FFFFFF"> <input name="name" type="text" id="name" value="<%=name1%>">
- </td>
- <td width="19%" rowspan="6" bgcolor="#FFFFFF">邮件列表:
- <textarea name="add" rows="40" id="add"><%=add%></textarea></td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF"><font size="2">发件人邮箱:</font></td>
- <td height="10" bgcolor="#FFFFFF"> <input name="email" type="text" id="email" value="<%=email%>"></td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">发件人smtp邮箱<font size="2">:</font></td>
- <td height="4" bgcolor="#FFFFFF"><input name="email_pop" type="text" id="email_pop" value="<%=email_pop%>">
- </td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF"><font size="2">发件人邮箱密码:</font></td>
- <td height="5" bgcolor="#FFFFFF"><input name="email_pass" type="password" id="email_pass" value="<%=email_pass%>"></td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF"><font size="2">发件主题:</font></td>
- <td height="10" bgcolor="#FFFFFF"> <input name="title" type="text" id="title" value="<%=title%>" size="70"></td>
- </tr>
- <tr>
- <td height="500" colspan="2" bgcolor="#FFFFFF">
- <table border="0" width="100%" id="table1" cellspacing="0" cellpadding="0">
- <tr>
- <td>
- <!--webbot BOT="GeneratedScript" PREVIEW=" " startspan -->
- <script Language="JavaScript" Type="text/javascript"><!--
- function FrontPage_Form1_Validator(theForm)
- {
- if (theForm.title.value == "")
- {
- alert("请在 新闻信息标题 域中输入值。");
- theForm.title.focus();
- return (false);
- }
- if (theForm.title.value.length < 5)
- {
- alert("在 新闻信息标题 域中,请至少输入 5 个字符。");
- theForm.title.focus();
- return (false);
- }
- if (theForm.title.value.length > 100)
- {
- alert("在 新闻信息标题 域中,请最多输入 100 个字符。");
- theForm.title.focus();
- return (false);
- }
- return (true);
- }
- //--></script><!--webbot BOT="GeneratedScript" endspan -->
- <table border="1" width="100%" id="table2" cellspacing="0" cellpadding="5" style="border-collapse: collapse" bordercolor="#80ABF4">
- <tr style="DISPLAY: none">
- <td width="10%" align="center">新闻信息标题</td>
- <td width="47%">
- <!--webbot bot="Validation" s-display-name="新闻信息标题" b-value-required="TRUE" i-minimum-length="5" i-maximum-length="100" -->
- </td style="DISPLAY: none">
- <td width="40%">填写新闻信息标题(不能超过100字)</td>
- </tr>
- <tr style="DISPLAY: none">
- <td width="10%" align="center">栏目选择</td>
- <td width="47%"> <select size="1" name="lm">
- </select><textarea name="content" style="display:none" cols="1" rows="1"><%if content<>"" then response.write content%></textarea></td>
- <td width="40%"> </td>
- </tr>
- <tr>
- <td colspan="3">
- <IFRAME ID="eWebEditor1" SRC="edit/ewebeditor.asp?id=content&style=news" FRAMEBORDER="0" SCROLLING="no" WIDTH="100%" HEIGHT="400" marginwidth="1" marginheight="1" name="wfasdg"></IFRAME></td>
- </tr>
- <tr>
- <td width="10%"> </td>
- <td width="47%"> </td>
- <td width="40%"> </td>
- </tr>
- </table>
- <p align="center"><input type="submit" value=" 保 存 " name="B1"> <input type="reset" value=" 重 置 " name="B2"></p>
- <p> </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </form>
- </body>
- </html>
- <%
- conn.close
- set conn=nothing
- %>