<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="EditInfo.aspx.cs" Inherits="TopWinCMS.WebUI.Admin.Ask.EditInfo" %>

<%@ Register TagPrefix="ce" Namespace="CuteEditor" Assembly="CuteEditor" %>
<%@ Register TagPrefix="cc1" Namespace="TopWinCMS.WebControls" Assembly="TopWinCMS.WebControls" %>
<%@ Register Src="../UC_AjaxLoading.ascx" TagName="UC_AjaxLoading" TagPrefix="uc1" %>
<!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>
        <%= AutoTitle %></title>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
    <meta content="no-cache" http-equiv="Pragma" />

    <script language="javascript" type="text/javascript" src="../TopWin.js"></script>

    <link href="../Style.css" rel="stylesheet" type="text/css" />

    <script language="javascript" type="text/javascript" src="../../Images/skysoft.js"></script>

    <style type="text/css">
        .RowStyle
        {
            width: 100px;
            font-weight: bold;
            text-align: right;
        }
        #B, #C, #D, #E, #F
        {
            display: none;
        }
        .style1
        {
            width: 100px;
            font-weight: bold;
            text-align: right;
            height: 25px;
        }
        .style2
        {
            height: 25px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
    <ContentTemplate>
    <div id="tabs">
        <ul>
            <li id="current" onclick="return HideAndDisplay(0,this);"><a href="#"><span>常规属性</span></a></li>
            <%--<li onclick="return HideAndDisplay(1,this);"><a href="#"><span>自定义</span></a></li>--%>
        </ul>
    </div>
    <table width="100%" border="0" cellpadding="2" cellspacing="1" id="A">
        <tr runat="server" id="tr_1">
            <td class="RowStyle">
                主题：
            </td>
            <td>
                <asp:TextBox ID="TB_Title" runat="server" Width="250px"></asp:TextBox>
                <font color="#ff0000">*</font>
                <asp:DropDownList ID="DDL_FontStyle" runat="server">
                    <asp:ListItem Selected="True" Value="">常规</asp:ListItem>
                    <asp:ListItem Value="font-weight:bold;">粗体</asp:ListItem>
                    <asp:ListItem Value="font-style:italic;">斜体</asp:ListItem>
                    <asp:ListItem Value="text-decoration: underline;">下划线</asp:ListItem>
                    <asp:ListItem Value="font-weight:bold;font-style:italic;">粗体+斜体</asp:ListItem>
                    <asp:ListItem Value="font-weight:bold;text-decoration: underline;">粗体+下划线</asp:ListItem>
                    <asp:ListItem Value="font-style:italic;text-decoration: underline;">斜体+下划线</asp:ListItem>
                </asp:DropDownList>
                <span style="display: none">
                    <asp:TextBox ID="TB_ColorStyle" runat="server" Width="80px"></asp:TextBox>
                </span>
                <img id="imgColorStyle" runat="server" alt="" onclick="ColorPalette();" src="../Images/拾色器.gif"
                    style="cursor: pointer; background-color: #000000; width: 18px; height: 17px;
                    border: 0px;" title="选取颜色" />
            </td>
        </tr>
        <tr runat="server" id="tr_2">
            <td class="RowStyle">
                所属栏目：
            </td>
            <td>
                <asp:DropDownList ID="DDL_ClassID" runat="server">
                </asp:DropDownList>
                <font color="#ff0000">*</font>
            </td>
        </tr>
        <tr runat="server" id="tr_3">
            <td class="style1">
                设置：
            </td>
            <td class="style2">
                <asp:CheckBox ID="CB_OnTop" runat="server" Text='置顶' Width="80px" />
                <asp:CheckBox ID="CB_Elite" runat="server" Text='推荐' Width="80px" />
                <asp:CheckBox ID="CB_ContentPass" runat="server" Text="审核内容" Width="80px" />
            </td>
        </tr>
        <tr>
            <td class="RowStyle">
                描述：
            </td>
            <td>
                <ce:Editor ID="CE_Content" runat="server" AutoConfigure="Simple" ThemeType="Office2003"
                    Width="100%">
                    <FrameStyle Height="100%" BorderWidth="1px" BorderStyle="Solid" BorderColor="#DDDDDD"
                        Width="100%" BackColor="White"></FrameStyle>
                </ce:Editor>
            </td>
        </tr>
    </table>
    <div id="B">
        <asp:Table ID="T_DefinedFile" BorderWidth="0" CellPadding="2" CellSpacing="1" runat="server"
            EnableViewState="true">
        </asp:Table>
    </div>
    <div style="margin-left: auto; margin-right: auto; width: 200px">
        <asp:Button ID="BT_Edit" runat="server" Text="修改" CssClass="btn" OnClick="BT_Edit_Click" /></div>
        
        </ContentTemplate>
    </asp:UpdatePanel>
    </form>
</body>
</html>
