index.asp
上传用户:jisenq
上传日期:2014-06-29
资源大小:7216k
文件大小:26k
源码类别:

数据库编程

开发平台:

ASP/ASPX

  1. <% Option Explicit %>
  2. <!--#include file="../../FS_Inc/Const.asp" -->
  3. <!--#include file="../../FS_InterFace/MF_Function.asp" -->
  4. <!--#include file="../../FS_Inc/Function.asp" -->
  5. <%
  6. Dim Conn,User_Conn,UserSysParaRs
  7. Dim AllowReg,AllowChinese,NeedAudit,Corp_NeedAudit,Login_Filed,OnlyMemberLogin,ID_Rule,IDRule_Array,ID_Elem,ID_Postfix,Needword,UserName_Length,UserName_Length_Max,UserName_Length_Max_Min,UserName_Length_Array,Forbid_UserName,Pwd_Length,Pwd_Length_Max,Pwd_Length_Min,Pwd_Length_Array,Pwd_Contain_Word,ResigterNeedFull,isSendMail,Email_Aduit,Reg_Help
  8. Dim CheckCodeStyle,LoginSytle,ReturnUrl,ErrorPwdTimes,ShowNumberPerPage,UpfileType,UpfileSize,MessageSize,RssFeed,LimitClass,LimitClass_Array,MemberFile,CertDir,LimitReviewChar
  9. Dim MoneyName,MoneyUnit,RegPointmoney,RegPointmoney_Array,LoginPointmoney,LoginPointmoney_Array,PointChange,PointChange_TF,PointChange_Array,isPrompt,isPrompt_TF,isPrompt_Array,LenLoginTime
  10. MF_Default_Conn
  11. MF_User_Conn
  12. MF_Session_TF
  13. Set UserSysParaRs=server.CreateObject(G_FS_RS)
  14. UserSysParaRs.open "select RegisterTF,AllowChineseName,RegisterCheck,isCheckCorp,OnlyMemberLogin,UserNumberRule,LenUserName,LimitUserName,LenPassword,isSendMail,isValidate,RegisterNotice,VerCodeStyle, Login_Style,ReturnUrl,LoginLockNum,MemberList,UpfileType,UpfileSize,MessageSize,RssFeed,limitClass,MemberFile,CertDir,LimitReviewChar,MoneyName,RegPointmoney,LoginPointmoney,PointChange,isPrompt,LenLoginTime From FS_ME_SysPara",User_Conn,1,1
  15. '*****************************************************************
  16. if not UserSysParaRs.eof then
  17. 'baseParam
  18. AllowReg=UserSysParaRs("RegisterTF")
  19. AllowChinese=UserSysParaRs("AllowChineseName")
  20. NeedAudit=UserSysParaRs("RegisterCheck")
  21. Corp_NeedAudit=UserSysParaRs("isCheckCorp")
  22. OnlyMemberLogin=UserSysParaRs("OnlyMemberLogin")
  23. ID_Rule=UserSysParaRs("UserNumberRule")
  24. UserName_Length=UserSysParaRs("LenUserName")
  25. Forbid_UserName=UserSysParaRs("LimitUserName")
  26. Pwd_Length=UserSysParaRs("LenPassword")
  27. isSendMail=UserSysParaRs("isSendMail")
  28. Email_Aduit=UserSysParaRs("isValidate")
  29. Reg_Help=UserSysParaRs("RegisterNotice")
  30. 'OtherParam
  31. CheckCodeStyle=UserSysParaRs("VerCodeStyle")
  32. LoginSytle=UserSysParaRs("Login_Style")
  33. ReturnUrl=UserSysParaRs("ReturnUrl")
  34. ErrorPwdTimes=UserSysParaRs("LoginLockNum")
  35. ShowNumberPerPage=UserSysParaRs("MemberList")
  36. UpfileType=UserSysParaRs("UpfileType")
  37. UpfileSize=UserSysParaRs("UpfileSize")
  38. MessageSize=UserSysParaRs("MessageSize")
  39. RssFeed=UserSysParaRs("RssFeed")
  40. LimitClass=UserSysParaRs("limitClass")
  41. MemberFile=UserSysParaRs("MemberFile")
  42. CertDir=UserSysParaRs("CertDir")
  43. LimitReviewChar=UserSysParaRs("LimitReviewChar")
  44. 'About Money
  45. MoneyName=UserSysParaRs("MoneyName")
  46. RegPointmoney=UserSysParaRs("RegPointmoney")
  47. LoginPointmoney=UserSysParaRs("LoginPointmoney")
  48. PointChange=UserSysParaRs("PointChange")
  49. isPrompt=UserSysParaRs("isPrompt")
  50. LenLoginTime=UserSysParaRs("LenLoginTime")
  51. End if
  52. '******************************************************************
  53. if len(UserName_Length)>0 then
  54. UserName_Length_Array=split(UserName_Length,",")
  55. End if
  56. if (Pwd_Length)>0 then
  57. Pwd_Length_Array=split(Pwd_Length,",")
  58. End if
  59. if len(ID_Rule)>0 then
  60. IDRule_Array=split(ID_Rule,",")
  61. End if
  62. if Ubound(IDRule_Array)>=1 then
  63. ID_Elem=IDRule_Array(1)
  64. end if
  65. if Ubound(IDRule_Array)>=2 then
  66. ID_Postfix=IDRule_Array(2)
  67. end if
  68. if len(LimitClass)>0 then
  69. LimitClass_Array=split(LimitClass,",")
  70. End if
  71. if len(RegPointmoney)>0 then 
  72. RegPointmoney_Array=split(RegPointmoney,",")
  73. end if
  74. if len(LoginPointmoney)>0 then 
  75. LoginPointmoney_Array=split(LoginPointmoney,",")
  76. end if
  77. if len(PointChange)>0 then 
  78. PointChange_Array=split(PointChange,",")
  79. end if
  80. if ubound(PointChange_Array)>=0 then 
  81. PointChange_TF=PointChange_Array(0)
  82. end if
  83. if len(isPrompt)>0 then 
  84. isPrompt_Array=split(isPrompt,",")
  85. end if
  86. if Ubound(isPrompt_Array)>=0 then
  87. isPrompt_TF=isPrompt_Array(0)
  88. end if
  89. %>
  90. <html xmlns="http://www.w3.org/1999/xhtml">
  91. <HEAD>
  92. <TITLE>FoosunCMS</TITLE>
  93. <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312">
  94. <script language="JavaScript" type="text/JavaScript">
  95. <!--
  96. function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  97.   if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
  98.     document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  99.   else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
  100. }
  101. MM_reloadPage(true);
  102. //-->
  103. </script>
  104. </HEAD>
  105. <script language="JavaScript" src="../../FS_Inc/PublicJS.js" type="text/JavaScript"></script>
  106. <script>
  107. var selected="Lab_Base";
  108. var flag=true;//是否可以提交表单
  109. function showParamPanel(param)
  110. {
  111. switch(param)
  112. {
  113. case 1:
  114. document.getElementById("Layer1").style.display="block";
  115. document.getElementById("Layer2").style.display="none";
  116. document.getElementById("Layer3").style.display="none";
  117. document.getElementById("Lab_Base").className ="";
  118. if(selected!="Lab_Base")
  119. document.getElementById(selected).className ="xingmu";
  120. selected="Lab_Base";
  121. break;
  122. case 2:
  123. document.getElementById("Layer1").style.display="none";
  124. document.getElementById("Layer2").style.display="block";
  125. document.getElementById("Layer3").style.display="none";
  126. document.getElementById("Lab_Other").className="";
  127. if(selected!="Lab_Other")
  128. document.getElementById(selected).className ="xingmu";
  129. selected="Lab_Other";
  130. break;
  131. case 3:
  132. document.getElementById("Layer1").style.display="none";
  133. document.getElementById("Layer2").style.display="none";
  134. document.getElementById("Layer3").style.display="block";
  135. document.getElementById("Lab_Money").className="";
  136. if(selected!="Lab_Money")
  137. document.getElementById(selected).className ="xingmu";
  138. selected="Lab_Money";
  139. break;
  140. }
  141. }
  142. function ReplaceDot(Obj)
  143. {
  144. var oldValue=Obj.value;
  145. while(oldValue.indexOf(",")!=-1)
  146. {
  147. Obj.value=oldValue.replace(",",",");
  148. oldValue=Obj.value;
  149. }
  150. }
  151. function CheckContentLen(Obj,FS_Alert,Len)
  152. {
  153. if(Obj.value.length>Len)
  154. {
  155. document.getElementById("FS_Alert").innerHTML="<font color='F43631'>长度请不要超过"+Len+"</font>";
  156. flag=false;
  157. }
  158. }
  159. function isChinese(Obj,FS_Alert)
  160. var Number = "0123456789.,abcdefghijklmnopqrstuvwxyz-/ABCDEFGHIJKLMNOPQRSTUVWXYZ`~!@#$%^&*()_";
  161. for (i = 0; i < Obj.value.length;i++)
  162. {   
  163. var c = Obj.value.charAt(i);
  164. if (Number.indexOf(c) == -1) 
  165. {
  166. document.getElementById(FS_Alert).innerHTML="<font color='F43631'>请不要使用中文字符</font>";
  167. Obj.focus()
  168. flag=false;
  169. return;
  170. }
  171. }
  172. document.getElementById(FS_Alert).innerHTML="";
  173. flag=true
  174. }
  175. function MySubmit(Obj)
  176. {
  177. if(flag)
  178. document.getElementById(Obj).submit();
  179. }
  180. </script>
  181. <link href="../images/skin/Css_<%=Session("Admin_Style_Num")%>/<%=Session("Admin_Style_Num")%>.css" rel="stylesheet" type="text/css">
  182. <BODY LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0 scroll=yes  oncontextmenu="return false;">
  183. <table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" class="table">
  184.     <tr class="hback"> 
  185.       <td width="140" align="right" class="xingmu" colspan="3"><div align="left">会员系统参数设置</div></td>
  186.     </tr>
  187. <tr class="hback"> 
  188. <td width="33%"  id="Lab_Base"><div align="center"><a href="#" onClick="showParamPanel(1)">基本参数设置</a></div></td>
  189. <td width="33%" height="19" class="xingmu" id="Lab_Other"> <div align="center"><a href="#" onClick="showParamPanel(2)">其他参数设置</a></div></td>
  190. <td width="33%" height="19" class="xingmu" id="Lab_Money"> <div align="center"><a href="#" onClick="showParamPanel(3)">积分金币设置</a></div></td>
  191. </tr>
  192.     <tr class="hback">
  193.       <td align="right"  colspan="3">
  194.         <div id="Layer1" style="position:relative; z-index:1; left: 0px; top: 0px;"> 
  195.         <table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" class="table">
  196.           <form action="ParamAction.asp?Act=BaseParam" method="post" name="BaseParam" id="BaseParam">
  197.             <tr class="hback"> 
  198.               <td align="right">允许注册:</td>
  199.               <td> <input type="radio" name="AllowReg" value="1" <%if AllowReg=1 then Response.Write("checked") end if%>>
  200.                 是&nbsp; <input type="radio" name="AllowReg" value="0" <%if AllowReg=0 then Response.Write("checked") end if %>>
  201.                 否 </td>
  202.             </tr>
  203.             <tr class="hback"> 
  204.               <td align="right"> 允许中文名称注册:</td>
  205.               <td width="596"> <input type="radio" name="AllowChinese" value="1" <% if AllowChinese=1 then Response.Write("checked") end if%>>
  206.                 是&nbsp; <input type="radio" name="AllowChinese" value="0" <% if AllowChinese=0 then Response.Write("checked") end if%>>
  207.                 否 </td>
  208.             </tr>
  209.             <tr class="hback"> 
  210.               <td align="right"> 个人注册需要审核:</td>
  211.               <td><input type="radio" name="NeedAudit" value="1" <% if NeedAudit=1 then Response.Write("checked") end if%> >
  212.                 是&nbsp; <input type="radio" name="NeedAudit" value="0" <% if NeedAudit=0 then Response.Write("checked")  end if%>>
  213.                 否</td>
  214.             </tr>
  215.             <tr class="hback"> 
  216.               <td align="right">企业注册需要审核:</td>
  217.               <td><input type="radio" name="Corp_NeedAudit" value="1" <% if Corp_NeedAudit=1 then Response.Write("checked") end if%>>
  218.                 是&nbsp; <input type="radio" name="Corp_NeedAudit" value="0" <% if Corp_NeedAudit=0 then Response.Write("checked") end if%>>
  219.                 否</td>
  220.             </tr>
  221.             <tr class="hback"> 
  222.               <td align="right">只允许一个人登录:</td>
  223.               <td><input type="radio" name="OnlyMemberLogin" value="1" <% if OnlyMemberLogin=1 then Response.Write("checked")%>/>
  224.                 是&nbsp; <input type="radio" name="OnlyMemberLogin" value="0" <% if OnlyMemberLogin=0 then Response.Write("checked")%>>
  225.                 否</td>
  226.             </tr>
  227.             <tr class="hback"> 
  228.               <td align="right">用户编号规则_前缀:</td>
  229.               <td> <input name="ID_Prefix" type="text" id="ID_Prefix2" size="50" value="<% if Ubound(IDRule_Array)>0 then Response.Write(IDRule_Array(0))%>"/> 
  230.               </td>
  231.             </tr>
  232.             <tr class="hback"> 
  233.               <td align="right">用户编号规则_组成元素:</td>
  234.               <td> <input name="ID_Elem" type="checkbox" id="ID_Elem2" value="y" <%if instr(ID_Elem,"y")>0 then Response.Write("checked") end if%>/>
  235.                 年 
  236.                 <input name="ID_Elem" type="checkbox" id="ID_Elem2" value="m" <%if instr(ID_Elem,"m")>0 then Response.Write("checked") end if%>/>
  237.                 月 
  238.                 <input name="ID_Elem" type="checkbox" id="ID_Elem2" value="d" <%if instr(ID_Elem,"d")>0 then Response.Write("checked") end if%>/>
  239.                 日 
  240.                 <input name="ID_Elem" type="checkbox" id="ID_Elem2" value="h" <%if instr(ID_Elem,"h")>0 then Response.Write("checked") end if%>/>
  241.                 时 
  242.                 <input name="ID_Elem" type="checkbox" id="ID_Elem2" value="i" <%if instr(ID_Elem,"i")>0 then Response.Write("checked") end if%>/>
  243.                 分 
  244.                 <input name="ID_Elem" type="checkbox" id="ID_Elem2" value="s" <%if instr(ID_Elem,"s")>0 then Response.Write("checked") end if%>/>
  245.                 秒 </td>
  246.             </tr>
  247.             <tr class="hback"> 
  248.               <td align="right">用户编号规则_ID后缀:</td>
  249.               <td><p> 
  250.                   <label> 
  251.                   <input type="radio" name="ID_Postfix" value="2" <% if ID_Postfix=2 then Response.Write("Checked") end if%>/>
  252.                   2位随机数</label>
  253.                   <label> 
  254.                   <input type="radio" name="ID_Postfix" value="3" <% if ID_Postfix=3 then Response.Write("Checked") end if%>>
  255.                   3位随机数</label>
  256.                   <label> 
  257.                   <input type="radio" name="ID_Postfix" value="4" <% if ID_Postfix=4 then Response.Write("Checked") end if%>>
  258.                   4位随机数</label>
  259.                   <label> 
  260.                   <input type="radio" name="ID_Postfix" value="5" <% if ID_Postfix=5 then Response.Write("Checked") end if%>>
  261.                   5位随机数</label>
  262.                   <input name="needWord" type="checkbox" id="needWord2" value="w" <% if instr(ID_Rule,"w")>0 then Response.Write("checked")%> />
  263.                   字母数字组合</p></td>
  264.             </tr>
  265.             <tr class="hback"> 
  266.               <td align="right">用户编号规则_分割符:</td>
  267.               <td><input name="ID_Devide" type="text" id="ID_Devide2" size="50" value="<% if Ubound(IDRule_Array)>=3 then Response.Write(IDRule_Array(3)) end if%>"/></td>
  268.             </tr>
  269.             <tr class="hback"> 
  270.               <td align="right">用户名长度限制:</td>
  271.               <td> 最小长度: 
  272.                 <input name="UserName_Length_Min" type="text" id="UserName_Length_Min" size="14" value="<%if ubound(UserName_Length_Array)>=0 then Response.Write(UserName_Length_Array(0)) end if%>" onBlur="isNumber(this,'UserName_Length_alert','长度应该为正整数',true)"/>
  273.                 最大长度: 
  274.                 <input name="UserName_Length_Max" type="text" id="UserName_Length_Max" size="14" value="<%if ubound(UserName_Length_Array)>=1 then Response.Write(UserName_Length_Array(1)) end if%>" onBlur="isNumber(this,'UserName_Length_alert','长度应该为正整数',true)"/> 
  275.                 <span id="UserName_Length_alert">&nbsp;</span> </td>
  276.             </tr>
  277.             <tr class="hback"> 
  278.               <td align="right">禁止注册的用户名:</td>
  279.               <td><textarea name="Forbid_UserName" cols="50" id="textarea2" onKeyUp="ReplaceDot(this)"><%=Forbid_UserName%></textarea></td>
  280.             </tr>
  281.             <tr class="hback"> 
  282.               <td align="right">密码长度限制:</td>
  283.               <td> 最小长度: 
  284.                 <input name="Pwd_Length_Max" type="text" id="Pwd_Length_Max" size="14"  value="<%if ubound(Pwd_Length_Array)>=0 then Response.Write(Pwd_Length_Array(0)) end if%>" onBlur="isNumber(this,'Pwd_Length_alert','长度应该为正整数',true)"/>
  285.                 最大长度: 
  286.                 <input name="Pwd_Length_Min" type="text" id="Pwd_Length_Min" size="14"  value="<%if ubound(Pwd_Length_Array)>=1 then Response.Write(Pwd_Length_Array(1)) end if%>" onBlur="isNumber(this,'Pwd_Length_alert','长度应该为正整数',true)"/> 
  287.                 <span id="Pwd_Length_alert">&nbsp;</span> </td>
  288.             </tr>
  289.             <tr class="hback"> 
  290.               <td align="right">发送电子邮件信息:</td>
  291.               <td><input type="radio" name="isSendMail" value="1" <%if isSendMail=1 then Response.Write("checked") end if%>>
  292.                 是&nbsp; <input type="radio" name="isSendMail" value="0" <%if isSendMail=0 then Response.Write("checked") end if%>/>
  293.                 否 </td>
  294.             </tr>
  295.             <tr class="hback"> 
  296.               <td align="right">电子邮件验证:</td>
  297.               <td><input type="radio" name="Email_Aduit" value="1" <%if Email_Aduit=1 then Response.Write("checked") end if%>/>
  298.                 是&nbsp; <input type="radio" name="Email_Aduit" value="0" <%if Email_Aduit=0 then Response.Write("checked") end if%>>
  299.                 否 </td>
  300.             </tr>
  301.             <tr class="hback"> 
  302.               <td align="right">会员注册须知:<br>
  303.                 (支持html语法)<br> <span id="Reg_Help_alert">&nbsp;</span></td>
  304.               <td><textarea name="Reg_Help" cols="80" rows="10" id="Reg_Help" onBlur="CheckContentLen(this,'Reg_Help_alert',2000)"><%=Reg_Help%></textarea></td>
  305.             </tr>
  306.             <tr class="hback"> 
  307.               <td align="right">&nbsp;</td>
  308.               <td><input type="Button" name="BaseSubmit"  onClick="MySubmit('BaseParam')" value=" 保存 " /> 
  309.                 <input type="reset" name="reset" value=" 重置 " /></td>
  310.             </tr>
  311.           </form>
  312.         </table>
  313.       </div>   
  314.         
  315.       <div id="Layer2" style="position:relative;z-index:1; left: 0px; top: 0px; display:none"> 
  316.         <table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" class="table">
  317.           <form action="ParamAction.asp?Act=OtherParam" method="post" name="OtherParam" id="OtherParam">
  318.             <tr class="hback"> 
  319.               <td align="right">登录风格: </td>
  320.               <td width="596"><select name="LoginStyle" id="LoginStyle">
  321.                   <option value="1" <%if LoginSytle=1 then Response.Write("selected") end if%>>默认风格</option>
  322.                   <option value="2" <%if LoginSytle=2 then Response.Write("selected") end if%>>银色风格</option>
  323.                   <option value="3" <%if LoginSytle=3 then Response.Write("selected") end if%>>蓝色海洋</option>
  324.                   <option value="4" <%if LoginSytle=4 then Response.Write("selected") end if%>>浪漫咖啡</option>
  325.                   <option value="5" <%if LoginSytle=5 then Response.Write("selected") end if%>>青青河草</option>
  326.                 </select></td>
  327.             </tr>
  328.             <tr class="hback"> 
  329.               <td align="right">登录成功返回页面:</td>
  330.               <td><p> 
  331.                   <label> </label>
  332.                   <label> 
  333.                   <input type="radio" name="ReturnUrl" value="0" <%if ReturnUrl=0 then Response.Write("checked") end if%>>
  334.                   会员中心 </label>
  335.                   <label> 
  336.                   <input type="radio" name="ReturnUrl" value="1" <%if ReturnUrl=1 then Response.Write("checked") end if%> />
  337.                   首页 </label>
  338.                   <label> 
  339.                   <input type="radio" name="ReturnUrl" value="2" <%if ReturnUrl=2 then Response.Write("checked") end if%>>
  340.                   之前页</label>
  341.                   <br>
  342.                 </p></td>
  343.             </tr>
  344.             <tr class="hback"> 
  345.               <td align="right">防登录猜测:</td>
  346.               <td>密码错误 
  347.                 <input name="ErrorPwdTimes" type="text" id="EErrorPwdTimes" onBlur="isNumber(this,'ErrorPwdTimes_alert','次数应该为正整数',true)" value="<%=ErrorPwdTimes%>" size="10" />
  348.                 次后,锁定该用户功能 (0为不限制) <span id="ErrorPwdTimes_alert">&nbsp;</span></td>
  349.             </tr>
  350.             <tr class="hback"> 
  351.               <td align="right">会员列表每页显示数:</td>
  352.               <td><input name="ShowNumberPerPage" type="text" id="PShowNumberPerPage" size="50" value="<%=ShowNumberPerPage%>" onBlur="isNumber(this,'ShowNumberPerPage_alert','页数应该为正整数',true)"/> 
  353.                 <span id="ShowNumberPerPage_alert">&nbsp;</span> </td>
  354.             </tr>
  355.             <tr class="hback"> 
  356.               <td align="right">上传文件类型:</td>
  357.               <td><input name="UpfileType" type="text" id="UpfileType" size="50" onKeyUp="ReplaceDot(this)" value="<%=UpfileType%>"/>
  358.                 (用 ,隔开)</td>
  359.             </tr>
  360.             <tr class="hback"> 
  361.               <td align="right">上传大小限制:</td>
  362.               <td><input name="UpfileSize" type="text" id="UpfileSize" size="50" onBlur="isNumber(this,'UpfileSize_alert','文件大小应该为正整数',true)" value="<%=UpfileSize%>" />
  363.                 k <span id="UpfileSize_alert">&nbsp;</span> </td>
  364.             </tr>
  365.             <tr class="hback"> 
  366.               <td align="right">站内短信容量:</td>
  367.               <td><input name="MessageSize" type="text" id="MessageSize" size="50" onBlur="isNumber(this,'MessageSize_alert','短信容量应该为正整数',ture)" value="<%=MessageSize%>"/>
  368.                 byte <span id="MessageSize_alert"></span></td>
  369.             </tr>
  370.             <tr class="hback"> 
  371.               <td align="right">开通RSS订阅:</td>
  372.               <td><label> 
  373.                 <input type="radio" name="RssFeed" value="1" <%if RssFeed=1 then Response.Write("checked") end if%>>
  374.                 是 </label> <label> 
  375.                 <input type="radio" name="RssFeed" value="0" <%if RssFeed=0 then Response.Write("checked") end if%>>
  376.                 否</label></td>
  377.             </tr>
  378.             <tr class="hback"> 
  379.               <td align="right">信息分类控制:</td>
  380.               <td>分类级数量上限:
  381.                 <input name="LimitClass" type="text" id="LimitClass" size="14"  value="<%if ubound(LimitClass_Array)>=0 then Response.Write(LimitClass_Array(0)) end if%>"> 
  382.                 &nbsp;&nbsp;分类数量上限 
  383.                 <input name="LimitClass2" type="text" id="LimitClass2" size="14"  value="<%if ubound(LimitClass_Array)>=1 then Response.Write(LimitClass_Array(1)) end if%>"></td>
  384.             </tr>
  385.             <tr class="hback"> 
  386.               <td align="right">用户目录:</td>
  387.               <td><input name="MemberFile" type="text" id="MemberFile"  size="50" value="<%=MemberFile%>"/>
  388.                 (默认:userfiles)</td>
  389.             </tr>
  390.             <tr class="hback"> 
  391.               <td align="right">认证文件目录:</td>
  392.               <td><input name="CertDir" type="text" id="CertDir"  value="<%=CertDir%>" size="50"/>
  393.                 (默认:certfiles)</td>
  394.             </tr>
  395.             <tr class="hback"> 
  396.               <td align="right">过滤评论关键字:</td>
  397.               <td><textarea name="LimitReviewChar" cols="50" onKeyUp="ReplaceDot(this)" id="LimitReviewChar"><%=LimitReviewChar%></textarea></td>
  398.             </tr>
  399.             <tr class="hback"> 
  400.               <td align="right">&nbsp;</td>
  401.               <td><input type="Button" name="Submit" onClick="MySubmit('OtherParam')" value=" 保存 " /> 
  402.                 <input type="reset" name="Submit2" value=" 重置 " /></td>
  403.             </tr>
  404.           </form>
  405.         </table>
  406.       </div>
  407.   <div id="Layer3" style="position:relative;z-index:1; left: 0px; top: 0px; display:none"> 
  408.         <table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" class="table">
  409.           <form action="ParamAction.asp?Act=MoneyParam" method="post" name="MoneyParam" id="MoneyParam">
  410.             <tr class="hback"> 
  411.               <td align="right">金币名称:</td>
  412.               <td width="596"> <input name="MoneyName" type="text" id="MoneyName" size="50" value="<%=MoneyName%>" /> 
  413.               </td>
  414.             </tr>
  415.             <tr class="hback"> 
  416.               <td align="right">注册获取积分和金币:</td>
  417.               <td>积分: 
  418.                 <input name="Reg_Point" type="text" id="Reg_Point" size="15"  value="<%if ubound(RegPointmoney_Array)>=0 then Response.Write(RegPointmoney_Array(0)) end if%>" onBlur="isNumber(this,'Reg_PointMoney_Alert','积分应该为正整数',true)"/> 
  419.                 &nbsp; 金币: 
  420.                 <input name="Reg_Money" type="text" id="Reg_Money" size="15"  value="<%if ubound(RegPointmoney_Array)>=1 then Response.Write(RegPointmoney_Array(1)) end if%>" onBlur="isNumber(this,'Reg_PointMoney_Alert','金钱应该为正整数,true')"/> 
  421.                 <span id="Reg_PointMoney_Alert">&nbsp;</span> </td>
  422.             </tr>
  423.             <tr class="hback"> 
  424.               <td align="right">登录获取积分和金币:</td>
  425.               <td>积分: 
  426.                 <input name="Login_Point" type="text" id="Login_Point" size="15"  value="<%if ubound(LoginPointmoney_Array)>=0 then Response.Write(LoginPointmoney_Array(0)) end if%>" onBlur="isNumber(this,'Login_PointMoney_Alert','积分应该为正整数',true)"/> 
  427.                 &nbsp;&nbsp;金币: 
  428.                 <input name="Login_money" type="text" id="Login_money" size="15"  value="<%if ubound(LoginPointmoney_Array)>=1 then Response.Write(LoginPointmoney_Array(1)) end if%>"onBlur="isNumber(this,'Login_PointMoney_Alert','金钱应该为正整数',true)" /> 
  429.                 <span id="Login_PointMoney_Alert">&nbsp;</span></td>
  430.             </tr>
  431.             <tr class="hback"> 
  432.               <td align="right">积分金币兑换比例:</td>
  433.               <td> <label> 
  434.                 <input type="radio" name="PointChange" value="0" <%if PointChange_TF=0 then Response.Write("checked") end if%>/>
  435.                 不启用</label> <label> 
  436.                 <input type="radio" name="PointChange" value="1" <%if PointChange_TF=1 then Response.Write("checked") end if%>>
  437.                 积分换金币</label> <label> 
  438.                 <input type="radio" name="PointChange" value="2" <%if PointChange_TF=2 then Response.Write("checked") end if%>>
  439.                 金币换积分</label> <label> </label> </td>
  440.             </tr>
  441.             <tr class="hback"> 
  442.               <td align="right">&nbsp;</td>
  443.               <td>1金币 = 
  444.                 <input name="Money_to_Point" type="text" id="Money_to_Point" size="15" value="<%if Ubound(PointChange_Array)>=1 then Response.Write(PointChange_Array(1)) end if%>" onBlur="isNumber(this,'PointChange_Alert','积分应该为正数,true')"/>
  445.                 积分 | 1积分 = 
  446.                 <input name="Point_to_Money" type="text" id="Point_to_Money" size="15" value="<%if Ubound(PointChange_Array)>=2 then Response.Write(PointChange_Array(2)) end if%>" onBlur="isNumber(this,'PointChange_Alert','金钱应该为正数',true)"/>
  447.                 金币 <span id="PointChange_Alert"></span> </td>
  448.             </tr>
  449.             <tr class="hback"> 
  450.               <td align="right">金币提示条件:</td>
  451.               <td> <label> 
  452.                 <input type="radio" name="isPrompt" value="1" <%if isPrompt_TF=1 then Response.Write("checked") end if%> />
  453.                 开启</label> <label> 
  454.                 <input type="radio" name="isPrompt" value="0" <%if isPrompt_TF=0 then Response.Write("checked") end if%> />
  455.                 关闭</label>
  456.                 | 金币小于 
  457.                 <input name="PromptCondition" type="text" id="PromptCondition" size="15" value="<%if ubound(isPrompt_Array)>=1 then Response.Write(isPrompt_Array(1)) end if%>" onBlur="isNumber(this,'Prompt_Alert','金钱应该为正数',false)"/>
  458.                 时提示 <span id="Prompt_Alert"></span> </td>
  459.             </tr>
  460.             <tr class="hback"> 
  461.               <td align="right">防作弊设置:</td>
  462.               <td>登录 
  463.                 <input name="LenLoginTime" type="text" id="LenLoginTime" size="10" value="<%=LenLoginTime%>" onBlur="isNumber(this,'LenLoginTime_Alert','时间应该为正整数',true)"/>
  464.                 分后,再次登录积分增加 <span id="LenLoginTime_Alert"></span> </td>
  465.             </tr>
  466.             <tr class="hback"> 
  467.               <td align="right">&nbsp;</td>
  468.               <td><input type="Button" name="MoneySubmit" onClick="MySubmit('MoneyParam')"value=" 保存 " /> 
  469.                 <input type="reset" name="Submit2" value=" 重置 " /></td>
  470.             </tr>
  471.           </form>
  472.         </table>
  473.       </div>   </td>
  474.     </tr>
  475. </table>
  476. </body>
  477. <%
  478. UserSysParaRs.close
  479. Set UserSysParaRs=nothing
  480. Conn.close
  481. Set Conn=nothing
  482. User_Conn.close
  483. Set User_Conn=nothing
  484. %>
  485. </html>