<%@ Page CodeBehind="Sms_Input.aspx.cs" Language="c#" AutoEventWireup="True" Inherits="Typhoto.sms_input" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<HTML>
	<HEAD>
		
	<title>撰写短信</title>
		<% @ Import Namespace="Typhoto" %>
		<link href="<%=xml.GetStyle()%>" rel="stylesheet" type="text/css">
<script>
function SetScript(info) 
{ 
   document.getElementById('Layer5').innerHTML=info;
   document.getElementById('success').style.display ='';
   window.setTimeout("document.getElementById('success').style.display ='none';",3000);
}
</script>
	</HEAD>
	<body>
	<div id="success" style="position:absolute;z-index:300;height:50px;width:284px;left:50%;top:50%;margin-left:-150px;margin-top:-80px; display:none">
	<div id="Layer2" style="position:absolute;z-index:300;width:270px;height:50px;background-color: #FFFFAE;border:solid #000000 1px;font-size:14px;">
		<div id="Layer5" style="height:30px;line-height:150%;padding:10px 3px 0px 3px;" align="center">11</div>
	</div>
</div>
		<form runat="server">
		  <table cellSpacing=0 cellPadding=0 width="100%" border=0 
            >
              <tr>
                <td class=main_title_1 height=32><table cellSpacing=2 cellPadding=3 width="100%" border=0 
                  >
                    <tr>
                      <td><div align="left"><IMG src="images/icon_help.gif" width="17" height="16" align=absMiddle >&nbsp;<span class="tabletop">撰写短信</span></div></td>
                    </tr>
                </table></td>
              </tr>
              <tr>
                <td class=main_content_1 vAlign=top><table border=0 align="center" cellPadding=0 cellSpacing=3 
                  >
                    <tr>
                      <td width=80 height=27>收件人：</td>
                      <td><input id="To_User" class="kuan" type="text" name="To_User" runat="server">
                        <asp:DropDownList ID="friend" runat="server" AutoPostBack="True" Font-Size="Larger" onselectedindexchanged="friend_SelectedIndexChanged">
                          <asp:ListItem Value="0" Selected="True">未选定</asp:ListItem>
                          <asp:ListItem Value="1">全部</asp:ListItem>
                        </asp:DropDownList>
（多个用户用,分隔）
<asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ErrorMessage="请输入收件人" Display="None"
								EnableViewState="False" ControlToValidate="To_User"></asp:RequiredFieldValidator></td>
                    </tr>
                    <tr>
                      <td height=27>标题：</td>
                      <td><input id="title" class="kuan" type="text" name="title" runat="server">
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ErrorMessage="请输入标题" Display="None"
								EnableViewState="False" ControlToValidate="Title"></asp:RequiredFieldValidator></td>
                    </tr>
                    <TR>
                      <TD height=27>内容：</TD>
                      <TD><textarea name="Content" cols="50" rows="7" class="kuan"
								id="Content" runat="server"></textarea>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ErrorMessage="请输入内容" Display="None"
								EnableViewState="False" ControlToValidate="Content"></asp:RequiredFieldValidator></TD>
                    </TR>
                    
                    <tr>
                      <td>&nbsp;</td>
                      <td><input class="btn" type="submit" value="发送" id="Submit2" name="Submit2" runat="server" onserverclick="Submit2_ServerClick">
&nbsp;&nbsp;
<input class="btn" type="submit" value="保存" id="Submit3" name="Submit3" runat="server" onserverclick="Submit3_ServerClick">
&nbsp;&nbsp;
<input name="重置" type="reset" class="btn" value="清除">
&nbsp;&nbsp;
<input name="按钮" type="button" class="btn" value="关闭" onClick="javascript:window.close();">
<asp:ValidationSummary ID="ValidationSummary2" runat="server" DisplayMode="List" ShowMessageBox="True"
									ShowSummary="False"></asp:ValidationSummary></div></td>
                    </tr>
                </table></td>
              </tr>
              <tr>
                <td class=main_title_1 height=32 
              ></td>
              </tr>
	      </table>
		</form>
	</body>
</HTML>
