<%@ page language="C#" autoeventwireup="true" inherits="admin_form_FormList, DianCMS" enableviewstatemac="false" enableEventValidation="false" viewStateEncryptionMode="Never" %>
<%@ Import Namespace="D.Common" %>
<!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 type="text/javascript" src="../../js/Common.js"></script>
    <script src="../../js/lhgdialog/lhgcore.lhgdialog.min.js?self=true&skin=<%=Function.GetCssNameColor()%>" type="text/javascript"></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="../info.aspx">后台管理</a> >> 表单列表</td>
            </tr>
        </table>
        <table align="center" cellpadding="2" cellspacing="1" width="99%" class="border">
            <tr class="title">
                <td width="20" class="t1">ID</td>
                <td>表单名称</td>
                <td>表名</td>
                <td>附件存放目录</td>
                <td>上传大小</td>
                <td>时间限制</td>
                <td>显示验证码</td>
                <td>操作</td>
            </tr>
            <asp:Repeater ID="RepForm" runat="server" OnItemCommand="RepForm_Delete">
                <ItemTemplate>
                    <tr class="tdMoveTr" onmouseover="this.className='tdMoveTrBg'" onmouseout="this.className='tdMoveTr'">
                        <td align="center" class="t1"><%#Eval("FormId") %></td>
                        <td align="center"><%#Eval("Name") %></td>
                        <td align="center"><%#Eval("TableName") %></td>
                        <td align="center"><%#Eval("UploadPath")%></td>
                        <td align="center"><%#Eval("UploadSize")%></td>
                        <td align="center"><%#Function.GetStyleTrue(Eval("IsUnlockTime","{0}"))%></td>
                        <td align="center"><%#Function.GetStyleTrue(Eval("IsValidate","{0}"))%></td>
                        <td align="center"><a href="SetForm.aspx?FormId=<%#Eval("FormId") %>">修改</a> ┊ <a href="../field/fieldlist.aspx?tableName=<%#Eval("TableName") %>">字段列表</a> ┊ <a href="../field/setfield.aspx?tableName=<%#Eval("TableName") %>">添加字段</a>┊ <a href="javascript:WinOpenLhgDialog('复制表单','CopyForm.aspx?FormId=<%# Eval("FormId") %>',500,150,'')">
                            复制</a> ┊
                        <asp:LinkButton ID="LinkButton2" runat="server" Text="格式化" CommandName="format" CommandArgument='<%#Eval("FormId") %>'
                            OnClientClick="return confirm('格式化该模型将清除所有数据，确定继续操作吗?')"></asp:LinkButton> ┊ <asp:LinkButton ID="lnkDelete" runat="server" Text="删除" CommandName="delete" CommandArgument='<%#Eval("FormId") %>' OnClientClick="return confirm('确定删除该条记录吗?')"></asp:LinkButton>
</td>
                    </tr>
                </ItemTemplate>
            </asp:Repeater>
        </table>
    </form>
</body>
</html>
