<%@ page language="C#" masterpagefile="AdminIndexMaster.master" autoeventwireup="true" inherits="HL_Admin_Admin_UpdateShop, HoWaveVGO" title="店铺详细信息" validaterequest="false" enableEventValidation="false" %>  
<%@ Register TagPrefix="fckeditorv2" Namespace="FredCK.FCKeditorV2" Assembly="FredCK.FCKeditorV2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<script src="Js/tabpane.js" type="text/javascript"></script>
<table class="adminheading" width="100%">                
   <tr>
      <th class="user" align="left" style="height: 52px">会员店铺管理</th>
      <td align="right">
      <div style="width:50px"><asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="Admin_Shop.aspx">返回</asp:HyperLink></div></td>
   </tr>
</table> 

      <br />
       <div class="tab-page" id="shop_manage" style="padding-left:5px;height:100%">
        <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">

                <tr>
                    <td class="ltd">店长名称</td>
                    <td class="rtd"><asp:TextBox ID="LabU_NickName" runat="server" /></td>
                </tr>
                <tr >
                    <td class="ltd">店铺名称</td>
                    <td class="rtd"><asp:TextBox ID="LabShopName" runat="server"/></td>
                </tr>
                <tr>
                     <td class="ltd">店铺分类</td>
                     <td class="rtd"><asp:DropDownList ID="DropShopClass" runat="server" DataSourceID="ObjectDataSource1" DataTextField="ClassName" DataValueField="ClassID" /></td>
                </tr>              
                <tr>
                    <td class="ltd">店铺注册时间</td>
                    <td class="rtd"><asp:TextBox ID="LabShopRegDate" runat="server" />
                       
                </tr>
                <tr>
                    <td class="ltd">店铺关闭时间</td>
                    <td class="rtd"><asp:TextBox ID="LabCloseDate" runat="server" /></td>
                </tr>
                <tr>
                    <td class="ltd">店铺浏览次数</td>
                    <td class="rtd"><asp:TextBox ID="LabShopClick" runat="server" /></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="2">验证没通过</asp:ListItem>
                        </asp:DropDownList></td>
                </tr>
                <tr>
                    <td class="ltd">店铺等级</td>
                    <td class="rtd">
                       <asp:DropDownList ID="DrpShopLevel" runat="server">
                            <asp:ListItem Text="普通店铺" Value="0" />                            
                            <asp:ListItem Text="品牌商店" Value="1" />
                            <asp:ListItem Text="高级店铺" Value="2" />
                            <asp:ListItem Text="专卖店/老字号" Value="3" /> 
                        </asp:DropDownList></td>
                </tr>
                <tr>
                    <td class="ltd">是否需要交税</td>
                    <td class="rtd">
                       <asp:CheckBox ID="DrpIsTax" runat="server" Text="是" /></td>
                </tr>
                <tr>
                    <td class="ltd">税率</td>
                    <td class="rtd"><asp:TextBox ID="TxtTax" runat="server" /></td>
                </tr>
                <tr>
                    <td class="ltd">上次登录时间</td>
                    <td class="rtd"><asp:TextBox ID="LabLastTimeLogin" runat="server" /></td>
                </tr>
                <tr>
                    <td class="ltd">店铺地址</td>
                    <td class="rtd">
                        <asp:TextBox ID="LabShopAddress" runat="server" /></td>
                </tr>
                <tr>
                    <td class="ltd">主营项目</td>
                    <td class="rtd"><asp:TextBox ID="LabShopOperatorItem" runat="server" /></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_intro">
           <h2 class="tab">店铺页面</h2>
           <script type="text/javascript">
                 tabPane1.addTabPage( document.getElementById( "shop_intro" ) );
           </script>     
             <table class="nick">
                <tr>
                    <td class="ltd">店铺URL</td>
                    <td class="rtd"><asp:TextBox ID="LabShopUrl" runat="server" /></td>
                </tr>
                <tr>
                    <td class="ltd">顶部广告URL</td>
                    <td class="rtd"><asp:TextBox ID="LabShopAdUrl" runat="server" /></td>
                </tr>
                <tr>
                    <td class="ltd">店铺购物指南</td>
                    <td class="rtd"><asp:TextBox ID="LabShopHelp" runat="server" />
                    <asp:Label ID="LabUserID" runat="server" Visible="false" /></td>
                </tr>        
                <tr>
                    <td class="ltd">店铺诚信等级</td>
                    <td class="rtd"><asp:TextBox ID="LabCredit" runat="server" /></td>
                </tr>
                <tr>
                    <td class="ltd">店铺状态</td>
                    <td class="rtd">
                        <asp:DropDownList ID="DropShopStatus" 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">
                <p class="MsoNormal" >
                    <span >店铺模板</span></p>
            </td>
            <td class="rtd"><asp:DropDownList ID="DropShopTem" runat="server"  AppendDataBoundItems="True"> 
            </asp:DropDownList></td>
        </tr>
        <tr >
            <td class="ltd">
                <p class="MsoNormal" >
                    <span >店铺风格</span></p>
            </td>
            <td class="rtd">
                <asp:DropDownList ID="DropShopSkin" runat="server" />
                   </td>
        </tr>
             </table>
        </div>
        <div class="tab-page" id="shop_pic">
           <h2 class="tab">店铺图片</h2>
           <script type="text/javascript">
                 tabPane1.addTabPage( document.getElementById( "shop_pic" ) );
           </script>
            <table class="adminform">
                <tr>
                  <td><asp:Image ID="ImageShopImage" runat="server" /></td>
                </tr>
         </table>
       </div>
        <div class="tab-page" id="shop_announce">
           <h2 class="tab">店铺公告</h2>
           <script type="text/javascript">
                 tabPane1.addTabPage( document.getElementById( "shop_announce" ) );
           </script>
           <table class="adminform">
              <tr>                
                 <td>
                     <fckeditorv2:fckeditor id="LabShopAnnouncement" runat="server" autodetectlanguage="true"
                         basepath="../FCKEditor/"></fckeditorv2:fckeditor>
                     </td>
              </tr>
           </table>
       </div>
       <div class="tab-page" id="shop_html">
           <h2 class="tab">店铺介绍</h2>
           <script type="text/javascript">
                 tabPane1.addTabPage( document.getElementById( "shop_html" ) );
           </script>
           <table class="adminform">
             <tr>
                <td>
                    &nbsp;<fckeditorv2:fckeditor id="LabShopIntro" runat="server" autodetectlanguage="true"
                         basepath="../FCKEditor/">
                    </fckeditorv2:FCKeditor>
                </td>
             </tr>
           </table>
       </div>
    </div>
    <div class="div_btm"><asp:Button ID="UpdateButton" runat="server" Text="修改" OnClick="UpdateButton_Click" /></div> 

    <asp:HiddenField ID="h_ShopID" runat="server" />

    <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" SelectMethod="GetAllParentClass"  TypeName="Shop_Class" />
    <asp:Label ID="LabIdentily" runat="server" ForeColor="White" Width="95px"></asp:Label>
</asp:Content>
