<%@ Page Language="C#" AutoEventWireup="false" %>
<%@ Register TagPrefix="Hishop" Namespace="Hishop.Web.Controls" Assembly="Hishop.Web.Controls" %>
<%@ Register TagPrefix="Hishop" Namespace="Hishop.Web.Management" Assembly="Hishop.Web.Management" %>
<%@ Register TagPrefix="Hishop" Namespace="Hishop.Web.Validator" Assembly="Hishop.Web.Validator" %>
<%@ Import Namespace="Hishop.SystemServices" %>

<!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 runat="server">
    <Hishop:HeadContainer ID="HeadContainer1" runat="server" />
    <Hishop:PageTitle ID="PageTitle1" runat="server" />
    <link rel="stylesheet" href="../css/Hishopv5.css" type="text/css" media="screen" />
    <link rel="stylesheet" href="../../utility/validate/pagevalidator.css" type="text/css" media="screen" />
    <script type="text/javascript" src="../../utility/jquery-1.3.2.min.js"></script>
    <script type="text/javascript" src="../../utility/validate/pagevalidator.js"></script>
    <script type="text/javascript" src="../js/Hishopv5.js"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
            <div>
                <ul class="anchors clearfix">
                <li><a href='./ImportFromHishop.aspx'>从Hishop数据包导入</a></li>
                <li><a href='./ImportFromTB.aspx'>从淘宝数据包导入</a></li>
                <li class="tabs-selected"><a href='./ImportFromPP.aspx'>从拍拍数据包导入</a></li>
                </ul>
            </div>
<Hishop:ImportFromPP runat="server">
  <SkinTemplate>
    <Hishop:StatusMessage id="Status" runat="server" Visible="False" />
    <div class="dataarea mainwidth databody">
     <div class="datafrom">
      <div class="formitem">
               <ul>
                  <li>
                      <h3 style="color:#FF7F00; border-bottom-color:Silver; border-bottom-width:1px; border-bottom-style:solid; padding-bottom:5px;">
                      数据包信息</h3>
                      <div style="color:Red; margin-top:8px;">拍拍数据包的来源：1.易分销或Hishop系统本身导出的数据包；2.拍拍或Hishop助理导入的文件，把CSV文件和图片文件夹都命名为products然后选中两个打成zip的压缩包</div>
                   </li>
                   <li>
                        <span class="formitemtitle Pw_198">导入插件版本：</span>
                        <asp:DropDownList runat="server" ID="dropImportVersions"></asp:DropDownList>
                   </li>
                   <li>
                        <span class="formitemtitle Pw_198">选择要导入的数据包文件：</span>
                        <asp:DropDownList runat="server" ID="dropFiles"></asp:DropDownList>
                   <span class="formitemtitle Pw_198">&nbsp;</span>
                   <span>
                    导入之前需要先将数据包文件上传到服务器上；<br/>
                    如果上面的下拉框中没有您要导入的数据包文件，请先上传。
                    </span>
                  </li>
                  <li> <span class="formitemtitle Pw_198"></span>
                    <asp:FileUpload runat="server" ID="fileUploader" /><asp:Button runat="server" ID="btnUpload" Text="上传" /><br />              
                    <span class="formitemtitle Pw_198">&nbsp;</span>
                    <span>
                        如果数据包文件太大上传失败，<br/>您还可以使用FTP工具先将数据包上传到网站的/storage/data/paipai目录以后，再重新打开此页面操作。
                    </span>
                  </li>
                </ul>
                <ul>
                   <li>
                    <h3 style="color:#FF7F00; border-bottom-color:Silver; border-bottom-width:1px; border-bottom-style:solid; padding-bottom:5px;">
                    导入选项</h3>
                   </li>
                   <li>
                     <span class="formitemtitle Pw_198">店铺分类：</span>
                      <Hishop:ProductCategoriesDropDownList ID="dropCategories" runat="server" AutoDataBind="true" />
                   </li>
                   <li>
                     <span class="formitemtitle Pw_198">商品导入状态：</span>
                     <asp:CheckBox runat="server" Checked="true" Text="出售中的商品" ID="chxIsUpselling" />
                   </li>
                   <li> <span class="formitemtitle Pw_198">&nbsp;</span> 
                      <asp:CheckBox runat="server" ID="cblIsDel"  Checked="true" Text="导入完成以后删除数据包及临时文件" />
                   </li>
                   <li><span class="formitemtitle Pw_198">&nbsp;</span> 
                      <asp:Button runat="server" ID="btnImport" Text="导入" />
                   </li>
                </ul>
                <div class="blank12 clearfix"></div>
            </div>
        </div>
    </div>
   </SkinTemplate>
</Hishop:ImportFromPP>
    </div>
        <br />
       <div style="margin:0px auto;width:500px;clear:both;">
            <hr style="width:500px;" />
            <Hishop:SiteCopyright ID="SiteCopyright1" runat="server" />
        </div>
        <br />
        <Hishop:ValidatorContainer runat="server" ID="ValidatorContainer" />
    </form>
</body>
</html>
