<%@ Page Language="C#" AutoEventWireup="true" Inherits="System_Property_CustomFormInfoList, QianboCMS" EnableEventValidation="false" %>
<%@ 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 href="../Css/layout.css" type="text/css" rel="stylesheet" />
    <script src="../../Js/Common.js" type="text/javascript"></script>
    <!--
	<script>
		function UpdateFormField(CustomFormId,FieldName,Id)
		{
			WinOpenDialog('UpdateFormField.aspx?CustomFormId='+CustomFormId+'&FieldName='+FieldName+'&Id='+Id+'','500','170')
		}
	</script>
	-->
</head>

<body>
    <table cellspacing="1" cellpadding="0" class="wzdh" align="center">
        <tr>
            <td style="padding-left: 10px;">
                <img src="../Images/Skin/Default/you.gif" align="absmiddle" />
                您现在的位置：<a href="../SystemInfo.aspx">后台管理</a> &gt;&gt; <a href="PropertyManager.aspx">属性管理</a> &gt;&gt; 【<asp:Label ID="CustomFormName" runat="server" Text="Label"></asp:Label>】信息列表
			</td>
        </tr>
    </table>
    <form id="form1" runat="server">
        <table align="center" class="border" cellspacing="1" cellpadding="0">
            <asp:Repeater ID="CustomTableRep" runat="server" OnItemDataBound="CustomTableRep_ItemDataBound" OnItemCommand="CustomTableRep_Delete">
                <HeaderTemplate>
                    <tr class="title">
                        <td width="60px">编号</td>
                        <td>用户名</td>
                        <asp:Literal ID="lit_head" runat="server"></asp:Literal>
                        <td width="120px">操作</td>
                    </tr>
                </HeaderTemplate>
                <ItemTemplate>
                    <tr class="tdbg" onmouseover="this.className='tdbgmouseover'" onmouseout="this.className='tdbg'">
                        <td><asp:Label ID="CustomFormFieldId" runat="server" Text='<%# Eval("Id") %>'></asp:Label></td>
                        <td><%# Eval("UName") %></td>
                        <asp:Literal ID="lit_item" runat="server"></asp:Literal>
                        <td><a href="UpdateInfoCustomForm.aspx?CustomFormId=<%=Request.QueryString["CustomFormId"] %>&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="border" align="center">
            <tr>
                <td class="wzlist">
                    <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" CustomInfoSectionWidth="10%"></webdiyer:AspNetPager>
				</td>
            </tr>
        </table>
        <table cellpadding="0" cellspacing="1" class="border" align="center" runat="server" id="SearchTable">
            <tr>
                <td class="wzlist">
                    <asp:Literal ID="Lit_Search" runat="server"></asp:Literal>
                    <asp:Button ID="Btn_Search" runat="server" Text="搜索" CssClass="btn" OnClick="Btn_Search_Click" />
				</td>
            </tr>
        </table>
    </form>
</body>
</html>