<%@ Page language="c#" Codebehind="SupplierInfo.aspx.cs" AutoEventWireup="true" Inherits="XpShop.Supplier.SupplierInfo" %>
<%@ Register TagPrefix="uc1" TagName="Header" Src="Modules/Header.ascx" %>
<%@ Register TagPrefix="uc1" TagName="SupplierMenu" Src="Modules/SupplierMenu.ascx" %>
<%@	Register TagPrefix="ftb" Namespace="FreeTextBoxControls" Assembly="FreeTextBox"	%>
<%@ 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 xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<!--#include file="inc/head.inc"-->
		<title>商家中心 <%=config.SiteTitle%></title>
	</head>
	<body>

		<uc1:Header id="Header1" runat="server"></uc1:Header>
		 <!--位置导航开始-->
		 <div class="path"><a href="<%=webSite %>supplier/default.<%=config.html%>">商家桌面</a> > 商家管理 > 商家资料</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 class="ptable" cellspacing="0" cellpadding="0">
				            <tr>
						        <th class="tl">	商家编号：</th>
						        <td class="tr"><font color="#00cc99"><%=supplierDetail.SupplierID%></font></td>
					        </tr>
					        <tr>
				                <th class="tl">商家名称：
				                </th>
				                <td class="tr"><asp:textbox id="txtName" runat="server" Width="190" MaxLength="50"></asp:textbox><FONT color="red">*</FONT></td>
			                </tr>
			                <tr>
				                <th class="tl">过期时间：
				                </th>
				                <td class="tr"><asp:textbox id="txtExpireTime" runat="server" Width="190" MaxLength="50"></asp:textbox><FONT color="red">*</FONT></td>
			                </tr>
			                <tr>
				                <th class="tl">商家Banner：
				                </th>
				                <td class="tr"><input id="fileBanner" type="file" name="fileBanner" class="file" runat="server" size="20"/>
				                <img  onload="this.width=this.width>200?200:this.width;" src="../upload/Supplier/<%=supplierDetail.Banner%>" /></td>
			                </tr>
			                <tr>
				                <th class="tl">Logo：
				                </th>
				                <td class="tr"><input id="fileLogo" type="file" name="fileLogo" class="file" runat="server" size="20"/>
				                <img  onload="this.width=this.width>200?200:this.width;" src="../upload/Supplier/<%=supplierDetail.Logo%>" /></td>
			                </tr>
			                <tr>
				                <th class="tl">简介：
				                </th>
				                <td class="tr"><FTB:FREETEXTBOX id="ftbContent" runat="Server"	Width="520"	ImageGalleryPath="Upload/" ToolbarType="OfficeXP"
					        ButtonPath="images/ftb/officeXP/" ButtonDownImage="True" ButtonOverImage="True"></FTB:FREETEXTBOX></td>
			                </tr>
			                <tr>
				                <th class="tl">联系方式：
				                </th>
				                <td class="tr"><FTB:FREETEXTBOX id="ftbContact" runat="Server"	Width="520"	ImageGalleryPath="Upload/" ToolbarType="OfficeXP"
					        ButtonPath="images/ftb/officeXP/" ButtonDownImage="True" ButtonOverImage="True"></FTB:FREETEXTBOX></td>
			                </tr>
			                <tr>
				                <th class="tl">地址：
				                </th>
				                <td class="tr"><asp:textbox id="txtAddress" runat="server" Width="190" MaxLength="80"></asp:textbox><FONT color="red">*</FONT>
					            </td>
			                </tr>
			                <tr>
				                <th class="tl">电话：
				                </th>
				                <td class="tr"><asp:textbox id="txtPhone" runat="server" Width="190" MaxLength="100"></asp:textbox><FONT color="red">*</FONT></td>
			                </tr>
			                <tr>
				                <th class="tl">联系人：
				                </th>
				                <td class="tr"><asp:textbox id="txtContacter" runat="server" Width="190" MaxLength="100"></asp:textbox><FONT color="red">*</FONT></td>
			                </tr>
			                <tr>
				                <th class="tl">备注：</th>
				                <td class="tr">
				                    <asp:textbox id="txtRemark" runat="server" Width="190" MaxLength="100"></asp:textbox>
				                </td>
			                </tr>
			                <tr>
                    	        <th class="tl"></th>
				                <td class="tr">
					                <asp:button id="btnSave"  onclick="btnSave_Click" runat="server" Text="保存" CssClass="inputbtn"></asp:button>
                                    <asp:button id="btnCancel"  runat="server" Text="取消" CausesValidation="False" CssClass="inputbtn"></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>

