<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!-- #include file="include/adovbs.inc" -->
<!--#include file="include/dataconn.asp" -->
<!-- #include file="include/checksession.asp" -->
<%
set rs=server.createobject("adodb.recordset")
sql="select * from Setting_Field where IsCanBeConfig=true"
rs.open sql,conn,1,1 
j=rs.recordcount
%>

<html>
<head>
<title>申请表设置</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" type="text/css" href="include/e1.css">
</head>

<body>
<form name="form1" method="post" action="Setting_FieldCheck.asp">
  <table width="80%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#AAAAAA">
    <tr><td>
<table width="100%" border="0" cellspacing="1" cellpadding="5">
          <tr class="td3"> 
            <td width="40%" height="30">
<div align="center"><font color="#FFFFFF">名称</font></div></td>
            <td width="30%" height="30"> 
              <div align="center"><font color="#FFFFFF">初始值</font></div></td>
            <td width="15%"> 
              <div align="center"><font color="#FFFFFF">显示</font></div></td>
            <td width="15%" height="30"> 
              <div align="center">必填</div></td>
          </tr>
          <%while not rs.eof%>
          <tr  bgcolor="#FFFFFF"> 
            <td> <div align="center">
                <input name="name_<% =rs("FieldName")%>" type="text" value="<% =rs("MyFieldText")%>">
              </div></td>
            <td><div align="center"> 
                <% =rs("FieldText")%>
              </div></td>
            <td> <div align="center"> 
                <input name="value_<% =rs("FieldName")%>" type="checkbox"  value="1" <%if rs("FieldIsDisplay")=true then%> checked<%end if%>>
              </div></td>
            <td> <div align="center"> 
                <input name="value2_<% =rs("FieldName")%>" type="checkbox"  value="1" <%if rs("FieldIsMustInput")=true then%> checked<%end if%>>
              </div></td>
          </tr>
          <% rs.movenext
wend%>
        </table>
</td></tr></table>
  <table width="50%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr> 
    <td><div align="center"><br>
          <input type="submit" name="Submit" value="提交">
      </div></td>
    <td> <div align="left"> <br>
          <input type="reset" name="Submit2" value="取消">
      </div></td>
  </tr>
</table>
  <p><font color="#FF0000"><strong>*</strong>此功能可以自由设置“注册新会员”时填写的字段是否显示，并且可以将名称改成你需要的名称</font></p>
  <p><font color="#FF0000"><strong>*</strong></font>如果勾上了必录而没有勾上显示，那么这个必录是无效的</p>
</form>
</body>
</html>
