<%@ page language="C#" autoeventwireup="true" inherits="admin_addnews, webpages" %>
<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
<!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 id="Head1" runat="server">
    <title>无标题页</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="Author"  content="webpages CMS" />
<link rel="stylesheet" href="master.css" type="text/css">
</head>
<body>
    <form id="form1" runat="server">
    <div>

            <table style="width:700px" align="center"  >
            <tr>
                <td colspan="2" style="width: 670px" >
                    标题：
                    <asp:TextBox ID="Title" runat="server" Width="376px" Text=''></asp:TextBox>
                    <span style="color: #ff0000">*<asp:DropDownList ID="titlecolor" runat="server">
                        <asp:ListItem Value="#000000"  Selected="True">正常</asp:ListItem>
                        <asp:ListItem Value="blue">蓝色</asp:ListItem>
                        <asp:ListItem Value="red">红色</asp:ListItem>
                    </asp:DropDownList></span></td>
                <td style="width: 5px" rowspan="5">
                <asp:Image ID="Image1" runat="server" ImageUrl="" Height="130px" Width="165px"   />
                   
                <asp:Label ID="Label2" runat="server"></asp:Label></td>
            </tr>
            <tr>
                <td colspan="2" style="width: 670px">
                    类别： 
                    <asp:DropDownList ID="ClassId" runat="server" DataSourceID="SqlDataSource1" DataTextField="class"
                        DataValueField="id" AutoPostBack="True" >
                    </asp:DropDownList><asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
                       ></asp:SqlDataSource>
                        <asp:DropDownList ID="ClassId1" runat="server" DataSourceID="SqlDataSource2" DataTextField="class"
                        DataValueField="id">
                    </asp:DropDownList>
                    &nbsp;&nbsp;<asp:SqlDataSource ID="SqlDataSource2" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
                        SelectCommand="SELECT [id], [class] FROM [new_class]"></asp:SqlDataSource>
                    &nbsp;
                    &nbsp;
        &nbsp; &nbsp;
                    &nbsp;&nbsp; 关键字:<asp:TextBox ID="Nkey" runat="server" Text=''></asp:TextBox></td>
            </tr>
            <tr>
                <td colspan="2" style="width: 670px">
                    图片：
                <asp:TextBox ID="pic" runat="server" Width="374px" Text=''></asp:TextBox></td>
            </tr>
            <tr>
                <td colspan="2" style="width: 670px" >
                    上传：
                <asp:FileUpload ID="FileUpload1" runat="server" Width="304px" />
                    &nbsp; &nbsp;
                <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="上传" Width="58px" /></td>
            </tr>
            <tr>
                <td colspan="2" style="width: 670px" >
                作者：&nbsp;
                    <asp:TextBox ID="zuozhe" runat="server" Width="128px" Text=''></asp:TextBox>&nbsp;
                    ID:<asp:Label ID="Label3" runat="server"></asp:Label></td>
            </tr>
            <tr>
                <td colspan="2" style="width: 670px" >
                来源：&nbsp;
                    <asp:TextBox ID="laiyuan" runat="server" Width="128px" Text=''></asp:TextBox>&nbsp;&nbsp;
                    <asp:CheckBox ID="tuijian" runat="server" Text="推荐" />&nbsp;
                    <asp:CheckBox ID="shenghe" runat="server" Text="审核" /></td>
            </tr>
            <tr>
                <td colspan="2">
                    内容：</td>
            </tr>
            <tr>
                <td colspan="3">
               
		         <FCKeditorV2:FCKeditor ID="Content" runat="server" Height="400" Width="700"> </FCKeditorV2:FCKeditor>   
                    </td>
            </tr>

            <tr>
                <td colspan="2" style="width: 670px; text-align: right;">
                    <asp:Button ID="Button2" runat="server" Text="添 加" OnClick="Button2_Click" /></td>
                <td style="width: 5px">
                </td>
            </tr>
        </table>    <br />    
    </div>
    </form>
</body>
</html>
