<%@ Page Language="C#" MasterPageFile="~/Admin/Admin.Master" AutoEventWireup="true" CodeBehind="AdvPositions.aspx.cs" Inherits="Hidistro.UI.Web.Admin.AdvPositions" %>
<%@ Register TagPrefix="Hi" Namespace="Hidistro.UI.Common.Controls" Assembly="Hidistro.UI.Common.Controls" %>
<%@ Register TagPrefix="Hi" Namespace="Hidistro.UI.ControlPanel.Utility" Assembly="Hidistro.UI.ControlPanel.Utility" %>
<%@ Register TagPrefix="Hi" Namespace="Hidistro.UI.Common.Validator" Assembly="Hidistro.UI.Common.Validator" %>
<%@ Register TagPrefix="UI" Namespace="ASPNET.WebControls" Assembly="ASPNET.WebControls" %>
<%@ Import Namespace="Hidistro.Core" %>
<asp:Content ID="Content1" ContentPlaceHolderID="headHolder" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="contentHolder" runat="server">
 <div class="dataarea mainwidth td_top_ccc">
    <div class="toptitle">
        <em><img src="../images/01.gif" width="32" height="32" /></em>
        <h1 class=" title_height">“<a href="ManageThemes.aspx"><asp:Literal runat="server" ID="litThemName"/></a>”模板的广告位管理</h1>
        <span>广告位是模板内置的，请不要轻易删除，否则会影响模板的美观。添加广告位必须懂设计，添加好后必须把广告位标签插到模板上才能生效</span>
    </div>
	<div class="searcharea clearfix br_search">
		<ul>
			<li>
            <asp:HyperLink ID="hlinkAddAdv" CssClass="submit_jia100" Text="添加广告位" runat="server" />
          </li>
	  </ul>
    </div>
	<div class="datalist">
	 <UI:Grid ID="grdAdvPosition" runat="server" AutoGenerateColumns="false" ShowHeader="true" DataKeyNames="AdvPositionName" GridLines="None" Width="100%" HeaderStyle-CssClass="table_title" >                                                        
                    <Columns>                          
                        <asp:TemplateField HeaderText="广告位名称" HeaderStyle-CssClass="td_right td_left"> 
                            <ItemTemplate>
	                            <asp:Label ID="lblAdvPositionName" runat="server" Text='<%#Bind("AdvPositionName") %>'></asp:Label>
                            </ItemTemplate>                                                         
                        </asp:TemplateField>  
                        <asp:TemplateField HeaderText="广告位标签" HeaderStyle-CssClass="td_right td_left">
                            <ItemTemplate>
                                <asp:Label ID="lblAdv" runat="server" ></asp:Label>
                            </ItemTemplate>
                        </asp:TemplateField>
                         <asp:TemplateField HeaderText="操作" ItemStyle-Width="20%" HeaderStyle-CssClass="td_left td_right_fff">
                            <ItemStyle CssClass="spanD spanN" />
                             <ItemTemplate>
                                <span class="submit_bianji"><asp:HyperLink ID="lkbEdit" runat="server" Text="编辑" ></asp:HyperLink></span>
                                <span class="submit_shanchu"><Hi:ImageLinkButton ID="lkDelete" IsShow="true" DeleteMsg="您确定要删除广告位吗，删除后前台页面中将不再显示此广告位" Text="删除" CommandName="Delete" runat="server" /></span>
                             </ItemTemplate>
                         </asp:TemplateField>
                    </Columns>
            </UI:Grid>		  
	  <div class="blank12 clearfix"></div>
</div>
</div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="validateHolder" runat="server">
</asp:Content>
