<%@ Page Language="C#" AutoEventWireup="true" Inherits="System_Property_ModelInfoList, 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 id="Head1" runat="server">
    <title>信息列表</title>
    <link href="../Css/layout.css" type="text/css" rel="stylesheet" />
    <script type="text/javascript" src="../../Js/XmlHttp.js"></script>
    <script type="text/javascript" src="../../Js/Common.js"></script>
    <!--
	<script>
		function UpdateModelField(ModelId,FieldId,Id)
		{
			WinOpenDialog('../InfoModel/UpdateModelField.aspx?ModelId='+ModelId+'&FieldId='+FieldId+'&Id='+Id+'','500','200')
		}
	</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:Literal runat="server" ID="litNav"></asp:Literal>】信息列表
			</td>
        </tr>
    </table>
    <form id="form1" runat="server">
        <table cellspacing="1" cellpadding="0" class="border" align="center">
            <tr>
                <td class="wzlist">请选择需要查看的数据：<asp:DropDownList ID="ddlProperty" runat="server" AutoPostBack="true" OnSelectedIndexChanged="ddlProperty_SelectedIndexChanged"></asp:DropDownList></td>
            </tr>
        </table>
        <table align="center" class="border" cellspacing="1" cellpadding="0">
            <asp:Repeater ID="ModelTableRep" runat="server" OnItemCommand="ModelTableRep_ItemCommand" OnItemDataBound="ModelTableRep_ItemDataBound">
                <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="InId" runat="server" Text='<%# Eval("Id") %>'></asp:Label></td>
                        <td align="left"><%# Eval("Title") %></td>
                        <asp:Literal ID="lit_item" runat="server"></asp:Literal>
                        <td><a href="../Info/SetInfo.aspx?ChId=<%#Eval("ChId") %>&ColId=<%#Eval("ColId") %>&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>
    </form>
</body>
</html>