<%@ Page Language="C#" AutoEventWireup="true" CodeFile="AddNews.aspx.cs" Inherits="admin_News_AddNews" %>

<%@ Register assembly="FredCK.FCKeditorV2" namespace="FredCK.FCKeditorV2" tagprefix="FCKeditorV2" %>

<%@ Register assembly="CuteEditor" namespace="CuteEditor" tagprefix="CE" %>

<!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">
    <title>无标题页</title>
    <link href="../skin/Skin1/Table.css" rel="stylesheet" type="text/css" />

    <script src="../My97DatePicker/WdatePicker.js" type="text/javascript"></script>
    <style type="text/css">
        .style1
        {
            width: 100%;
        }
    </style>
</head>
<body>
   <form id="form1" runat="server">
    <div>
    
        <table class="style1">
            <tr>
                <td class="left">
                    信息标题：</td>
                <td class="right">
                    <asp:TextBox ID="TextBox1" runat="server" CssClass="txt" Width="279px" 
                        MaxLength="50"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                        ControlToValidate="TextBox1" ErrorMessage="必填！"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="left">
                    发布人：</td>
                <td class="right">
                    <asp:TextBox ID="TextBox2" runat="server" CssClass="txt" Width="169px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                        ControlToValidate="TextBox2" ErrorMessage="必填！"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="left">
                    发布时间：</td>
                <td class="right">
                    <asp:TextBox ID="TextBox3" runat="server" CssClass="txt" Width="150px" onClick="WdatePicker()" 
                     ></asp:TextBox>
                     <img onclick="WdatePicker({el:'TextBox3'})" src="../My97DatePicker/skin/datePicker.gif" width="16" height="22" align="absmiddle">

                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                        ControlToValidate="TextBox3" ErrorMessage="必填！"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="left">
                    信息类别：</td>
                <td class="right">
                &nbsp;
                    </td>
            </tr>
            <tr>
                <td class="left">
                    信息内容：</td>
                <td class="right">
                    <CE:Editor ID="Editor1" runat="server" Height="498px">
                    </CE:Editor>
                </td>
            </tr>
            <tr>
                <td  style="height:50px; text-align:center;" colspan="2">
                    <asp:Button ID="Button1" runat="server" Text="添加信息" CssClass="button" 
                        onclick="Button1_Click" />
                </td>
            </tr>
            </table>
    
    </div>
    </form>
</body>
</html>
