<%@ 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>
    <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">
        <div>           
            <div class="PageTitleArea">
                <div class="PageTitle">
                     <asp:Literal ID="lblPageTitle" runat="server" Text="<%$ Resources:AdvPositions,IDS_PageTitle %>"></asp:Literal>
                </div>
                <div style="width: 80%;">
                    <asp:Literal ID="lblPageDesc" runat="server" Text="<%$ Resources:AdvPositions,IDS_PageDesc %>"></asp:Literal>
                </div>
            </div>
            <Hishop:AdvPositions ID="AdvPositions" runat="server">
                <SkinTemplate> 
<Hishop:StatusMessage id="Status" runat="server" Visible="False" />
<!--广告位列表-->
<div class="grdGroupFormList"> 
            <div class="grdGroupList">
                <asp:GridView ID="grdAdvPosition" runat="server" AutoGenerateColumns="false" ShowHeader="true" DataKeyNames="AdvPositionId" CssClass="GridViewStyle" GridLines="None" RowStyle-CssClass="grdrow" HeaderStyle-CssClass="GridViewHeaderStyle" >                                                        
                        <Columns>                                       
                            <asp:TemplateField HeaderText="<%$ Resources:AdvPositions,IDS_grdAdvPositionName %>"> 
                                <ItemTemplate>
		                            <asp:Label ID="lblAdvPositionName" runat="server" Text='<%#Bind("AdvPositionName") %>'></asp:Label>
                                </ItemTemplate>                                                         
                            </asp:TemplateField> 
                            <asp:TemplateField HeaderText="<%$ Resources:AdvPositions,IDS_grdAdRotator %>">
                                <ItemTemplate>
                                    <asp:Label ID="lblAdv" runat="server" Text='<%# Eval("ShowType") %>'></asp:Label>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="<%$ Resources:AdvPositions,IDS_grdShopType %>" ItemStyle-Width="20%">
                                <ItemTemplate>
                                    <asp:Literal ID="litShopType" runat="server" Text='<%# Eval("ShowType") %>' />
                                </ItemTemplate>
                            </asp:TemplateField>
                             <asp:TemplateField HeaderText="<%$ Resources:Resources, IDS_Header_Options %>" ItemStyle-Width="20%">
                                 <ItemStyle CssClass="handleRightSelect"/>
                                 <ItemTemplate>
	                                <asp:HyperLink ID="lkbAdvPositionName" CssClass="SmallCommonTextButton" runat="server" Text="<%$ Resources:AdvPositions, IDS_FormField_AdvPosition %>" NavigateUrl='<%# Globals.GetSiteUrls().UrlData.FormatUrl("admin_Advertisements",Eval("AdvPositionId"))%>'></asp:HyperLink>
	                                <asp:HyperLink ID="lkbEdit" CssClass="SmallCommonTextButton" runat="server" Text="<%$ Resources:AdvPositions, IDS_FormField_EditAdvPosition%>" NavigateUrl='<%# Globals.GetSiteUrls().UrlData.FormatUrl("admin_EditAdvPositions",Eval("AdvPositionId"))%>'></asp:HyperLink>
                                 </ItemTemplate>
                             </asp:TemplateField>
                        </Columns>
                </asp:GridView>
            </div>
</div> 
                </SkinTemplate>
            </Hishop:AdvPositions>
        </div>
        <br />
        <div style="text-align:center">
            <hr style="width:500px;" />
            <Hishop:SiteCopyright ID="SiteCopyright1" runat="server" />
        </div>
        <br />
        <Hishop:ValidatorContainer runat="server" ID="ValidatorContainer" />
    </form>
</body>
</html>


 
