<%@ page language="C#" masterpagefile="AdminIndexMaster.master" autoeventwireup="true" inherits="Admin_Admin_UpdateShop, mallz" title="店铺详细信息" validaterequest="false" enableEventValidation="false" %>  

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<script src="Js/tabpane.js" type="text/javascript"></script>
<link href="css/tabpane.css" type="text/css" rel="stylesheet" />

<br />
<div style="margin:auto; width:98%;">
    <div class="tab-page" id="shop_manage" style="padding:5px;">
        <script type="text/javascript">
           var tabPane1 = new WebFXTabPane( document.getElementById( "shop_manage" ), 1 )
         </script>
    <div class="tab-page" id="shop_base">
           <h2 class="tab">店铺信息</h2>
           <script type="text/javascript">
                 tabPane1.addTabPage( document.getElementById( "shop_base" ) );
           </script>
    <table class="nick" id="m0">
	    <tr><td class="tit" colspan="2">店铺信息</td></tr>
	    <tr >
		    <td class="ltd">店铺名称：</td>
		    <td class="rtd"><asp:TextBox ID="LabShopName" runat="server" Width="350px"/></td>
	    </tr>
	    <tr>
		    <td class="ltd">店长名称：</td>
		    <td class="rtd"><asp:TextBox ID="LabU_NickName" style="border:0;" runat="server" Width="200px" ReadOnly="true" /></td>
	    </tr>
	    <tr>
		     <td class="ltd">店铺分类：</td>
		     <td class="rtd">
			    <asp:DropDownList ID="DropShopClass" runat="server" DataTextField="ClassName" DataValueField="ClassID" />
		     </td>
	    </tr>              
	    <tr>
		    <td class="ltd">店铺注册时间：</td>
		    <td class="rtd"><asp:TextBox ID="LabShopRegDate" runat="server" ReadOnly="true" />
    		   
	    </tr>
	    <tr>
		    <td class="ltd">店铺关闭时间：</td>
		    <td class="rtd"><asp:TextBox ID="LabCloseDate" runat="server" ReadOnly="true"/></td>
	    </tr>
	    <tr>
		    <td class="ltd">店铺浏览次数：</td>
		    <td class="rtd"><asp:TextBox ID="LabShopClick" runat="server" Width="80px" /></td>
	    </tr>
	     <tr>
		    <td class="ltd">店铺审核状态：</td>
		    <td class="rtd">
			    <asp:DropDownList ID="DropIdentity" runat="server" >
				    <asp:ListItem Value="0">等待审核</asp:ListItem>
				    <asp:ListItem Value="1">审核通过</asp:ListItem>
				    <asp:ListItem Value="-1">拒绝审核</asp:ListItem>
			    </asp:DropDownList>
		    </td>
	    </tr>
	    <tr>
		    <td class="ltd">店铺等级：</td>
		    <td class="rtd">
		       <asp:DropDownList ID="DrpShopLevel" runat="server" AppendDataBoundItems="true" DataTextField="GroupName" DataValueField="ID" >
				    <asp:ListItem Text="未分配" Value="0" />
		       </asp:DropDownList>
		    </td>
	    </tr>
	    <tr>
		    <td class="ltd">是否需要交税：</td>
		    <td class="rtd">
		       <asp:CheckBox ID="DrpIsTax" runat="server" Text="是" /></td>
	    </tr>
	    <tr id="TxtTaxTr">
		    <td class="ltd">税率：</td>
		    <td class="rtd"><asp:TextBox ID="TxtTax" runat="server" Width="40px" /> %
		    </td>
	    </tr>
	    <tr>
		    <td class="ltd">上次登录时间：</td>
		    <td class="rtd"><asp:TextBox ID="LabLastTimeLogin" runat="server" ReadOnly="true" /></td>
	    </tr>
	    <tr>
		    <td class="ltd">店铺地址：</td>
		    <td class="rtd">
			    <asp:TextBox ID="LabShopAddress" runat="server"  Width="250px" /></td>
	    </tr>
	    <tr>
		    <td class="ltd">主营项目：</td>
		    <td class="rtd"><asp:TextBox ID="LabShopOperatorItem" runat="server" TextMode="MultiLine" Rows="5" Columns="60" /></td>
	    </tr>
	    <tr>
		    <td class="ltd">推荐店铺：</td>
		    <td class="rtd">
			    <asp:CheckBox ID="CheckRecommendShop" runat="server" Text="是" /></td>
	    </tr>
	    <tr>
		    <td class="ltd">店铺商品数量：</td>
		    <td class="rtd">
			    <asp:Literal ID="TxtShopProductNums" runat="server" /></td>
	    </tr>
    </table>
    </div>

    <div class="tab-page" id="shop_attri">
           <h2 class="tab">店铺属性</h2>
           <script type="text/javascript">
                 tabPane1.addTabPage( document.getElementById( "shop_attri" ) );
           </script>
    <table class="nick" id="m1">
 	    <tr><td class="tit" colspan="2">店铺属性</td></tr>
	    <tr>
		    <td class="ltd">店铺域名：</td>
		    <td class="rtd"><asp:TextBox ID="LabShopUrl" runat="server" Width="250px" /></td>
	    </tr>
	    <tr>
		    <td class="ltd">顶部广告URL：</td>
		    <td class="rtd"><asp:TextBox ID="LabShopAdUrl" runat="server" Width="250px" /></td>
	    </tr>
	    <tr>
		    <td class="ltd">店铺购物指南：</td>
		    <td class="rtd"><asp:TextBox ID="LabShopHelp" runat="server" TextMode="MultiLine" Rows="5" Columns="60" />
		    <asp:Label ID="LabUserID" runat="server" Visible="false" /></td>
	    </tr>        
	    <tr>
		    <td class="ltd">店铺诚信等级：</td>
		    <td class="rtd"><asp:TextBox ID="LabCredit" runat="server" Width="80px" /></td>
	    </tr>
	    <tr>
		    <td class="ltd">店铺状态：</td>
		    <td class="rtd">
			    <asp:DropDownList ID="DropShopStatus" runat="server" >
				    <asp:ListItem Value="-1">关闭</asp:ListItem>
				    <asp:ListItem Value="0">暂停</asp:ListItem>
				    <asp:ListItem Value="1">正常</asp:ListItem>
			    </asp:DropDownList>
		     </td>
	    </tr>
       <tr >
        <td class="ltd">
	        <p class="MsoNormal" >
		        <span >店铺模板：</span></p>
        </td>
        <td class="rtd"><asp:DropDownList ID="DropShopTem" runat="server"  AppendDataBoundItems="True">
	        <asp:ListItem Value="" Text="使用默认"></asp:ListItem>
        </asp:DropDownList></td>
        </tr>
        <tr >
        <td class="ltd">
	        <p class="MsoNormal" >
		        <span >店铺风格：</span></p>
        </td>
        <td class="rtd">
	        <asp:DropDownList ID="DropShopSkin" DataTextField="SkinName" DataValueField="SkinID" AppendDataBoundItems="True" runat="server" >
		        <asp:ListItem Value="0" Text="使用默认"></asp:ListItem>
	        </asp:DropDownList>
	           </td>
        </tr>
     </table>
     </div>

    <div class="tab-page" id="shop_img">
           <h2 class="tab">店铺图片</h2>
           <script type="text/javascript">
                 tabPane1.addTabPage( document.getElementById( "shop_img" ) );
           </script>
    <table class="nick" id="m2">
	    <tr><td class="tit">店铺图片</td></tr>
	    <tr>
	      <td><asp:Image ID="ImageShopImage" onerror="this.src='/Images/show_nopic.gif'" runat="server" /></td>
	    </tr>
	    <tr>
	      <td>
		      <asp:FileUpload ID="FileUpload1" Width="300" runat="server" /></td>
	    </tr>
    </table>
    </div>

    <div class="tab-page" id="shop_annou">
           <h2 class="tab">店铺公告</h2>
           <script type="text/javascript">
                 tabPane1.addTabPage( document.getElementById( "shop_annou" ) );
           </script>
    <table class="nick" id="m3">
     <tr><td class="tit">店铺公告</td></tr>
      <tr>                
	     <td>
	      <asp:TextBox ID="LabShopAnnouncement" runat="server" style="display:none;" />
		     <iframe src="Editor/Editor.aspx?ID=ctl00_ContentPlaceHolder1_LabShopAnnouncement" frameborder="0" width="100%" height="300"></iframe>
		     </td>
      </tr>
    </table>
    </div>
    
    <div class="tab-page" id="shop_info">
           <h2 class="tab">店铺介绍</h2>
           <script type="text/javascript">
                 tabPane1.addTabPage( document.getElementById( "shop_info" ) );
           </script>
    <table class="nick" id="m4">
     <tr><td class="tit">店铺介绍</td></tr>
     <tr>
	    <td>
		    <asp:TextBox ID="LabShopIntro" runat="server" style="display:none;" />
		    <iframe src="Editor/Editor.aspx?ID=ctl00_ContentPlaceHolder1_LabShopIntro" height="300" width="100%" frameborder="0"></iframe>
	    </td>
     </tr>
    </table>
    </div>

    </div>
</div>
       
    <div class="div_btm">
	<asp:Button ID="UpdateButton" runat="server" Text="保存修改" OnClick="UpdateButton_Click" />
	<asp:Button ID="Button1" runat="server" Text="生成店铺" OnClick="CreateButton_Click" />
    <input name="cl" type="button" value="取消返回" onclick="javascript:{history.back()}" />
    </div> 

    <asp:Label ID="LabIdentily" runat="server" ForeColor="White" Width="95px"></asp:Label>
</asp:Content>
