<%@ Page Language="C#" AutoEventWireup="true" ValidateRequest="false" CodeBehind="YC_colo_Add.aspx.cs"
    Inherits="YCHR.Web.admin.channel.YC_colo_Add" %>

<!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>
    <link rel="stylesheet" type="text/css" href="../images/style.css" />
    <script type="text/javascript" src="../js/jquery.js"></script>
    <script type="text/javascript" src="../js/jquery.validate.min.js"></script>
    <script type="text/javascript" src="../js/messages_cn.js"></script>
    <script type="text/javascript" src="../js/jquery.form.js"></script>
    <script type="text/javascript" src="../js/cursorfocus.js"></script>
    <script type="text/javascript" src="../js/singleupload.js"></script>
    <script type="text/javascript" src="../xheditor/xheditor.js"></script>
    <script type="text/javascript">
        $(function () {
            //表单验证JS
            $("#form1").validate({
                //出错时添加的标签
                errorElement: "span",
                success: function (label) {
                    //正确时的样式
                    label.text(" ").addClass("success");
                }
            });

        });
    </script>
    <style type="text/css">
        .style1
        {
            width: 14%;
        }
    </style>
</head>
<body style="padding: 10px;">
    <form id="form1" runat="server">
    <div class="navigation">
        <span class="back"><a href="List.aspx">返回列表</a></span><b>您当前的位置：首页 &gt; 频道管理 &gt; 通用页面管理</b>
    </div>
    <div style="padding-bottom: 10px;">
    </div>
    <table width="100%" border="0" align="center" cellpadding="2" cellspacing="1">
        <tr>
            <td height="25" class="pl20">
                <b>管理选项： <a href="YC_colo_Add.aspx">新增页面</a> | <a href="YC_colo_List.aspx">通用页面列表</a>
                    | [<a href="javascript:location.reload()">刷新页面</a>]
            </td>
        </tr>
    </table>
    <table width="100%" border="0" cellspacing="0" cellpadding="0" class="msgtable">
        <tr>
            <th colspan="2" align="left">
                发布资讯
            </th>
        </tr>
        <tr>
            <td align="right" class="style1">
                页面标题：
            </td>
            <td width="85%">
                <asp:TextBox ID="txtTitle" runat="server" CssClass="input w50 required" MaxLength="250"
                    minlength="3" ></asp:TextBox>
                &nbsp;如：关于我们
            </td>
        </tr>
        <tr>
            <td align="right" class="style1">
                文件名：
            </td>
            <td>
                <asp:TextBox ID="txtFileName" runat="server" CssClass="input w50 required" MaxLength="250"></asp:TextBox>
                .html
            </td>
        </tr>
        <tr>
            <td align="right" valign="top" class="style1">
                公告内容：
            </td>
            <td>
                <asp:TextBox ID="txtcontent" runat="server" Height="205px" TextMode="MultiLine" CssClass="input xheditor"
                    Width="600px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td align="right" class="style1">
                是否尾部显示：
            </td>
            <td>
                <asp:RadioButtonList ID="isfoot" runat="server" RepeatDirection="Horizontal">
                    <asp:ListItem Value="1">是</asp:ListItem>
                    <asp:ListItem Value="0">否</asp:ListItem>
                </asp:RadioButtonList>
                &nbsp;选择“是”将在网站调用的底部显示出来
            </td>
        </tr>
        <tr>
            <td align="right" class="style1">
                排序：
            </td>
            <td>
                <asp:TextBox ID="txtClick" runat="server" CssClass="input required number" size="10"
                    MaxLength="10">0</asp:TextBox>
                (降序排列，越小的数字越靠前)
            </td>
        </tr>
    </table>
    <div style="margin-top: 10px; text-align: center;">
        <asp:Button ID="btnSave" runat="server" Text="确认保存" CssClass="submit" OnClick="btnSave_Click" />
        &nbsp;
        <input name="重置" type="reset" class="submit" value="重置" />
    </div>
    </form>
</body>
</html>
