⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 postaction.asp

📁 5237 论坛.rar
💻 ASP
字号:
<!--#include file="Connections/connY.asp" -->
<!--#include file="Inc/SetCss.asp" -->
<%
ToWho=Request.Form("ToWho")
Sender=Request.Form("Poster")
Mood=Request.Form("Mood")
Title=Request.Form("Title")
Content=Request.Form("Content")
BW=Split(Forum_BadWords,"|")
For I = 0 To Ubound(BW)
Content=Replace(Content,BW(I),String(Len(BW(I)),"*"), 1,-1,1) 
Next
For I = 0 To Ubound(BW)
Title=Replace(Title,BW(I),String(Len(BW(I)),"*"), 1,-1,1) 
Next
Mood=Request.Form("Mood")
SendTime=Request.Form("SendTime")
If Title="" Or Content="" Or ToWho="" Then Response.Redirect "Error.asp?Error=7"
Set rsAdd = Server.CreateObject("ADODB.Recordset")
Sql = "Select *  From tMailManage"
rsAdd.Open Sql,ConnY,3,3
rsAdd.AddNew
rsAdd("rTitle")=Title
rsAdd("rContent")=Content
rsAdd("rMood")=Mood
rsAdd("rSendTime")=SendTime
rsAdd("rSender")=Sender
rsAdd("rIncept")=ToWho
rsAdd.Update
rsAdd.Close
BackToURL="Mail.asp"
%>
<html>
<head>
<title><%=Forum_Title%></title>
<meta http-equiv="Content-Type" content="text/html;">
<meta http-equiv="Expires" CONTENT="0">
<meta http-equiv="Cache-Control" CONTENT="no-cache">
<meta http-equiv="Pragma" CONTENT="no-cache">
<!--#include file="Inc/Css.asp" -->
</head>
<body leftmargin="0" topmargin="0" bgcolor="<%=Forum_ColorList_BgColor%>" vlink="<%=Forum_Css_A_Link_Color%>">
<!--#include file="Inc/Top.asp" -->
<table width="<%=Forum_Width%>" border="0" cellspacing="1" cellpadding="0" align="center" bgcolor="<%=Forum_ColorList_BorderColor%>">
  <tr bgcolor="<%=Forum_ColorList_BgColor%>"> 
    <td height="20"> 
      <table width="100%" border="0" cellspacing="0" cellpadding="0" class="font">
        <tr> 
          <td>&nbsp;您所在的位置: <a href="../" onFocus="this.blur()">首页</a> &gt;&gt; 
            <a href="List.asp" onFocus="this.blur()">讨论组</a> &gt;&gt; <a href="Mail.asp" onFocus="this.blur()">社区信箱</a> 
            &gt;&gt; <font color="<%=Forum_ColorList_NavFontColor%>">发送信件</font></td>
          <td width="150"></td>
          <td width="18"> 
            <div align="center"></div>
          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table width="<%=Forum_Width%>" border="0" cellspacing="0" cellpadding="0" align="center">
  <tr> 
    <td height=1></td>
  </tr>
</table>
<table width="<%=Forum_Width%>" border="0" cellspacing="1" cellpadding="2" align="center" class="font" bgcolor="<%=Forum_ColorList_BorderColor%>">
  <tr>
    <td bgcolor="<%=Forum_ColorList_BgColor%>" height="394">
      <div align="center">
        <table width="400" border="0" cellspacing="1" cellpadding="2" bgcolor="<%=Forum_ColorList_BorderColor%>" class="font">
          <tr>
            <td height="100" bgcolor="<%=Forum_ColorList_AlternateColor1%>">
              <div align="center"><font color="<%=Forum_ColorList_PFontColor%>">发送信件成功<br>
                </font><br>
                该页面将会在3秒钟后自动返回</div>
            </td>
          </tr>
        </table>
        <script language=javascript>
setTimeout("location.replace('<%=BackToURL%>')",3000)
</script>
        <br>
        <br>
        <br>
        <br>
        <br>
        <br>
      </div>
    </td>
  </tr>
</table>
<table width="<%=Forum_Width%>" border="0" cellspacing="0" cellpadding="0" align="center" id=infoborder style="DISPLAY: none">
  <tr> 
    <td height=1></td>
  </tr>
</table>
<!--#include file="Inc/Bottom.asp" -->
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -