<%@ page language="C#" autoeventwireup="true" inherits="user_info_InfoList, DianCMS" enableviewstatemac="false" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<!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>
    <link id="CssName" rel="stylesheet" type="text/css" runat="server" />
    <script src="../../js/Common.js" type="text/javascript"></script>
    <script>
        function setBitField(tableName, Id, fieldName) {
            D.BLL.B_InfoModel.setBitField(tableName, Id, fieldName, callbackBit);
        }
        function callbackBit(res) {
            if (res != null) {
                DianCMS_$("bitfield_" + res.value.split("|")[0] + "").innerHTML = res.value.split("|")[1];
            }
        }
    </script>
</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="../welcome.aspx">后台首页</a> >>
                <asp:Literal ID="LitModelName" runat="server"></asp:Literal>
                >> 信息列表
            </td>
        </tr>
    </table>
    <table align="center" cellpadding="2" cellspacing="1" width="99%" class="border">
        <asp:Repeater ID="RepModelList" runat="server" OnItemCommand="RepModelList_ItemCommand"
            OnItemDataBound="RepModelList_ItemDataBound">
            <HeaderTemplate>
                <tr class="title">
                    <td align="center" width="60">
                        编号
                    </td>
                    <asp:Literal ID="lit_head" runat="server"></asp:Literal>
                    <td width="20%">
                        操作
                    </td>
                </tr>
            </HeaderTemplate>
            <ItemTemplate>
                <tr class="tdMoveTr" onmouseover="this.className='tdMoveTrBg'" onmouseout="this.className='tdMoveTr'">
                    <td align="center">
                        <asp:Label ID="InfoId" runat="server" Text='<%# Eval("Id") %>'></asp:Label>
                    </td>
                    <asp:Literal ID="lit_item" runat="server"></asp:Literal>
                    <td>
                        <asp:Literal ID="Literal1" runat="server"></asp:Literal>
                        <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="dh" align="center" width="99%">
        <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>
    <table cellpadding="0" cellspacing="1" class="dh" align="center" width="99%">
        <tr>
            <td>
                搜索选项：
                <asp:DropDownList ID="DropFieldName" runat="server">
                    <asp:ListItem Value="Id">ID</asp:ListItem>
                </asp:DropDownList>
                <asp:TextBox ID="txtKeywords" runat="server" CssClass="in1" Columns="40"></asp:TextBox>
                <asp:Button ID="Button3" runat="server" Text=" 搜索 " CssClass="btn" OnClick="Button3_Click" />
            </td>
        </tr>
    </table>
    </form>
</body>
</html>
