<%@ Page Language="C#" AutoEventWireup="true" CodeFile="IssueAd.aspx.cs" Inherits="IssueAd" %>

<!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">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>审核广告</title>
<link rel="stylesheet" href="../skin/style.css" type="text/css" />
</head>
<body>
<form id="form1" runat="server">
<div class="itemtitle">
操作提示：
</div>
<div class="itemtitle_tect">
<ul>
<li>通过用户管理，您可以进行编辑会员资料、用户组、权限、积分、授权会员勋章以及删除会员等操作；</li>
<li>请先根据条件搜索用户，然后选择相应的操作。</li>
</ul>
</div>
<div class="clr"></div>
<div class="talbe_border"> 
<asp:GridView ID="GridView1" runat="server" AllowPaging="false" AutoGenerateColumns="false" OnSelectedIndexChanged="GridView1_SelectedIndexChanged" GridLines="None" CssClass="talbe_list" OnRowDataBound="GridView1_RowDataBound">
<Columns>
<asp:TemplateField HeaderText="广告名称">
<ItemTemplate>
<asp:Label ID="Lb_Name" runat="server" Text='<%#Eval("Ad_MemberInfoName")%>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
   <asp:TemplateField HeaderText="用户名称">
<ItemTemplate>
<asp:Label ID="Lb_userid" runat="server" Text='<%#Eval("LoginName")%>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
  <asp:TemplateField HeaderText="投放天数">
<ItemTemplate>
<asp:Label ID="Lb_Day" runat="server" Text='<%#Eval("Ad_Day")%>'></asp:Label>
</ItemTemplate>
</asp:TemplateField >
<asp:TemplateField  HeaderText="发布状态">
<ItemTemplate>
<asp:Label ID="Lb_Play" runat="server" Text='<%#Eval("Ad_RestrictTime")%>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="发布广告">
<ItemTemplate>
	<asp:LinkButton ID="btn_issueAd" runat="server" Text="发布" CommandName="select"></asp:LinkButton>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="图片链接地址" Visible="false">
<ItemTemplate>
	<asp:Label ID="Lb_ImageAdrees" runat="server" Text='<%#Eval("Ad_ImageAdrees")%>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
 <asp:TemplateField HeaderText="广告链接地址" Visible="false">
<ItemTemplate>
 <asp:Label ID="Lb_Adrees" runat="server" Text='<%#Eval("Ad_Adrees")%>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
 <asp:TemplateField HeaderText="广告规格" Visible="false">
<ItemTemplate>
 <asp:Label ID="Lb_Width" runat="server" Text='<%#Eval("Ad_Width")%>'></asp:Label>
  <asp:Label ID="Lb_Height" runat="server" Text='<%#Eval("Ad_Height")%>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
 <asp:TemplateField HeaderText="广告类型" Visible="false">
<ItemTemplate>
 <asp:Label ID="Lb_Type" runat="server" Text='<%#Eval("Ad_Type")%>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="用户mid" Visible="false">
<ItemTemplate>
	<asp:Label ID="Lb_mid" runat="server" Text='<%#Eval("M_ID")%>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="广告位id" Visible="false">
<ItemTemplate>
    <asp:Label ID="Lb_ID" runat="server" Text='<%#Eval("T_ID")%>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
</Columns>
<HeaderStyle CssClass="header" />
 </asp:GridView>
 <div class="Paging">
  <p>
  总记录数：<asp:Label ID="txt_pageCount" runat="server"></asp:Label>
    页码：<asp:Label ID="txt_begin" runat="server"></asp:Label>/<asp:Label ID="txt_pageAll" runat="server"></asp:Label>
  <asp:LinkButton ID="btn_pageFirst" runat="server" OnClick="btn_pageFirst_Click">首页</asp:LinkButton>
  <asp:LinkButton ID="btn_pageLast" runat="server" OnClick="btn_pageLast_Click">上一页</asp:LinkButton>
  <asp:LinkButton ID="btn_pageNext" runat="server" OnClick="btn_pageNext_Click">下一页</asp:LinkButton>
  <asp:LinkButton ID="btn_pageFoot" runat="server" OnClick="btn_pageFoot_Click">末页</asp:LinkButton>
  <asp:TextBox ID="txt_PageNum" runat="server" Width="30px"></asp:TextBox>
  <asp:LinkButton ID="btn_go" runat="server" OnClick="btn_go_Click">GO</asp:LinkButton>
  </p>
  </div>
 </div>
</form>
</body>
</html>
