<%@ Page language="c#" Codebehind="Store_Category_Add.aspx.cs" AutoEventWireup="true" Inherits="XpShop.Supplier.Store_Category_Add" %>
<%@ Register TagPrefix="uc1" TagName="Header" Src="../Modules/Header.ascx" %>
<%@ Register TagPrefix="uc1" TagName="SupplierMenu" Src="../Modules/SupplierMenu.ascx" %>
<%@ Register TagPrefix="uc1" TagName="Helper" Src="../Modules/Helper.ascx" %>
<%@ Register TagPrefix="uc1" TagName="Footer" Src="../Modules/Footer.ascx" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<HTML>
	<HEAD>
		<title>商家中心
			<%=config.SiteTitle%>
		</title>
		<!--#include file="../inc/head.inc"-->
		<script type="text/javascript" src="../inc/Store_Category_Add.js"></script>
	</HEAD>
	<body>
			<uc1:Header id="Header1" runat="server"></uc1:Header>
			 <!--位置导航开始-->
			 <div class="path"><a href="<%=webSite %>supplier/default.<%=config.html%>">商家桌面</a> > 商品管理 >
                 <asp:Label ID="lblTitleInfo" runat="server" Text="添加店内一级分类"></asp:Label></div>
			<!--位置导航结束-->
			<div class="xp-w clear">
				<div class="content-left">
					<!--会员中心导航开始-->
					<uc1:SupplierMenu id="SupplierMenu1" runat="server"></uc1:SupplierMenu>
					<!--会员中心导航结束-->
				</div>
				<div class="content-middle">				
					<%--<h3>欢迎您,<%=CurrentSupplier.RealName%></h3>

					<hr class="itemhr" />--%>
					<div class="rframe">
					    <div class="tm">编辑分类</div>
					    <div class="mm clear">
					        <form id="Form1" method="post" runat="server">
					            <table cellpadding="0" cellspacing="0" border="0" class="ptable">
						            <tr>
							            <th class="tl"><span class="xp-need">*</span>店内分类名称</th>
							            <td class="tr"><asp:TextBox id="txtName" Runat="server" ></asp:TextBox>(25个汉字以内)</td>
						            </tr>
						            <%if(!string.IsNullOrEmpty(Request.QueryString["pid"])){%>
						            <tr>
						                <th class="tl"><span class="xp-need">*所属店内一级分类</span></th>
						                <td class="tr"><asp:DropDownList id="ddlCategory" Runat="server" ></asp:DropDownList></td>
						            </tr>
       				                <%}%>
						            <tr>
							            <th class="tl"><span class="xp-need">*</span>显示优先级</th>
							            <td class="tr"><asp:TextBox id="txtSort" Runat="server" TextMode="SingleLine"></asp:TextBox>(0-9999，数字越小排序越高)</td>
						            </tr>
						            <tr>
							            <th class="tl"><span class="xp-need">*</span>上传分类图片</th>
							            <td class="tr"><input id="fileCategory" type="file" name="fileCategory" class="file" runat="server" size="20"/>
							            <%if(subCategoryDetail.Logo!=null ){%>
							            <img  onload="this.width=this.width>100?100:this.width;" src="../../upload/Supplier/<%=subCategoryDetail.Logo%>"</td>
							            <% }%>
						            </tr>
						            <%if(string.IsNullOrEmpty(Request.QueryString["pid"])&& !isHideRadDisplay){%>
						            <tr>
							            <th class="tl"><span class="xp-need">*</span>子分类显示方式</th>
							            <td class="tr">
							                <asp:RadioButtonList id="radDisplay" runat="server" RepeatDirection=Horizontal>
                                                <asp:ListItem Value="0">展开</asp:ListItem><asp:ListItem Value="1" Selected=True>收起</asp:ListItem>
                                            </asp:RadioButtonList>
							            </td>
						            </tr>
						            <%}%>
						            <tr>
							            <td colspan="2" class="center"><asp:Button id="btnSubmit" onClick="btnSubmint_Click" runat="server" Text="提 交"></asp:Button></td>
						            </tr>
					            </table>
					        </form>	
					    </div>
					</div>				
				</div>
			</div>
		<uc1:Helper id="Helper" runat="server"></uc1:Helper>
		<uc1:Footer id="Footer" runat="server"></uc1:Footer>
	</body>
</HTML>
