<%@ Page Language="C#" AutoEventWireup="false" %>
<%@ Register TagPrefix="Hishop" Namespace="Hishop.Web.Management" Assembly="Hishop.Web.Management" %>
<%@ Register TagPrefix="Hishop" Namespace="Hishop.Web.Controls" Assembly="Hishop.Web.Controls" %>
<%@ Register TagPrefix="Hishop" Namespace="Hishop.Web.Validator" Assembly="Hishop.Web.Validator" %>
<%@ Register TagPrefix="UI" Namespace="ASPNET.WebControls" Assembly="ASPNET.WebControls" %>
<%@ 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>
    <Hishop:HeadContainer ID="HeadContainer1" runat="server" />
    <Hishop:PageTitle ID="PageTitle1" runat="server" />
    <link rel="stylesheet" href="../../Utility/validate/pagevalidator.css" type="text/css" />
    <link rel="stylesheet" href="../css/Hishopv5.css" type="text/css" />
    <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" enctype="multipart/form-data">
    <div class="PageTitleArea">
        <div class="PageTitle">
            <asp:Literal ID="lblPageTitle" runat="server" Text="<%$ Resources:ProductTypes, IDS_PageTitle %>"></asp:Literal>
        </div>
        <div style="width: 80%;">
            <asp:Literal ID="lblPageDesc" runat="server" Text="<%$ Resources:ProductTypes, IDS_PageDesc %>"></asp:Literal>
        </div>
    </div>
    <Hishop:ProductTypeImport ID="productTypeImport" runat="server">
        <SkinTemplate>
            <Hishop:StatusMessage id="Status" runat="server" Visible="False" />
            
            <fieldset class="AdminSearchform">
            <legend><asp:Literal ID="litSelectQuery" runat="server" Text="<%$ Resources:ProductTypeImport, IDS_Import %>"></asp:Literal></legend>      
             <table border="0" cellspacing="0" cellpadding="0" style="margin-left:18px">
                <tr>
                    <td><asp:Literal runat="server" Text="<%$ Resources:ProductTypeImport, IDS_ImportFilePrompt%>" /></td>
                    <td>&nbsp;</td>
                    <td><input type="file" name="uploader" /></td>
                    <td>&nbsp;</td>
                    <td>
                        <asp:Button ID="btnUploadButton" runat="server"  Text="<%$ Resources:ProductTypeImport, IDS_ImportFileButton %>" CssClass="inp_L1"></asp:Button>
                    </td>
                </tr>
            </table>
            </fieldset>
            
            <Hishop:CustomGridView ID="grdProductTypes" runat="server" AutoGenerateColumns="false" ShowHeader="true" DataKeyNames="TypeName" CssClass="GridViewStyle" GridLines="None" RowStyle-CssClass="grdrow" HeaderStyle-CssClass="GridViewHeaderStyle">
                <Columns>
                    <asp:TemplateField HeaderText="<%$ Resources:ProductTypes, IDS_Lable_TypeName %>">
                        <ItemTemplate>
		                    <asp:Label ID="lblTypeName" runat="server" Text='<%# Eval("TypeName") %>'></asp:Label>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="<%$ Resources:ProductTypes, IDS_Lable_Remark %>">
                        <ItemTemplate>
                            <asp:Label ID="lblRemark" runat="server" Text='<%# Eval("Remark") %>'></asp:Label>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="" ItemStyle-HorizontalAlign="Right">
                        <ItemTemplate>
		                    <asp:Label ID="lblTypeAlert" runat="server" Text=""></asp:Label>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="<%$ Resources:Resources, IDS_Header_Options %>">
                        <ItemTemplate>
		                    <asp:DropDownList ID="ddlOption" runat="server"></asp:DropDownList>
                        </ItemTemplate>
                    </asp:TemplateField>
                </Columns>
            </Hishop:CustomGridView>
            
            <br />
            <asp:Button ID="btnConfirmButton" runat="server"  Text="<%$ Resources:ProductTypeImport, IDS_ImportConfrim %>" CssClass="inp_L1" Visible="false"></asp:Button>
            
        </SkinTemplate>
    </Hishop:ProductTypeImport>
    <br />
    <div class="botCopyInfo">
        <hr style="width: 500px;" />
        <Hishop:SiteCopyright ID="SiteCopyright1" runat="server" />
    </div>
    <br />
    <Hishop:ValidatorContainer runat="server" ID="ValidatorContainer" />
    </form>
</body>
</html>
