<%@ page language="C#" autoeventwireup="true" inherits="admin_survey_infolist, DianCMS" enableviewstatemac="false" enableEventValidation="false" viewStateEncryptionMode="Never" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<%@ Import Namespace="D.Common" %>
<%@ Import Namespace="D.BLL" %>
<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <link id="CssName" rel="stylesheet" type="text/css" runat="server" />
</head>
<body>
    <form id="form1" runat="server">
        <table class="dh" cellpadding="0" cellspacing="0" border="0" align="center">
            <tr>
                <td>
                    <asp:Image ID="P_Go" runat="server" ImageAlign="AbsMiddle" />
                    您现在的位置：<a href="../info.aspx">后台管理</a> >>
                <asp:Literal ID="LitSurveyName" runat="server"></asp:Literal>
                    >> 信息列表
                </td>
            </tr>
        </table>
        
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <table align="center" cellpadding="2" cellspacing="1" width="99%" class="border">
                <asp:Repeater ID="RepSurveyList" runat="server" OnItemCommand="RepSurveyList_ItemCommand" OnItemDataBound="RepSurveyList_ItemDataBound">
                    <HeaderTemplate>
                        <tr class="title">
                            <td width="30" class="t1">
                                选择
                            </td>
                            <td align="center">
                                编号
                            </td>
                            <td align="center">
                                ip
                            </td>
                            <td align="center">
                                添加时间
                            </td>
                            <asp:Literal ID="lit_head" runat="server"></asp:Literal>
                            <td>
                                操作
                            </td>
                        </tr>
                    </HeaderTemplate>
                    <ItemTemplate>
                        <tr class="tdMoveTr" onmouseover="this.className='tdMoveTrBg'" onmouseout="this.className='tdMoveTr'">
                            <td class="t1">
                                <asp:CheckBox ID="CheckBox1" runat="server" />
                            </td>
                            <td align="center">
                                <asp:Label ID="InfoId" runat="server" Text='<%# Eval("Id") %>'></asp:Label>
                            </td>
                            <td align="center">
                                <%# Eval("ip") %>
                            </td>
                            <td align="center">
                                <%# Eval("AddTime") %>
                            </td>
                            <asp:Literal ID="lit_item" runat="server"></asp:Literal>
                            <td align="center">
                                <a href="set_<%=EnName %>.aspx?Id=<%# Eval("Id") %>">编辑</a>
                                 ┊
                                <asp:LinkButton ID="LinkButton1" runat="server" CommandName="Delete" CommandArgument='<%#Eval("Id") %>'
                                    OnClientClick="return confirm('您确定要移除该条信息吗?')">移除</asp:LinkButton>
                            </td>
                        </tr>
                    </ItemTemplate>
                </asp:Repeater>
            </table>
            <table cellpadding="0" cellspacing="1" class="dh2" align="center">
                <tr>
                    <td>
                        <webdiyer:AspNetPager ID="Pager" runat="server" AlwaysShow="True" FirstPageText="首页"
                            LastPageText="尾页" NextPageText="下一页" PageSize="20" HorizontalAlign="Right" PrevPageText="上一页"
                            showinputbox="Never" UrlPageIndexName="p" UrlPaging="True" ShowCustomInfoSection="Left"
                            Width="99%" LayoutType="Table" NumericButtonCount="5">
                        </webdiyer:AspNetPager>
                    </td>
                </tr>
            </table>
        </ContentTemplate>
    </asp:UpdatePanel>
    </form>
</body>
</html>
