<%@ Page Title="" Language="C#" MasterPageFile="~/Main.Master" AutoEventWireup="true"
    CodeBehind="PromoteList.aspx.cs" Inherits="OAWeb.crm.promote.PromoteList" %>

<%@ Register Src="../../UserControls/SMSEmailNav.ascx" TagName="SMSEmailNav" TagPrefix="uc1" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlace" runat="server">
    <!--主体左侧-->
    <table id="plc_profile" cellpadding="0" cellspacing="0" border="0">
        <tr>
            <td class="main_left">
                <uc1:SMSEmailNav ID="SMSEmailNav1" runat="server" />
            </td>
            <td class="main_center">
                <!--主体-->
                <div class="page_main">
                    <div class="page_content">
                        <table class="data_title" cellspacing="3">
                            <tr>
                                <td class="data_caption">
                                    <em style="float: left">
                                        <img src="/images/03.gif" />
                                    </em>推广计划列表<br />
                                    <span class="tip01">可以对客户、线索创建推广计划。</span>
                                </td>
                            </tr>
                            <tr style=" display:none;">
                                <td class="data_field">
                                    <asp:Button ID="btnNew" runat="server" Text="新增计划" CssClass="btn_77px" OnClientClick="window.location.href='PromoteAdd.aspx';return false;" Visible="false" />
                                </td>
                            </tr>
                        </table>
                        <div class="list">
                            <asp:GridView ID="gvData" runat="server" AutoGenerateColumns="False" DataKeyNames="Id"
                                GridLines="None" CellPadding="0" CssClass="table_list" EnableModelValidation="True"
                                OnRowDataBound="gvData_RowDataBound">
                                <RowStyle HorizontalAlign="Left" />
                                <Columns>
                                    <asp:BoundField DataField="Title" HeaderText="名称"></asp:BoundField>
                                    <asp:BoundField DataField="Method" HeaderText="方式"></asp:BoundField>
                                    <asp:BoundField DataField="" HeaderText="计划数"></asp:BoundField>
                                    <asp:BoundField DataField="SentQty" HeaderText="完成数"></asp:BoundField>
                                    <asp:BoundField DataField="" HeaderText="拆信数"></asp:BoundField>
                                    <asp:BoundField DataField="RegQty" HeaderText="注册数"></asp:BoundField>
                                    <asp:BoundField DataField="OrderQty" HeaderText="成单数"></asp:BoundField>
                                    <asp:BoundField DataField="CreateDate" HeaderText="创建日期" />
                                    <asp:TemplateField HeaderText="操作">
                                        <ItemTemplate>
                                            <asp:LinkButton ID="lbtnSendSet" runat="server">发送</asp:LinkButton>
                                            <asp:HyperLink ID="hypEdit" runat="server">编辑</asp:HyperLink>
                                            <asp:LinkButton ID="lbtnDelete" runat="server">删除</asp:LinkButton>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                </Columns>
                            </asp:GridView>
                            <div class="pager-bar">
                                <webdiyer:AspNetPager ID="pager" runat="server" CssClass="anpager" currentpagebuttonclass="cpb"
                                    PageSize="20" NextPageText="下一页" LastPageText="页 尾" FirstPageText="第一页" PrevPageText="上一页"
                                    ShowBoxThreshold="10" SubmitButtonText="跳 转" UrlPaging="True">
                                </webdiyer:AspNetPager>
                            </div>
                        </div>
                    </div>
                </div>
            </td>
        </tr>
    </table>
</asp:Content>
