
<!--#include file="./Conn_Mail.asp"-->
<!--#include file="inc/Check.asp"-->
<!--#include file="inc/public.asp"-->
<!--#include file="./F.asp"-->
<%
Dim Makking
	Makking      = Trim(Request.QueryString("Makking"))
Select Case Makking

Case "Save"

Set Rs = Conn_m.Execute("Select * From Leach_Mail where Mail='"& Trim(Request.Form("Mail")) &"'")
	IF Not Rs.EOF Then
			Save_Title = "数据库中已有相同邮件"
			Call Save_err()
	End if 
	Rs.Close
Set Rs = Nothing

		Conn_m.Execute("Insert Into Leach_Mail (Mail,DateTime) values ('"& Trim(Request.Form("Mail")) &"','"& Now() &"')")
	
			Save_Title = "·添加成功"
			Call Save_ok()
		
Case ""
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>ELIGHT.CC</title>
</head>
<link href="Images/Admin.css" rel="stylesheet" type="text/css">
<body>
<table width="98%" height="40"  border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td><table width="100%"  border="0" align="center" cellpadding="2" cellspacing="1" bgcolor="#D8D8D8">
        <tr>
          <td height="30" align="left" bgcolor="ffffff"><table width="100%" height="100%"  border="0" cellpadding="3" cellspacing="0">
              <tr bgcolor="eeeeee">
                <td width="5%" align="center"><img src="Images/1.gif" width="13" height="12"></td>
                <td width="45%"><span class="style2">管理中心 &gt;&gt;&gt; 邮件地址过滤</span></td>
                <td width="50%" align="right"></td>
              </tr>
          </table></td>
        </tr>
    </table></td>
  </tr>
</table>
<table width="98%" height="90%"  border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#D8D8D8">
  <tr>
    <td valign="top" bgcolor="ffffff"><table width="96%"  border="0" align="center" cellpadding="0" cellspacing="0">
        <tr> 
          <td align="center" bgcolor="ffffff"> <form method='POST' name="Userform" action='Leach_Mail.asp?Makking=Save'>
              <br>
              <table width=100% border=0 align='center' cellpadding=3 
      cellspacing=1 bordercolordark=#ffffff bgcolor="#Eeeeee" City='size09'>
                <tr bgcolor="ffffff"> 
                  <td width='17%' height="25" align="right" bgcolor="ffffff">邮件地址：</td>
					  <td width="83%" height="25" bgcolor="ffffff"> <input name="Mail" type=text class="box6" id="Mail" size=50> 
                  </td>
                </tr>
              </table>
              <p> 
                &nbsp; <input name=Submit type=Submit class="BoxBoult" id="Submit" value="添加">
                <input name="Clear" type="reset" class="BoxBoult" value="返回" onClick="javascript:history.go(-1)">
              </p>
            </form></td>
        </tr>
      </table></td>
  </tr>
</table>
<table width="98%"  border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="6"></td>
  </tr>
</table>
<%end select
Conn_m.Close
Set Conn_m = Nothing
%>
</body>
</html>