<%@ Page Language="C#" AutoEventWireup="true" CodeFile="YongHuZiLiaoJieGou_XiuGai.aspx.cs" Inherits="Admin_YongHu_YongHuZiLiaoJieGou_XiuGai" %>

<!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="../Images/Admin.css" rel="Stylesheet" type="text/css" />
    <script type="text/javascript">
        function SheZhiShuJuLeiXing(LeiXing)
        {
            if(LeiXing==2)
            {
                document.getElementById("tr_ZhiDingZhi").style.display='block';
                document.getElementById("tr_ZuiXiaoDaXiao").style.display='none';
                document.getElementById("tr_ZuiDaDaXiao").style.display='none';
            }
            else
            {
                document.getElementById("tr_ZhiDingZhi").style.display='none';
                document.getElementById("tr_ZuiXiaoDaXiao").style.display='block';
                document.getElementById("tr_ZuiDaDaXiao").style.display='block';
            }
        }
        function SheZhiZiLiaoGeShi(XianShi)
        {
            document.getElementById("tr_ZiLiaoXianShiGeShi").style.display=XianShi?"block":"none";
        }
        function LOAD()
        {
            if(document.getElementById("ShuJuLeiXing_0").checked)
                SheZhiShuJuLeiXing(0);
            else if(document.getElementById("ShuJuLeiXing_1").checked)
                SheZhiShuJuLeiXing(1);
            else
                SheZhiShuJuLeiXing(2);
            
            SheZhiZiLiaoGeShi(document.getElementById("ShiFouZiLiaoXianShiXiang").checked);
        }
    </script>
</head>
<body onload="LOAD()">
    <form id="form1" runat="server" onkeydown="if(event.ctrlKey&&event.keyCode==13) this.submit();">
    <div>
        <div style="height:18px">
        位置：用户管理 &gt; <a href="YongHuZiLiaoJieGou.aspx">用户资料结构</a> &gt; 修改用户资料结构
        </div>
        <div style="height:5px"></div>
    <table class="tab1" border="0" cellpadding="0" cellspacing="0">
        <tr>
            <td>
                <table class="tab2" border="0" cellpadding="0" cellspacing="0">
                    <tr>
                        <td class="tab2_bt">
                        修改用户资料结构
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <table class="tab3" border="0" cellpadding="0" cellspacing="1">
                    <tr>
                        <td style="width:200px">
                            &nbsp;&nbsp;&nbsp;&nbsp;<span class="text_bt">数据名称</span>
                        </td>
                        <td>
                            &nbsp; &nbsp;
                            <asp:TextBox ID="ShuJuMingChen" runat="server" CssClass="text" MaxLength="50" Width="250px" ReadOnly="True"></asp:TextBox>
                            &nbsp;&nbsp;&nbsp;&nbsp;<span class="text_pt">数据的名称。</span>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="ShuJuMingChen"
                                ErrorMessage="RequiredFieldValidator" SetFocusOnError="True">数据名称不能为空。</asp:RequiredFieldValidator></td>
                    </tr>
                                <tr>
                                    <td style="width: 200px; height: 22px">
                                        &nbsp; &nbsp; 表单名称</td>
                                    <td style="height: 22px">
                                        &nbsp; &nbsp;
                                        <asp:TextBox ID="BiaoDanMingChen" runat="server" Width="250px" MaxLength="50"></asp:TextBox>
                                        &nbsp; &nbsp; <span class="text_pt">数据表单的名称。</span></td>
                                </tr>
                    <tr>
                        <td style="width:200px">
                            &nbsp;&nbsp;&nbsp;&nbsp;<span class="text_bt">备注</span>
                        </td>
                        <td>
                            &nbsp; &nbsp;
                            <asp:TextBox ID="BeiZhu" runat="Server" CssClass="text" MaxLength="100" Width="250px"></asp:TextBox>
                            &nbsp;&nbsp;&nbsp;&nbsp;<span class="text_pt">数据的备注。</span>
                        </td>
                    </tr>
                    <tr>
                        <td style="width:200px">
                            &nbsp;&nbsp;&nbsp;&nbsp;<span class="text_bt">数据类型</span>
                        </td>
                        <td>
                            &nbsp; &nbsp;
                            <asp:RadioButton ID="ShuJuLeiXing_0" runat="server" GroupName="ShuJuLeiXing" onclick="SheZhiShuJuLeiXing(0)" Text="文字" Checked="True" />
                            &nbsp; &nbsp;
                            <asp:RadioButton ID="ShuJuLeiXing_1" runat="server" GroupName="ShuJuLeiXing" onclick="SheZhiShuJuLeiXing(1)" Text="数字" />
                            &nbsp; &nbsp;
                            <asp:RadioButton ID="ShuJuLeiXing_2" runat="server" GroupName="ShuJuLeiXing" onclick="SheZhiShuJuLeiXing(2)" Text="指定值" />
                            &nbsp;&nbsp;<span class="text_pt">用户数据的类型</span>
                            </td>
                    </tr>
                    <tr id="tr_ZhiDingZhi" style="display:none">
                        <td style="width:200px">
                            &nbsp;&nbsp;&nbsp;&nbsp;<span class="text_bt">值列表</span>
                        </td>
                        <td>
                            &nbsp; &nbsp;&nbsp;
                            <asp:TextBox ID="ZhiLieBiao" runat="server" CssClass="text" Height="100px" TextMode="MultiLine"
                                Width="250px" Text="值1&#13;&#10;值2"></asp:TextBox>
                                &nbsp;&nbsp;&nbsp;<span class="text_pt">允许的值列表，一行一个。</span>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="ZhiLieBiao"
                                ErrorMessage="RequiredFieldValidator" SetFocusOnError="True">值列表不能为空</asp:RequiredFieldValidator></td>
                    </tr>
                    <tr id="tr_ZuiXiaoDaXiao">
                        <td style="width: 200px; ">
                            &nbsp;&nbsp;&nbsp;&nbsp;<span class="text_bt">最小大小(长度)</span>
                        </td>
                        <td>
                            &nbsp; &nbsp;
                            <asp:TextBox ID="ZuiXiaoDaXiao" runat="server" CssClass="text" Width="250px">0</asp:TextBox>
                            &nbsp;&nbsp;<span class="text_pt">数据的最小大小。</span>
                            <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="ZuiXiaoDaXiao"
                                ErrorMessage="RegularExpressionValidator" SetFocusOnError="True" ValidationExpression="^\d+">最小大小(长度)只能是数字组成。</asp:RegularExpressionValidator></td>
                    </tr>
                    <tr id="tr_ZuiDaDaXiao">
                        <td style="width:200px">
                            &nbsp;&nbsp;&nbsp;&nbsp;<span class="text_bt">最大大小(长度)</span>
                        </td>
                        <td>
                            &nbsp; &nbsp;
                            <asp:TextBox ID="ZuiDaDaXiao" runat="server" CssClass="text" Width="250px">50</asp:TextBox>
                            &nbsp;&nbsp;<span class="text_pt">数据的最大大小。</span>
                            <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ControlToValidate="ZuiDaDaXiao"
                                ErrorMessage="RegularExpressionValidator" SetFocusOnError="True" ValidationExpression="^\d+">最大大小(长度)只能是数字组成。</asp:RegularExpressionValidator></td>
                    </tr>
                    <tr>
                        <td style="width: 200px">
                            &nbsp; &nbsp;<span class="text_bt">数据显示</span>
                        </td>
                        <td>
                            &nbsp; &nbsp;
                            <asp:CheckBox ID="ShiFouZhuCeXiang" runat="server" Checked="True" Text="注册页面" />
                            <asp:CheckBox ID="ShiFouXiuGaiZiLiaoXiang" runat="server" Checked="True" Text="修改资料页面" />
                            <asp:CheckBox ID="ShiFouZiLiaoXianShiXiang" runat="server" Checked="True" Text="资料显示页面" onclick="SheZhiZiLiaoGeShi(this.checked)" /></td>
                    </tr>
                    <tr id="tr_ZiLiaoXianShiGeShi">
                        <td style="width:200px">
                            &nbsp;&nbsp;&nbsp;&nbsp;<span class="text_bt">资料显示格式</span>
                        </td>
                        <td>
                            &nbsp;&nbsp;&nbsp;
                            <asp:TextBox ID="ZiLiaoXianShiGeShi" runat="server" CssClass="text" Height="100px" TextMode="MultiLine"
                                Width="250px" MaxLength="50" Text="$项名称$:$项值$[br]"></asp:TextBox>
                                &nbsp;&nbsp;<span class="text_pt">资料的显示格式。$项名称$：表示此项的名称。$项值$：此项的值。</span>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="ZiLiaoXianShiGeShi"
                                ErrorMessage="RequiredFieldValidator" SetFocusOnError="True">资料显示格式不能为空</asp:RequiredFieldValidator></td>
                    </tr>
                    <tr>
                        <td style="width: 200px">
                            &nbsp; &nbsp; <span class="text_bt">是否允许重复</span>
                        </td>
                        <td>
                            &nbsp; &nbsp; &nbsp;
                            <asp:RadioButton ID="ShiFouYunXuChongFu_T" runat="server" Checked="True" GroupName="ShiFouYunXuChongFu"
                                Text="允许重复" />
                            <asp:RadioButton ID="ShiFouYunXuChongFu_F" runat="server" GroupName="ShiFouYunXuChongFu"
                                Text="不允许重复" />
                                &nbsp;&nbsp;<span class="text_pt">是否允许数据重复。</span>
                                </td>
                    </tr>
                    <tr>
                        <td style="width:200px">
                            &nbsp;&nbsp;&nbsp;&nbsp;<span class="text_bt">默认值</span>
                        </td>
                        <td>
                            &nbsp; &nbsp;
                            <asp:TextBox ID="MoRenZhi" runat="server" CssClass="text" MaxLength="1000" Width="250px"></asp:TextBox>
                            &nbsp;&nbsp;<span class="text_pt">此项的默认值。</span>
                            </td>
                    </tr>
                    <tr>
                        <td style="width:200px"><br />
                            &nbsp;&nbsp;&nbsp;&nbsp;<span class="text_bt">表单代码</span>
                            <br /><br />
                            <span class="text_pt">&nbsp; &nbsp; 表单项的代码</span>
                        </td>
                        <td>
                            &nbsp; &nbsp;
                            <asp:TextBox ID="BiaoDanDaiMa" runat="server" CssClass="text" Height="100px" TextMode="MultiLine"
                                Width="250px" MaxLength="1000" Text="$项名称$:$项代码$[br]"></asp:TextBox>
                            &nbsp;&nbsp;<span class="text_pt">表单项的代码。$项名称$:表单项的名称。$项代码$:自动生成的项代码。$项值$:项的值。</span>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="BiaoDanDaiMa"
                                ErrorMessage="RequiredFieldValidator" SetFocusOnError="True">表单代码不能为空。</asp:RequiredFieldValidator></td>
                    </tr>
                    <tr>
                        <td style="width: 200px">
                        </td>
                        <td>
                            &nbsp; &nbsp;
                            <asp:Button ID="Button1" runat="Server" Text="修改用户组" />
                            &nbsp;&nbsp;
                            <input type="reset" value="重新填写" />
                            </td>
                    </tr>
                            </table>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
    </div>
    </form>
</body>
</html>
