<%@ Page CodeBehind="sms_input.aspx.cs" Language="c#" AutoEventWireup="True" Inherits="Webdisk.sms_input" %>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>撰写短消息</title>
    <!-- Plugin styles -->
    <link rel="stylesheet" href="css/bundle.css" type="text/css">
    <!-- App styles -->
    <link rel="stylesheet" href="css/app.min.css" type="text/css">
</head>
	<body>
 <div id="main">
		 <main class="main-content">
                <div class="card">
                    <div class="card-body">
                        <div class="row">&nbsp;&nbsp;&nbsp;&nbsp;<img src="pics/filesys.gif" width="16" height="16" align="absMiddle">&nbsp;&nbsp;&nbsp;&nbsp;<h5><b>撰写短消息</b></h5>
                            &nbsp;&nbsp;&nbsp;&nbsp;<a href="javascript:history.go(-1);"><img src="pics/link_back.gif" border="0" align="absMiddle"></a></div>
                        <form runat="server">
                             <div class="form-group row align-items-center">
    <label for="recommend" class="col-sm-2 col-form-label">收件人</label>
    <div class="row col-sm-10 align-items-center">
		 <input class="form-control w-50" id="To_User" rows="3" name="To_User" runat="server" placeholder="多个用户用,分隔"/>
         <div class="col-auto">
        <asp:DropDownList ID="friend" runat="server" AutoPostBack="True" Font-Size="Larger" onselectedindexchanged="friend_SelectedIndexChanged" CssClass="form-control m-1">
                                <asp:ListItem Value="0" Selected="True">未选定</asp:ListItem>
                                <asp:ListItem Value="1">全部</asp:ListItem>
                              </asp:DropDownList> </div><asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ErrorMessage="请输入收件人" Display="None"
								EnableViewState="False" ControlToValidate="To_User"></asp:RequiredFieldValidator>
    </div>
  </div>
 <div class="form-group row">
    <label for="phone" class="col-sm-2 col-form-label">标题</label>
    <div class="col-sm-10">
      <input type="text" class="form-control" id="title" runat="server">
        <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ErrorMessage="请输入标题" Display="None"
								EnableViewState="False" ControlToValidate="Title"></asp:RequiredFieldValidator>
    </div>
  </div>
<div class="form-group row">
    <label for="phone" class="col-sm-2 col-form-label">内容</label>
    <div class="col-sm-10">
      <textarea type="text" class="form-control" id="Content" runat="server" cols="50" style="height:100px"></textarea>
       <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ErrorMessage="请输入内容" Display="None"
								EnableViewState="False" ControlToValidate="Content"></asp:RequiredFieldValidator>
    </div>
  </div>
<div class="form-group row">
    <label for="phone" class="col-sm-2 col-form-label"></label>
    <div class="col-sm-10">
       <div class="custom-control custom-checkbox mr-3">
												&nbsp;<input type="checkbox" class="custom-control-input" id="save" checked name="save" runat="server">
												<label class="custom-control-label" for="save">同时保存到已发件箱</label>
											</div>
    </div>
  </div>
                            <div class="row align-items-center justify-content-center">
 <input class="btn btn-primary" type="submit" value="发送" id="Submit2" name="Submit2" runat="server" onserverclick="Submit2_ServerClick">
                              &nbsp;&nbsp;&nbsp;&nbsp;
                              <input class="btn btn-success" type="submit" value="保存" id="Submit3" name="Submit3" runat="server" onserverclick="Submit3_ServerClick">
                              &nbsp;&nbsp;&nbsp;&nbsp;
                              <input name="重置" type="reset" class="btn btn-light" value="清除">
                              &nbsp;&nbsp;&nbsp;&nbsp;
                              <input name="按钮" type="button" class="btn btn-light" value="关闭" onClick="javascript:window.close();">
                              <asp:ValidationSummary ID="ValidationSummary2" runat="server" DisplayMode="List" ShowMessageBox="True"
									ShowSummary="False"></asp:ValidationSummary></div>
             </form>
                </div></div>
        </main>
     </div>
        <!-- end::main content -->
</body>
</html>
<!-- Plugin scripts -->
<script type="text/javascript" src="js/calendar.js"></script>