<%@ Page Language="C#" AutoEventWireup="True" CodeBehind="Admin_News.aspx.cs" Inherits="TW.UI.Admin.Admin_News" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<link href="css/default.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="../js/jquery-1.10.2.min.js"></script>
<script type="text/javascript" src="../js/public.js"></script>
<script type="text/javascript" src="../js/My97DatePicker/WdatePicker.js"></script>
<script type="text/javascript" src="../js/kindeditor/kindeditor-min.js"></script>
<script type="text/javascript" src="../js/artDialog/artDialog.js?skin=default"></script>
<script type="text/javascript" src="../js/artDialog/plugins/iframeTools.js"></script>
<script type="text/javascript">
    $(function () {
        EditorInit('txtContent');
    });
</script>
</head>
<body>
<form id="form1" runat="server">
<div class="nav"><h1>新闻公告管理</h1></div>
<div class="cont">
    <table class="table2">
        
        <tr>
            <th>类型：</th>
            <td>
                <asp:DropDownList ID="ddlType" runat="server" CssClass="mgrgt5px">
                        <asp:ListItem Value="-1">全部</asp:ListItem>
                        <asp:ListItem Value="0">站内公告</asp:ListItem>
                        <asp:ListItem Value="1">产品公告</asp:ListItem>
                        <asp:ListItem Value="2">新闻</asp:ListItem>
                </asp:DropDownList>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                    Display="Dynamic" ErrorMessage="*" SetFocusOnError="True" 
                    ControlToValidate="txtTitle" InitialValue="-1"></asp:RequiredFieldValidator>
            </td>
        </tr>

        <tr>
            <th>新闻公告标题：</th>
            <td>
                <asp:TextBox ID="txtTitle" runat="server" Width="670"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                    Display="Dynamic" ErrorMessage="*" SetFocusOnError="True" 
                    ControlToValidate="txtTitle"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <th>新闻公告内容：</th>
            <td>
                <asp:TextBox ID="txtContent" runat="server" TextMode="MultiLine" 
                    Height="400px" Width="680px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <th>重要信息：</th>
            <td>
                <asp:CheckBox ID="chkIsImptant" runat="server" />
            </td>
        </tr>

        <tr>
            <th></th>
            <td class="abtn"><asp:Button ID="btnAdd" runat="server" Text="提交" 
                    onclick="btnAdd_Click" /></td>
        </tr>
    </table>
</div>
</form>
</body>
</html>
