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

📄 send_mail.asp

📁 不是我做的一个留言板
💻 ASP
字号:
<!--#include file="conn.asp" -->
<!--#include file="../function/function.asp" -->
<!--#include file="session.asp" -->
<body>
<center>
<%
web_id="../language/"&l_id
web_id=web_id&"/CHECK.ASP"
call include(web_id)

web_id="../language/"&l_id
web_id=web_id&"/USER_ADMIN.ASP"
call include(web_id)
         mail_id=request.querystring("mail_id") 
 %>
<!--webbot BOT="GeneratedScript" PREVIEW=" " startspan -->
<script Language="JavaScript">
<!--
function FrontPage_Form1_Validator(theForm)
{

  if (theForm.mail_to.value == "")
  {
    alert("<%=L_CHECK_email1%>");
    theForm.mail_to.focus();
    return (false);
  }

  if (theForm.mail_to.value.length > 40)
  {
    alert("<%=L_CHECK_email2%>");
    theForm.mail_to.focus();
    return (false);
  }

  if (theForm.mail_title.value == "")
  {
    alert("<%=L_CHECK_email3%>");
    theForm.mail_title.focus();
    return (false);
  }

  if (theForm.mail_title.value.length > 40)
  {
    alert("<%=L_CHECK_email4%>");
    theForm.mail_title.focus();
    return (false);
  }

  if (theForm.mail_content.value == "")
  {
    alert("<%=L_CHECK_email5%>");
    theForm.mail_content.focus();
    return (false);
  }

  if (theForm.mail_content.value.length > 100)
  {
    alert("<%=L_CHECK_email6%>");
    theForm.mail_content.focus();
    return (false);
  }
  return (true);
}
//-->
</script>
<!--webbot BOT="GeneratedScript" endspan -->
<form action='mail_to2.asp' methot='post' onsubmit="return FrontPage_Form1_Validator(this)" name="FrontPage_Form1">
 <table width="356" border="1" cellpadding="2" cellspacing="1" bgcolor="<%=list_borderbg_color%>">
    <tr>
<td align='center' colspan="2" bgcolor="<%=list_bg_color%>" width="356">:::<%=id%>:::</td></tr>

<tr>
      <td bgcolor="<%=list_bg_color%>" width="137"><%=L_MAIL3%></td>
      <td bgcolor="<%=list_bg_color%>" width="211"> 
        <!--webbot bot="Validation" B-Value-Required="TRUE"
        I-Maximum-Length="40" --> 
        <input name="mail_to" type="text" size="27" height="20" style="background-color: <%=test_style_onMouseOut%>" onMouseOver = "this.style.backgroundColor = '<%=test_style_onMouseOver%>'" onMouseOut = "this.style.backgroundColor = '<%=test_style_onMouseOut%>'" maxlength="50" value="<%=mail_id%>">
      </td>
    </tr>
    <tr>
      <td bgcolor="<%=list_bg_color%>" width="137"><%=L_MAIL4%>:</td>
      <td bgcolor="<%=list_bg_color%>" width="211"> 

<input name="mail_title" type="text" size="27" height="20" style="background-color: <%=test_style_onMouseOut%>" onMouseOver = "this.style.backgroundColor = '<%=test_style_onMouseOver%>'" onMouseOut = "this.style.backgroundColor = '<%=test_style_onMouseOut%>'" maxlength="40">
      </td>
    </tr>

    <tr> 
      <td bgcolor="<%=list_bg_color%>" colspan="2" width="356"><%=L_MAIL5%>:<br>
        <br>
        <!--webbot bot="Validation" B-Value-Required="TRUE"
        I-Maximum-Length="100" --><textarea name="mail_content" cols="47" rows="7" id="primsgcontent" style="background-color: <%=test_style_onMouseOut%>" onMouseOver = "this.style.backgroundColor = '<%=test_style_onMouseOver%>'" onMouseOut = "this.style.backgroundColor = '<%=test_style_onMouseOut%>'"></textarea>
        <div align="center">
          &nbsp;<input type="submit" name="Submit" value="<%=L_MAIL6%>" style="background-color: <%=test_style_onMouseOut%>" onMouseOver = "this.style.backgroundColor = '<%=test_style_onMouseOver%>'" onMouseOut = "this.style.backgroundColor = '<%=test_style_onMouseOut%>'">&nbsp;  
          <input type="reset" name="Submit2" value="<%=L_MAIL7%>" style="background-color: <%=test_style_onMouseOut%>" onMouseOver = "this.style.backgroundColor = '<%=test_style_onMouseOver%>'" onMouseOut = "this.style.backgroundColor = '<%=test_style_onMouseOut%>'">
        </div></td>
    </tr>
  </table>
</form>

⌨️ 快捷键说明

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