
<!--#include file="./Conn_mail.asp"-->
<!--#include file="inc/Check.asp"-->
<!--#include file="inc/public.asp"-->
<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="100%"  border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
          <td align="center" bgcolor="ffffff">          <table width=100% border=0 align='center' cellpadding=3 cellspacing=1 bordercolordark=#ffffff bgcolor="eaeaea">
              <tr align="left" bgcolor="ffffff" background="Images/box_bg.gif"> 
                <td width="5%" height="20" background="Images/box_bg.gif" class='color01'>ID</td>
                <td width="26%" height="20" background="Images/box_bg.gif" class='color01'>邮件服务器</td>
                <td width="23%" height="20" background="Images/box_bg.gif" class='color01'>邮件名称</td>
                <td width="18%" height="20" background="Images/box_bg.gif" class='color01'>发送人</td>
                <td width="10%" background="Images/box_bg.gif" class='color01'>状态</td>
                <td width="18%" height="20" background="Images/box_bg.gif" class='color01'>操作</td>
              </tr>
              <%
	sql="select * from SendMail_Setup"
    set rs=server.createobject("adodb.recordset")
	rs.open sql,conn_m,1,1
	if not(rs.bof and rs.eof) then
	'==============================page
	rs.PageSize =15
	%>
              <!--#include file="./page.asp"-->
              <tr align="left" bgcolor="ffffff" onmouseout="this.style.backgroundColor=''" onmouseover="this.style.backgroundColor='#F5F5F5'"> 
                <td height="24"><%=Rs("ID")%></td>
                <td height="24"><%=Rs("MailAddress")%></td>
                <td height="24"><%=Rs("MailSend")%></td>
                <td height="24"><%=Rs("MailName")%></td>
                <td height="24">
                  <%if Rs("ok")=0 then Response.Write("锁定") else Response.Write("启用") END IF%>
                </td>
                <td height="24"><span class="color01"><a href="SendMail_Setup.asp?ID=<%=rs("ID")%>">修改</a>|<a href="SendMail_Setup.asp?Makking=del&ID=<%=rs("ID")%>" onClick="return confirm('您确定要这样操作吗？')">删除</a></span></td>
              </tr>
              <%   
			rs.movenext
			next
			end if
           %>
            </table></td>
        </tr>
    </table>
      <table width="100%"  border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td width="50%" height="24" align="left" background="Images/box_bg_1.gif"><a href="SendMail_Setup.asp"><img src="Images/add.gif" alt="添加菜单" width="36" height="21" border="0"></a></td>
          <td width="50%" height="24" align="right" valign="top" background="Images/box_bg_1.gif">
		    <%Page_links=""
			call PageControl(iCount,maxpage,page)
			rs.close
			set rs=nothing
Conn_m.Close
Set Conn_m = Nothing
			%></td>
        </tr>
      </table>
	  <table width="100%"  border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td height="1" bgcolor="#E2E1E1"></td>
        </tr>
      </table></td>
  </tr>
</table>
<table width="98%"  border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="6"></td>
  </tr>
</table>
</body>
</html>