<%@ page language="C#" autoeventwireup="true" inherits="Admin_UserDefinedColumn_Operate, ShopNum1Deploy" %>

<%@ Register assembly="ShopNum1.Control" namespace="ShopNum1.Control" tagprefix="cc1" %>

<%@ Register src="UserControl/MessageShow.ascx" tagname="MessageShow" 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>Untitled Page</title>
      <link type="text/css" rel="Stylesheet" href="css/index.css" /> 
   
    </head>
<body style="padding:0; background-image: url(images/Bg_right.gif); background-repeat:repeat;">
    <form id="form1" runat="server">
    
     <div class="navigator"><asp:Label ID="LabelPageTitle" runat="server" Text="【 新增栏目  】"></asp:Label></div>
        <table cellpadding="0" cellspacing="0" border="0" style="width:100%">
    
            <tr>
                <td align="right" width="20%">
                            <asp:Label ID="LabelType" runat="server" Text="系统内容："></asp:Label>
                        </td>
                <td align="left" >
                            <asp:DropDownList ID="DropDownListType" runat="server"
                                Height="20px" style="margin-top: 0px" AutoPostBack="True" 
                                onselectedindexchanged="DropDownListType_SelectedIndexChanged" CssClass="select2">
                                <asp:ListItem Value="-1">-请选择系统分类-</asp:ListItem>
                                <asp:ListItem Value="Default.aspx">首页</asp:ListItem>
                                <asp:ListItem Value="BrandList.aspx">品牌</asp:ListItem>
                                <asp:ListItem Value="GuidBuyList.aspx">商品导购</asp:ListItem>
                                <asp:ListItem Value="OrganizBuyList.aspx">团购商品</asp:ListItem>
                                <asp:ListItem Value="SalesPromotion.aspx">促销活动</asp:ListItem>
                                <asp:ListItem Value="AuctionInfoList.aspx">低价拍卖</asp:ListItem>
                                <asp:ListItem Value="LongAuctionInfoList.aspx">高价拍卖</asp:ListItem>
                                <asp:ListItem Value="ArticleList.aspx">商城文章</asp:ListItem>
                                <asp:ListItem Value="MessageBrandList.aspx">商城留言</asp:ListItem>
                                <asp:ListItem Value="HelpList.aspx">帮助中心</asp:ListItem>
                                <asp:ListItem Value="Wholesale1.aspx">批发方案</asp:ListItem>
                                <asp:ListItem Value="ProductListNew.aspx">新品</asp:ListItem>
                                <asp:ListItem Value="ProductListBest.aspx">精品</asp:ListItem>
                                <asp:ListItem Value="ProductListHot.aspx">热销</asp:ListItem>
                                <asp:ListItem Value="ProductListRecommand.aspx">推荐</asp:ListItem>
                                <asp:ListItem Value="MemberRegist.aspx">会员注册</asp:ListItem>
                                <asp:ListItem Value="Memberlogin.aspx">会员登录</asp:ListItem>
                            </asp:DropDownList>
                            <font color="red">
                            <asp:Label ID="Label1" runat="server" Text="*"></asp:Label>
                            </font>
                            <br />
                    <asp:DropDownList ID="DropDownListProductCategoryID" runat="server" AutoPostBack="True" 
                                onselectedindexchanged="DropDownListProductCategoryID_SelectedIndexChanged" CssClass="select2">
                    </asp:DropDownList>
                    <font color="red">
                            <asp:Label ID="Label2" runat="server" Text="*"></asp:Label>
                            </font>
                            <br />
                    <asp:DropDownList ID="DropDownListSArticleCategory" runat="server" AutoPostBack="True" 
                                onselectedindexchanged="DropDownListSArticleCategory_SelectedIndexChanged" CssClass="select2" >
                    </asp:DropDownList>
                     <asp:DropDownList ID="DropDownListArticle" runat="server" AutoPostBack="True" 
                                 CssClass="select2" 
                                onselectedindexchanged="DropDownListArticle_SelectedIndexChanged" >
                    </asp:DropDownList>
                    <font color="red">
                            <asp:Label ID="Label3" runat="server" Text="*"></asp:Label>
                            </font>
                        </td>
            </tr>
            <tr>
                <td align="right" >
    
                            <asp:Label ID="LabelName" runat="server" Text="栏目名称："></asp:Label>
                        </td>
                <td align="left" >
                            <asp:TextBox ID="TextBoxName" runat="server" 
                                 CssClass="input2"></asp:TextBox>
                                 <font color="red">
                            <asp:Label ID="Label4" runat="server" Text="*"></asp:Label>
                            </font>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidatorName" 
                            runat="server" ControlToValidate="TextBoxName" Display="Dynamic" 
                            ErrorMessage="该值不能为空"></asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidatorName" 
                        runat="server" ControlToValidate="TextBoxName" Display="Dynamic" 
                        ErrorMessage="名称最多50个字符" ValidationExpression="^[\s\S]{0,50}$"></asp:RegularExpressionValidator>
                        </td>
            </tr>
            <tr>
                <td align="right" >
    
                            <asp:Label ID="LabelLinkAddress" runat="server" Text="链接地址："></asp:Label>
                        </td>
                <td align="left" >
                            <asp:TextBox ID="TextBoxLinkAddress" runat="server" 
                                CssClass="input2"></asp:TextBox>
                                <font color="red">
                            <asp:Label ID="Label5" runat="server" Text="*"></asp:Label>
                            </font>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidatorLinkAddress" 
                            runat="server" ControlToValidate="TextBoxLinkAddress" Display="Dynamic" 
                            ErrorMessage="该值不能为空"></asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidatorLinkAddress" 
                        runat="server" ControlToValidate="TextBoxLinkAddress" Display="Dynamic" 
                        ErrorMessage="链接地址最多150个字符" ValidationExpression="^[\s\S]{0,150}$"></asp:RegularExpressionValidator>
                        </td>
            </tr>
            <tr>
                <td align="right" >
    
                            <asp:Label ID="LabelShowLocation" runat="server" Text="显示位置："></asp:Label>
                        </td>
                <td align="left" >
                            <asp:DropDownList ID="DropDownListShowLocation" runat="server" CssClass="select2">
                            </asp:DropDownList>
                            <font color="red">
                            <asp:Label ID="Label6" runat="server" Text="*"></asp:Label>
                            </font>
                    <asp:CompareValidator ID="CompareValidatorShowLocation" runat="server" 
                            ControlToValidate="DropDownListShowLocation" Display="Dynamic" ErrorMessage="该值必需选择" 
                            Operator="NotEqual" ValueToCompare="-1"></asp:CompareValidator>
                        </td>
            </tr>
            <tr>
                <td align="right" >
    
                            <asp:Label ID="LabelIfShow" runat="server" Text="是否前台显示："></asp:Label>
                        </td>
                <td align="left" >
                    <asp:DropDownList ID="DropDownListIfShow" runat="server" CssClass="select2">
                    </asp:DropDownList>
                    <font color="red">
                            <asp:Label ID="Label7" runat="server" Text="*"></asp:Label>
                            </font>
                    <asp:CompareValidator ID="CompareValidatorIfShow" runat="server" 
                            ControlToValidate="DropDownListIfShow" Display="Dynamic" ErrorMessage="该值必需选择" 
                            Operator="NotEqual" ValueToCompare="-1"></asp:CompareValidator>
                        </td>
            </tr>
            <tr>
                <td align="right" >
    
                            <asp:Label ID="LabelIfOpen" runat="server" Text="是否新窗口中打开："></asp:Label>
                        </td>
                <td align="left" >
                    <asp:DropDownList ID="DropDownListIfOpen" runat="server" CssClass="select2">
                    </asp:DropDownList>
                    <font color="red">
                            <asp:Label ID="Label8" runat="server" Text="*"></asp:Label>
                            </font>
                    <asp:CompareValidator ID="CompareValidatorIfOpen" runat="server" 
                            ControlToValidate="DropDownListIfOpen" Display="Dynamic" ErrorMessage="该值必需选择" 
                            Operator="NotEqual" ValueToCompare="-1"></asp:CompareValidator>
                        </td>
            </tr>
            <tr>
                <td align="right" >
    
                            <asp:Label ID="LabelRemark" runat="server" Text="说明："></asp:Label>
                        </td>
                <td align="left" >
                            <asp:TextBox ID="TextBoxRemark" runat="server" Height="60px" Width="440" 
                                TextMode="MultiLine"></asp:TextBox>
                        </td>
            </tr>
            <tr>
                <td align="right" >
    
                            <asp:Label ID="LabelOrderID" runat="server" Text="排序号："></asp:Label>
                        </td>
                <td align="left" >
                            <asp:TextBox ID="TextBoxOrderID" runat="server" 
                                  CssClass="input2"></asp:TextBox>
                            <asp:Label ID="Label9" runat="server" Text="*" ForeColor="red"></asp:Label>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidatorOrderID" 
                            runat="server" ControlToValidate="TextBoxOrderID" Display="Dynamic" 
                            ErrorMessage="该值不能为空"></asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidatorOrderID" 
                        runat="server" ControlToValidate="TextBoxOrderID" Display="Dynamic" 
                        ErrorMessage="只能输入数字" ValidationExpression="^[0-9]*$"></asp:RegularExpressionValidator>
                        </td>
            </tr>
            <tr>
                <td align="right" >
    
                    &nbsp;</td>
                <td align="left" >
                    &nbsp;</td>
            </tr>
            <tr style="background-color:#EEEEEE;" class="btconfig">
             <td align="right" >
    
                 &nbsp;</td>
                <td align="left" >
                     <div >
                        <asp:Button ID="ButtonConfirm" runat="server" Text="确定" 
                            onclick="ButtonConfirm_Click" ToolTip="Submit" CssClass="bt2"/>
                            <input ID="inputReset" runat="server"  type="reset" value="重置" Class="bt2"/>
                            <a href="UserDefinedColumn_List.aspx"><img src="images/back.png" border="0" align="top" /></a>
                            <uc1:MessageShow ID="MessageShow" runat="server" Visible="False" />
    
                     </div>
                </td>  
            </tr>
        </table>
   

                    <asp:HiddenField ID="hiddenFieldGuid" runat="server" Value="0" />


    </form>
</body>
</html>
