<%@ Page Language="C#" AutoEventWireup="true" Inherits="System_UserGroupModel_UserGroupModelList, QianboCMS" EnableEventValidation="false" %>
<!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">
</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; 用户注册模型管理
			</td>
        </tr>
    </table>
    <table cellspacing="1" cellpadding="0" class="border" align="center">
        <tr class="wzlist">
            <td style="padding-left: 10px;"><a href="UserGroupModel.aspx">添加用户注册模型</a></td>
        </tr>
    </table>
    <form id="form1" runat="server">
        <table align="center" class="border" cellspacing="1" cellpadding="0">
            <asp:Repeater ID="RepUserGroupModel" runat="server" OnItemCommand="repUserGroupModel_Delete">
                <HeaderTemplate>
                    <tr class="title">
                        <td width="65px">用户组编号</td>
                        <td width="180px">用户组名称</td>
                        <td width="180px">表名</td>
                        <td>描述</td>
                        <td width="120px">注册默认用户组</td>
                        <td width="180px">操作</td>
                    </tr>
                </HeaderTemplate>
                <ItemTemplate>
                    <tr class="tdbg" onmouseover="this.className='tdbgmouseover'" onmouseout="this.className='tdbg'">
                        <td><%#Eval("Id") %></td>
                        <td><%#Eval("Name")%></a></td>
                        <td nowrap><%#Eval("TableName") %></td>
                        <td><%#Eval("Content")%></td>
                        <td nowrap><%# GetUserGroup(Eval("UserGroupId","{0}")) %></td>
                        <td nowrap><a href="UserGroupModelPreView.aspx?ModelId=<%#Eval("Id") %>">浏览</a> | <a href='UserGroupModel.aspx?Id=<%#Eval("Id") %>'>修改</a> | <a href='UserGroupModelFieldList.aspx?ModelId=<%#Eval("Id")%>'>字段列表</a>| <asp:LinkButton ID="lnkDelete" runat="server" Text="删除" CommandName="delete" CommandArgument='<%#Eval("Id") %>' OnClientClick="return confirm('是否确定删除该用户注册模型？')"></asp:LinkButton></td>
                    </tr>
                </ItemTemplate>
            </asp:Repeater>
        </table>
    </form>
</body>
</html>