<%@ page language="C#" masterpagefile="../ShopMasterPage/MyShop.master" enableeventvalidation="false" autoeventwireup="true" inherits="Shop_Manage_shop_setup, HoWaveVGO" title="店铺设置" validaterequest="false" %>
<%@ Register Src="../UserControls/HowaveProvinceCity.ascx" TagName="HowaveProvinceCity"  TagPrefix="uc1" %>
<%@ Register TagPrefix="fckeditorv2" Namespace="FredCK.FCKeditorV2" Assembly="FredCK.FCKeditorV2" %>
<%--<%@ Register Assembly="FreeTextBox" Namespace="FreeTextBoxControls" TagPrefix="FTB" %>--%>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div class="pageTitle">基本设置</div>
<script type="text/javascript" src="../Js/howave_time.js"></script>
 <div class="tips_onclick"  style="width:94%">店长您好！在这里您可以随时装修您的店铺。店标，公告不要空哦，让买家感觉到你的用心，自然愿意多逛逛。</div>
 <table class="ShopOrderStyle">  
 <caption>店铺信息</caption> 
    <tr>
        <td class="OrderTitle">店 铺 名:</td>
        <td><asp:TextBox  MaxLength="30" ID="TxtShopName" runat="server" Width="500px"/></td>      
    </tr>
    
    <tr>
        <td class="OrderTitle">店铺类别</td>
        <td><asp:DropDownList ID="DropShopClass" runat="server" Width="500px"/></td>      
    </tr>
     <tr>
       <td class="OrderTitle">店铺状态:</td>
        <td>
            <asp:RadioButtonList ID="ShopStatus" runat="server" RepeatDirection="Horizontal">
               <asp:ListItem Text="正常" Value="1" />
               <asp:ListItem Text="暂停营业" Value="2"/>
               <asp:ListItem Text="关闭" Value="0" />               
            </asp:RadioButtonList>
        <a href="#"  onmouseover="showHelp('help1');" onmouseout="hidenHelp('help1');" ><img src="../Images/tooltip.png" border="0" /></a>
        </td>       
    </tr>   
    <tr>
        <td class="OrderTitle"> 主营项目:</td>
        <td><asp:TextBox ID="TxtOperatorItem" runat="server" Height="50px" Width="500px" TextMode="MultiLine"/></td>
    </tr>   
    <tr>
       <td class="OrderTitle">店铺介绍:</td>
        <td>
            <fckeditorv2:FCKeditor ID="TxtShopIntro" runat="server"  AutoDetectLanguage="true" BasePath="../../FCKEditor/"    ></fckeditorv2:FCKeditor> 
          
        </td>       
    </tr>
 </table>
 <table class="ShopOrderStyle">   
    <tr>
        <td class="OrderTitle">店 &nbsp; 标:</td>
        <td>
          <div style="width:100%; position:relative">
           <div style="float:left; width:350px;">
              <div style="width:100%"><asp:FileUpload ID="FileUpload1" runat="server" width="320px" /></div>
                 <div id="previewImage" style="height:100px; width:100px; border:solid 1px gray; text-align:center;">
                    <asp:Image ID="ImageURL" runat="server" Height="100px" Width="100px" ImageUrl="~/Shop/Images/nopicture.gif"/>
                  </div> 
                  <br />
                 (仅支持gif和jpg，限制大小80K以内，建议规格为100px*100px,若上传后店标为原有店标为浏览器图片缓存所影响！) 
           </div>
           <div style="float:right;width:150px; text-align:right;">
             <img src="http://image.taobao.com/newshop/shop_21.gif" style="width: 128px; height: 181px" />
            </div>
          </div>           
           
        </td>       
    </tr>
    <tr>
        <td class="OrderTitle">公 &nbsp; 告:</td>
        <td>
       <%--   <ftb:freetextbox id="TxtShopAnnouncement" runat="server" Width="100%" />--%>
           <fckeditorv2:FCKeditor ID="TxtShopAnnouncement" runat="server"  AutoDetectLanguage="true" BasePath="../../FCKEditor/" ></fckeditorv2:FCKeditor> 
         <div align="center">
            <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="预览" />
         </div>
         <div id="ShopAnnounceContent" style="border:solid 1px gray;background-color:white;">
             <marquee direction="up" onmouseout="this.start()" onmouseover="this.stop()"
                                scrollamount="1" style="position: relative; left: 0px; width: 505px; top: 0px; height: 142px;">
                                <% Response.Write(strShopAnnouncement); %></marquee>
            </div>
            <div id="VipCardTitle" style="display: none"></div>   
        </td>
     </tr>    
     <tr>
        <td colspan="2" style="text-align: center" > 
            <asp:Button ID="ButSaveBaseShop" runat="server" Text="确定" Width="48px" OnClick="ButSaveBaseShop_Click" />
        </td>
    </tr>
</table>
 <div style="clear:both; height:3px; overflow:hidden"></div>
 <div id="help1" style="position:absolute;z-index:1; border:solid 1px black; padding:10px; background:white; display:none;" onmouseover="this.style.display='';" onmouseout="this.style.display='none'">
      <ul>
         <li><b>正常：</b>店铺正常营业，会员可以正常浏览店铺和购买卖家的商品</li><li><b>关闭：</b>店铺停止营业，会员浏览该店铺时显示关闭状态，所有出售中的商品会即时下架</li><li><b>暂停营业：</b>店铺暂时停止营业，会员浏览该店铺显示暂时关闭状态，出售中的商品不会下架</li></ul>
      <iframe src="#" frameborder="0" style="position:absolute; visibility:inherit; top:0px; left:0px; width:400px; height:80px; z-index:-1; filter='progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=0)';" ></iframe>
   
   </div>
</asp:Content>

