<%@ Page Title="" Language="C#" MasterPageFile="~/BackStage/HelperMaster.Master" AutoEventWireup="true" CodeBehind="Frm_AddChangeNotice.aspx.cs" Inherits="AndroidSevice.Web.XXPT.Frm_AddChangeNotice" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script type="text/javascript">
        function sAlert(info) {
            var message = info;
            layer.alert(message, 8); //风格一，layer弹出层特效
            parent.location.reload(); //刷新父页面
        }
        function sAlertOut(info) {
            layer.alert(info, { closeBtn: 0
            }, function () {
                window.location.href = '../../default.aspx'; //刷新父页面
            });
        }
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="container-fluid">
				<div class="row-fluid">
					<div class="span12">
						<div class="widget-box">
							<div class="widget-title">
								<span class="icon">
									<i class="icon-th-list"></i>
								</span>
								<h5>
				                <a href="#" class="current">通知新增</a></h5>
							</div>
							<div class="widget-content">
                                <div class="control-group" id="div1" runat="server">
                                        <span>接收人：
                                        <select class="selectstyle" name="user" id="user">
                                        <option value=""></option>
                                        <%if (dtUser != null && dtUser.Rows.Count > 0)
                                            {
                                                for (int i = 0; i < dtUser.Rows.Count; i++)
                                                {
                                                %>
				                                <option <%=dtUser.Rows[i]["TypeID_"].ToString()==_userId?"selected":"" %>  value=<%=dtUser.Rows[i]["TypeID_"].ToString() %>><%=dtUser.Rows[i]["FullName"].ToString()%></option>
                                        <%  }
                                            } %>
				                        </select>
                                        </span>
                                </div>
                             </div>
                             <div class="control-group" id="div2" runat="server">
                                        <label class="control-label">通知标题</label>
                                        <div class="controls">
                                            <input type="text" name="title" id="title" value="<%=_title %>"/>
                                        </div>
                             </div>
                             <div class="control-group" id="div_cmarks" runat="server">
                                  <label class="control-label">通知内容</label>
                                  <div class="controls">
                                  <textarea name="content" id="content" cols="100" rows="5"><%=_content%></textarea>
                             </div>
                             </div>
                             <div class="form-actions">
                                  <input type="submit" id="sub" name="sub" value="提交" class="btn" />
                                  <input id="HPage" name="HPage" value="thispage" type="hidden" />
                             </div>
							</div>
						</div>
					</div>
				</div>
			</div>
</asp:Content>
