<%@ Page language="c#" Inherits="Discuz.ForumPage.Admin.sendsmtogroup" Codebehind="global_sendsmtogroup.aspx.cs" %>
<%@ Register TagPrefix="cc1" Namespace="Discuz.Control" Assembly="Discuz.Control" %>
<%@ Register TagPrefix="uc1" TagName="textarea" Src="../UserControls/TextareaResize.ascx" %>
<%@ Register TagPrefix="cc3" Namespace="Discuz.Control" Assembly="Discuz.Control" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<html>
	<head>
		<title>批量发送短消息</title>
	    <link href="../styles/dntmanager.css" type="text/css" rel="stylesheet">   
		<link href="../styles/tab.css" type="text/css" rel="stylesheet">		
		<script type="text/javascript" src="../js/common.js"></script>
		
</head>
	<body>
		<form id="Form1" method="post" runat="server">
			<br />
		<script language="javascript">
		 document.getElementById('Layer5').innerHTML ="<br /><table><tr><td valign=top><img border=\"0\" src=\"../images/ajax_loading.gif\"  /></td><td valign=middle style=\"font-size: 14px;\" >程序已启动. 如果用户较多, <br />系统要运行一段时间....</td></tr></table><BR />";
		</script>
			<table class="table1" cellSpacing="0" cellPadding="4" width="100%" border="0"><tr><td width="2px"></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%">
						<tr>
							<td class="td1" width="20%">标题:</td>
							<td class="td1">
									<cc1:textbox id="subject" runat="server" CanBeNull="必填" RequiredFieldType="暂无校验"  MaxLength="80" Size="60"></cc1:textbox></td>
						</tr>
						<tr>
							<td class="td2">发布者用户名:</td>
							<td class="td2" colSpan="2">
									<cc1:textbox id="msgfrom" runat="server" CanBeNull="必填" RequiredFieldType="暂无校验"></cc1:textbox></td>
						</tr>
						<tr>
							<td class="td1">文件箱:</td>
							<td class="td1">
									<cc1:dropdownlist id="folder" runat="server">
										<asp:ListItem Value="0" Selected="True">收件箱</asp:ListItem>
										<asp:ListItem Value="1">发件箱</asp:ListItem>
										<asp:ListItem Value="2">草稿箱</asp:ListItem>
									</cc1:dropdownlist></td>
						</tr>
						<tr>
							<td class="td2">发送日期:</td>
							<td class="td2">
									<cc1:textbox id="postdatetime" runat="server" CanBeNull="必填" RequiredFieldType="日期"></cc1:textbox>格式:2005-5-5
							</td>
						</tr>
						<tr>
							<td class="td1">短消息内容:</td>
							<td class="td1">
									<uc1:textarea id="message" runat="server" controlname="TabControl1:tabPage51:message" Rows="10" cols="80"></uc1:textarea></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="BatchSendSM" runat="server" style="align:center" 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>
