<%@ Register TagPrefix="cc1" Namespace="Discuz.Control" Assembly="Discuz.Control" %>
<%@ Register TagPrefix="uc1" TagName="TextareaResize" Src="../UserControls/TextareaResize.ascx" %>
<%@ Register TagPrefix="cc3" Namespace="Discuz.Control" Assembly="Discuz.Control" %>
<%@ Page language="c#" Inherits="Discuz.ForumPage.Admin.usergroupsendemail" Codebehind="global_usergroupsendemail.aspx.cs" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<html>
	<head>
		<title>用户组邮件群发</title>
		
		<link href="../styles/tab.css" type="text/css" rel="stylesheet">		
		<script type="text/javascript">
          function nodeCheckChanged(node)
          {
            var status = "未选取"; 
            if (node.Checked) status = "选取"; 
          }  
		</script>
		<script type="text/javascript" src="../js/common.js"></script>
		<link href="../styles/dntmanager.css" type="text/css" rel="stylesheet">        
        <link href="../styles/modelpopup.css" type="text/css" rel="stylesheet">
        <script type="text/javascript" src="../js/modalpopup.js"></script>
	</head>
	<body>
		<form id="Form1" method="post" runat="server">	
			<cc1:Hint id="Hint1" runat="server" HintImageUrl="../images"></cc1:Hint>	
			<br />
			<table class="table1" cellSpacing="0" cellPadding="4" width="100%" border="0"><tr width="2px"><td></td><td width="99%">
			<cc3:TabControl id="TabControl1" SelectionMode="Client" runat="server" TabScriptPath="../js/tabstrip.js" width="760" height="100%">
			<cc3:TabPage Caption="基本信息" ID="tabPage51">
		
					<table align="center" class="table1" cellspacing="0" cellPadding="4" width="100%" bgcolor="#C3C7D1">
						
						<tr>
							<td class="td2" width="20%">接收邮件用户名称:</td>
							<td class="td2" colSpan="2"><cc1:textbox id="usernamelist" runat="server"  HintTitle="提示" HintInfo="以&amp;quot;,&amp;quot;进行分割" CanBeNull="可为空" RequiredFieldType="暂无校验"  width="400" height="30" TextMode="MultiLine"></cc1:textbox>
							</td>
						</tr>
						<tr>
							<td class="td1">邮件标题:</td>
							<td class="td1" colSpan="2">
									<cc1:textbox id="subject" runat="server" CanBeNull="必填" RequiredFieldType="暂无校验"  width="400"></cc1:textbox></td>
						</tr>
						<tr>
							<td class="td2">邮件内容:</td>
							<td class="td2" colSpan="2">
									<uc1:TextareaResize id="body" runat="server" controlname="TabControl1:tabPage51:body" rows="18" cols="60"></uc1:TextareaResize></td>
						</tr>
					</table>
				</cc3:TabPage>
            <cc3:TabPage Caption="要发送的用户组" ID="tabPage22">
					<table align="center" class="table1" cellspacing="0" cellPadding="4" width="100%" bgcolor="#C3C7D1">
						<tr>
							<td class="td1" width="20%">接收邮件的用户组:</td>
							<td class="td1">
							<input type=checkbox id=chkall name=chkall onclick="javascript:CheckByName(this.form,'Usergroups','null');">选择全部 /取消
							<br /><br />
									<cc1:CheckBoxList id="Usergroups" runat="server" RepeatColumns="4"></cc1:CheckBoxList>
									
								
							</td>
						</tr>
					</table>
					</cc3:TabPage>
			</cc3:TabControl></td></tr></table>		
			<div class="Navbutton">
				<cc1:Button id="BatchSendEmail" runat="server" Text=" 提 交 "></cc1:Button>
			</div>
			<asp:label id="lblClientSideCheck" runat="server" CssClass="hint">&nbsp;</asp:label>
									<asp:label id="lblCheckedNodes" runat="server" CssClass="hint">&nbsp;</asp:label>
									<asp:label id="lblServerSideCheck" runat="server" CssClass="hint">&nbsp;</asp:label>
									<script type="text/javascript">
                                       document.getElementById("lblClientSideCheck").innerText = document.getElementById("lblServerSideCheck").innerText;
									</script>
		</form>
		<%=footer%>
	</body>
</html>
