<%@ Page Language="VB" ContentType="text/html" ResponseEncoding="gb2312" Inherits="b2bNet.Admin_Member_sendmail" %>
<%On Error Resume Next%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>EMAIL群发</title>
<link href="inc/style.css" rel="stylesheet" type="text/css" />
<link href="inc/admin_style.css" rel="stylesheet" type="text/css" />
<script type="Text/JavaScript" language="javascript">
function selectall(){
	for(i=0;i!=document.email.elements.length;i++){
		document.email.elements[i].checked=!document.email.elements[i].checked;
	}
}
</script>
<style type="text/css">
<!--
body {
	margin-left: 2px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
-->
</style></head>

<body>
<form  name="email" method="post" action="Member_sendmail_ok.aspx">
  <table style="width:100%" border="0" align="center" cellpadding="1" cellspacing="1" class="border">
    <tr>
      <td style="height:25" colspan="5" align="center" class="topbg"><strong>=&gt;<%=AppConst.SiteName%>发信系统&lt;=</strong></td>
    </tr>
    <tr class="Title">
      <td style="height:22; width:8%" align="center" >选 择</td>
      <td style="width:21%" align="center" >用户名</td>
      <td style="width:31%" align="center">公司名称</td>
      <td style="width:20%" align="center">邮 箱</td>
      <td style="width:20%" align="center">真实姓名</td>
    </tr>
    <%Dim i : For i = 1 To Rs.PageSize : If Rs.EOF Then Exit For%>
    <tr class='tdbg' onmouseout="this.className='tdbg'" onmouseover="this.className='tdbgmouseover'">
      <td style="height:23" align="center"><input name="id" type="checkbox" id="id" value="<%=rs("id").Value%>" /></td>
      <td align="center"><%=Rs("M_userid").Value%></td>
      <td align="center"><%=GetCompanyInfo("C_name", rs("M_userid").Value)%></td>
      <td align="center"><%=Rs("M_email").Value%></td>
      <td align="center"><%=Rs("M_name").Value%></td>
    </tr>
    <%Rs.movenext() : Next%>
    <tr>
      <td style="height:22" colspan="5" class="tdbg2"><table style="width:100%" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
          <td style="width:24%"><input type="button" name="Submit" value="全选" onclick="selectall()" />
            <input type="reset" name="Submit2" value="反选" />
            <input type="submit" name="Submit3" value="确定发送" />
            <input name="page" type="hidden" id="page" value="<%=IsNull(Request("page"), 1)%>" />
			<input name="groupid" type="hidden" id="groupid" value="<%=groupid%>" /></td>
          <td style="width:76%"><%=Pagination(Rs, IsNull(Request("page"), 1))%></td>
        </tr>
      </table></td>
    </tr>
  </table>
</form>
<table style="width:98%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td>&nbsp;</td>
  </tr>
</table>
</body>
<%Page_Loaded()%>
</html>
