<%@ page language="C#" autoeventwireup="true" inherits="admin_info_FormInfo, 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 src="../../js/Common.js" type="text/javascript"></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" onkeydown="Save()">
    <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> >> <a href="FormInfoList.aspx">表单内容页列表</a>
                >> 设置表单内容页
            </td>
        </tr>
    </table>
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <table class="border" cellspacing="1" cellpadding="0" width="99%" border="0" align="center">
                <tr>
                    <td class="bqleft">
                        名称：
                    </td>
                    <td class="bqright">
                        <asp:TextBox ID="txtName" runat="server" CssClass="in1" Columns="40"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="bqleft">
                        选择表单：
                    </td>
                    <td class="bqright">
                        <asp:DropDownList ID="DropTable" runat="server">
                            <asp:ListItem Value="0">选择表单</asp:ListItem>
                        </asp:DropDownList>
                        <font color="#ff0066">*注：同一个表单只能够创建一次内容页</font>
                    </td>
                </tr>
                <tr>
                    <td class="bqleft">
                        选择内容页模板：
                    </td>
                    <td class="bqright">
                        <asp:TextBox ID="txtTemplate" runat="server" Columns="50" CssClass="in1"></asp:TextBox>
                        <input id="Button1" type="button" value="选择模板" class="btn" onclick="WinOpenLhgDialog('选择模板','../template/SelectTemplate.aspx?ControlId=txtTemplate',650,450,'')" /><font
                            color="#ff0066">*</font>
                    </td>
                </tr>
                <tr>
                    <td class="bqleft">
                        文件生成目录：
                    </td>
                    <td class="bqright">
                        /<asp:TextBox ID="txtFolder" runat="server" CssClass="in1"></asp:TextBox>
                        <font color="#ff0066">*</font> 如：news或者news/info 前后不带"/"
                    </td>
                </tr>
                <tr>
                    <td class="bqleft">
                        内容的存放结构：
                    </td>
                    <td class="bqright">
                        <asp:DropDownList ID="InfoSaveDir" runat="server">
                            <asp:ListItem Value="1" Text="例：文件生成目录/文件名称" Selected="True"></asp:ListItem>
                            <asp:ListItem Value="2" Text="例：文件生成目录/Html/文件名称"></asp:ListItem>
                            <asp:ListItem Value="3" Text="例：文件生成目录/2009/08/03/文件名称"></asp:ListItem>
                            <asp:ListItem Value="4" Text="例：文件生成目录/2009/08-03/文件名称"></asp:ListItem>
                            <asp:ListItem Value="5" Text="例：文件生成目录/2009-08-03/文件名称"></asp:ListItem>
                            <asp:ListItem Value="6" Text="例：文件生成目录/200908/文件名称"></asp:ListItem>
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td class="bqleft">
                        文件命名方式：
                    </td>
                    <td class="bqright">
                        <asp:DropDownList ID="FileUsingType" runat="server">
                            <asp:ListItem Value="1" Text="例：自动编号.html" Selected="True"></asp:ListItem>
                            <asp:ListItem Value="2" Text="例：200908自动编号.html"></asp:ListItem>
                            <asp:ListItem Value="3" Text="例：20090808自动编号.html"></asp:ListItem>
                            <asp:ListItem Value="4" Text="例：index_自动编号.html"></asp:ListItem>
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td class="bqleft">
                        内容页扩展名：
                    </td>
                    <td class="bqright">
                        <asp:RadioButtonList ID="ExpandName" runat="server" RepeatDirection="Horizontal">
                        </asp:RadioButtonList>
                    </td>
                </tr>
                <tr>
                <td class="bqleft">
                    是否生成HTML：
                </td>
                <td class="bqright">
                    <asp:RadioButtonList ID="IsCreateHtml" runat="server" RepeatDirection="Horizontal"
                        Width="120px">
                        <asp:ListItem Text="生成" Value="True" Selected="True"></asp:ListItem>
                        <asp:ListItem Text="不生成" Value="False"></asp:ListItem>
                    </asp:RadioButtonList>
                </td>
            </tr>
                <tr>
                    <td class="bqleft">
                    </td>
                    <td class="bqright" height="40"><asp:Button ID="DianCMS_Submit" runat="server" Text=" 提交(Ctrl+s) " CssClass="btn" OnClick="Button2_Click"/>
                    </td>
                </tr>
            </table>
        </ContentTemplate>
    </asp:UpdatePanel>
    </form>
</body>
</html>
