<%@ Page Language="C#" MasterPageFile="../Admin.Master" AutoEventWireup="true" CodeBehind="EffectsList.aspx.cs"
    Inherits="ETongJin.YM.Web.Admin.EffectsList"  %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <table class="tableBorder" border="0" cellpadding="0" cellspacing="1">
        <tr>
            <th colspan="6">
                <table border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                    <td width="80" style="color: #990000;">
                                        筛选：
                                    </td>
                                    <td width="90">
                                        <asp:DropDownList ID="ddlOrder" runat="server" AutoPostBack="true" onchange="if(this.value=='-1') return false;"
                                            OnSelectedIndexChanged="ddlOrder_SelectedIndexChanged">
                                            <asp:ListItem Text="排序方式" Value="-1" Selected="True"></asp:ListItem>
                                            <asp:ListItem Text="时间" Value="1"></asp:ListItem>
                                            <asp:ListItem Text="用户ID" Value="2"></asp:ListItem>
                                            <asp:ListItem Text="商品ID" Value="3"></asp:ListItem>
                                        </asp:DropDownList>
                                    </td>
                                </tr>
                            </table>
            </th>
        </tr>
        <tr>
            <td width="50" class="td2">商品ID</td>
            <td width="40" class="td2">用户ID</td>
            <td width="70" class="td2">IP</td>
            <td class="td2" width="80">时间</td>
            <td class="td2">来源</td>
        </tr>
        <asp:Repeater ID="Repeater1" runat="server">
            <ItemTemplate>
                <tr bgcolor="#FFFFFF" onmouseover="javascript:this.bgColor='#E3E1D7'" onmouseout="javascript:this.bgColor='#FFFFFF'"
                    style="text-align: center; height: 27">
                   
                    <td>
                        <a href="/Show.aspx?i=<%#Eval("pid") %>" target="_blank">
                            <%#Eval("pid") %></a>
                    </td>
                    <td>
                        <a href="/UserShow.aspx?i=<%#Eval("uid") %>" target="_blank">
                            <%# Eval("uid")%></a>
                    </td>
                    <td>
                        <%#Eval("ip")%>
                    </td>
                    <td>
                        <%#Eval("addtime")%>
                    </td>
                    <td>
                        <%#Eval("refer") %>
                    </td>
                </tr>
            </ItemTemplate>
        </asp:Repeater>
        <tr>
            <th colspan="6" style="text-align: center;">
                <div id="tnt_pagination">
                    <%= PageStr%></div>
                <div class="ym12_mian_y">
                </div>
            </th>
        </tr>
    </table>
</asp:Content>
