<%@ page language="C#" autoeventwireup="true" inherits="V5Shop.Admin.Advertisement_AdsCategory_Manage_Dialog, V5Shop.Shop.Advertisement" enableviewstatemac="false" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<%@ Register Src="control/PageBottom.ascx" TagName="PageBottom" TagPrefix="uc2" %>
<%@ Register Src="control/HiddenField.ascx" TagName="HiddenField" TagPrefix="uc1" %>
<%@ Register TagPrefix="V5Shop" Namespace="V5Shop.Control" Assembly="V5Shop.Control" %>
<!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">
    <title>请选择广告类别</title>
    <base Target="_self" /> 
    <link href="css/css.css" rel="stylesheet" type="text/css">
    <link href="css/css_list.css" rel="stylesheet" type="text/css">
    <link href="css/control.css" rel="stylesheet" type="text/css">
    <script type="text/javascript" language="javascript" src="js/Common.js"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
    <div id="content">
            <div style="padding:5px 25px; color:#4B6888; border-bottom:1px #CCCCCC solid; font-size:12px" >
        　    <a style="color:#009900; cursor:pointer;" onclick="return InitAdsCategory()"><img src="images/icon/key_run.gif" border="0" /> <b>选择</b></a>
        　  </div>
            <div class="listborder"><div class="input2">
                <V5Shop:V5ShopGridView ID="GridViewShow" runat="server" meta:resourcekey="GridViewShowResource1" 
                AllowPaging="True" AllowSorting="True" AutoGenerateColumns="False" CssClass="datalist" 
                HeaderStyle-Height="18px" HeaderStyle-ForeColor="#000" EmptyDataText="没有查询到任何记录" TableName="Ads">
                    <Columns>
                        <asp:TemplateField meta:resourcekey="TemplateFieldResource1" ItemStyle-Width="5%">
                            <ItemTemplate>
                                <input runat="server" Value='<%# Eval("ID") %>' ID="CheckBoxID" type="checkbox" onmouseover="this.mouse='over'" onmouseout="this.mouse='out'" mouse="out">
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField meta:resourcekey="TemplateFieldResource1">
                            <HeaderTemplate>
                                广告名称
                            </HeaderTemplate>
                            <ItemTemplate>
                                <input type="hidden" value="<%#Eval("Level") %>" />
                                <input type="hidden" value="<%#Eval("headid") %>" />
                                <input type="hidden" value="<%#Eval("ID") %>" />
                                <input type="hidden" value="<%#Eval("Family") %>" />
                                <img src="images/plus.gif" style="cursor:pointer" align="absmiddle" onclick="ShowChilds(this)" />
                                <%#Eval("Name") %>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:BoundField DataField="Description" HeaderText="广告描述"/>
                    </Columns>
                </V5Shop:V5ShopGridView>
            </div></div>
        </div>
        
        <div id="hiddenfield">
            <asp:HiddenField ID="CheckedIDS" runat="server" Value="0" />
            <asp:HiddenField ID="PageIndex" runat="server" Value="0"/>
            <asp:HiddenField ID="MaxPageIndex" runat="server" Value="0"/>
            <uc1:HiddenField ID="Alert" runat="server" />
        </div>
    </div>
    
        
    <script language="javascript">
        FormatStatus("GridViewShow");
    </script>
    </form>
</body>
</html>
