📄 userparam.asp
字号:
<% Option Explicit %>
<!--#include file="../../FS_Inc/Const.asp" -->
<!--#include file="../../FS_InterFace/MF_Function.asp" -->
<!--#include file="../../FS_Inc/Function.asp" -->
<%
Dim Conn,User_Conn,UserSysParaRs
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
Dim CheckCodeStyle,LoginSytle,ReturnUrl,ErrorPwdTimes,ShowNumberPerPage,UpfileType,UpfileSize,MessageSize,RssFeed,LimitClass,LimitClass_Array,CertDir,LimitReviewChar,isPassCard,isYellowCheck
Dim DefaultGroupID,MoneyName,MoneyUnit,RegPointmoney,RegPointmoney_Array,LoginPointmoney,LoginPointmoney_Array,PointChange,PointChange_TF,PointChange_Array,isPrompt,isPrompt_TF,isPrompt_Array,LenLoginTime,LenLoginTimeArray,ReviewTF,contrPoint,contrMoney,contrAuditPoint,contrAuditMoney,UserSystemName
MF_Default_Conn
MF_User_Conn
MF_Session_TF
Set UserSysParaRs=server.CreateObject(G_FS_RS)
UserSysParaRs.open "select top 1 RegisterTF,AllowChineseName,RegisterCheck,isCheckCorp,OnlyMemberLogin,UserNumberRule,LenUserName,LimitUserName,LenPassword,isSendMail,isValidate,RegisterNotice,VerCodeStyle, Login_Style,ReturnUrl,LoginLockNum,MemberList,UpfileType,UpfileSize,MessageSize,RssFeed,limitClass,CertDir,LimitReviewChar,MoneyName,RegPointmoney,LoginPointmoney,PointChange,isPrompt,LenLoginTime,DefaultGroupID,isYellowCheck,isPassCard,ReviewTF,contrPoint,contrMoney,contrAuditPoint,contrAuditMoney,UserSystemName From FS_ME_SysPara",User_Conn,1,3
'*****************************************************************
if not UserSysParaRs.eof then
'baseParam
AllowReg=UserSysParaRs("RegisterTF")
AllowChinese=UserSysParaRs("AllowChineseName")
NeedAudit=UserSysParaRs("RegisterCheck")
Corp_NeedAudit=UserSysParaRs("isCheckCorp")
OnlyMemberLogin=UserSysParaRs("OnlyMemberLogin")
ID_Rule=UserSysParaRs("UserNumberRule")
UserName_Length=UserSysParaRs("LenUserName")
Forbid_UserName=UserSysParaRs("LimitUserName")
Pwd_Length=UserSysParaRs("LenPassword")
isSendMail=UserSysParaRs("isSendMail")
Email_Aduit=UserSysParaRs("isValidate")
Reg_Help=UserSysParaRs("RegisterNotice")
'OtherParam
CheckCodeStyle=UserSysParaRs("VerCodeStyle")
LoginSytle=UserSysParaRs("Login_Style")
ReturnUrl=UserSysParaRs("ReturnUrl")
ErrorPwdTimes=UserSysParaRs("LoginLockNum")
ShowNumberPerPage=UserSysParaRs("MemberList")
UpfileType=UserSysParaRs("UpfileType")
UpfileSize=UserSysParaRs("UpfileSize")
MessageSize=UserSysParaRs("MessageSize")
RssFeed=UserSysParaRs("RssFeed")
LimitClass=UserSysParaRs("limitClass")
CertDir=UserSysParaRs("CertDir")
LimitReviewChar=UserSysParaRs("LimitReviewChar")
ReviewTF=UserSysParaRs("ReviewTF")
isYellowCheck=UserSysParaRs("isYellowCheck")
isPassCard=UserSysParaRs("isPassCard")
DefaultGroupID=UserSysParaRs("DefaultGroupID")
'About Money
MoneyName=UserSysParaRs("MoneyName")
RegPointmoney=UserSysParaRs("RegPointmoney")
LoginPointmoney=UserSysParaRs("LoginPointmoney")
PointChange=UserSysParaRs("PointChange")
isPrompt=UserSysParaRs("isPrompt")
LenLoginTime=UserSysParaRs("LenLoginTime")
contrPoint=UserSysParaRs("contrPoint")
contrMoney=UserSysParaRs("contrMoney")
contrAuditPoint=UserSysParaRs("contrAuditPoint")
contrAuditMoney=UserSysParaRs("contrAuditMoney")
UserSystemName=UserSysParaRs("UserSystemName")
End if
'******************************************************************
if len(UserName_Length)>0 then
UserName_Length_Array=split(UserName_Length,",")
End if
if len(Pwd_Length)>0 then
Pwd_Length_Array=split(Pwd_Length,",")
End if
if len(ID_Rule)>0 then
IDRule_Array=split(ID_Rule,",")
End if
if Ubound(IDRule_Array)>=1 then
ID_Elem=IDRule_Array(1)
end if
if Ubound(IDRule_Array)>=2 then
ID_Postfix=IDRule_Array(2)
end if
if len(LimitClass)>0 then
LimitClass_Array=split(LimitClass,",")
End if
if len(RegPointmoney)>0 then
RegPointmoney_Array=split(RegPointmoney,",")
end if
if len(LoginPointmoney)>0 then
LoginPointmoney_Array=split(LoginPointmoney,",")
end if
if len(PointChange)>0 then
PointChange_Array=split(PointChange,",")
end if
if ubound(PointChange_Array)>=0 then
PointChange_TF=PointChange_Array(0)
end if
if len(LenLoginTime)>0 then
LenLoginTimeArray=split(LenLoginTime,",")
end if
if len(isPrompt)>0 then
isPrompt_Array=split(isPrompt,",")
end if
if Ubound(isPrompt_Array)>=0 then
isPrompt_TF=isPrompt_Array(0)
end if
%>
<html xmlns="http://www.w3.org/1999/xhtml">
<HEAD>
<TITLE>FoosunCMS</TITLE>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312">
<link href="../images/skin/Css_<%=Session("Admin_Style_Num")%>/<%=Session("Admin_Style_Num")%>.css" rel="stylesheet" type="text/css">
<BODY LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0 scroll=yes>
<table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" class="table">
<tr class="hback">
<td width="140" align="right" class="xingmu" colspan="3"><div align="left">会员系统参数设置</div></td>
</tr>
<tr class="hback">
<td width="33%" id="Lab_Base"><div align="center"><strong><a href="#" onClick="showParamPanel(1)">基本参数设置</a></strong></div></td>
<td width="33%" height="19" class="hback_1" id="Lab_Other"> <div align="center"><strong><a href="#" onClick="showParamPanel(2)">其他参数设置</a></strong></div></td>
<td width="33%" height="19" class="hback_1" id="Lab_Money"> <div align="center"><strong><a href="#" onClick="showParamPanel(3)">积分金币设置</a></strong></div></td>
</tr>
<tr class="hback">
<td align="right" colspan="3">
<div id="Layer1" style="position:relative; z-index:1; left: 0px; top: 0px;">
<table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" class="table">
<form action="ParamAction.asp?Act=BaseParam" method="post" name="BaseParam" id="BaseParam">
<tr class="hback">
<td width="210" align="right"><div align="right">会员注册默认会员组:</div></td>
<td><label>
<select name="DefaultGroupID" id="DefaultGroupID">
<%
dim rsGroup
set rsGroup = User_Conn.execute("select GroupID,GroupName from FS_ME_Group where GroupType=1 Order by GroupID asc")
do while not rsGroup.eof
if clng(DefaultGroupID) = rsGroup("GroupID") Then
Response.Write ("<option value="""&rsGroup("GroupID")&""" selected>"&rsGroup("GroupName")&"</option>")
else
Response.Write ("<option value="""&rsGroup("GroupID")&""">"&rsGroup("GroupName")&"</option>")
end if
rsGroup.Movenext
loop
rsGroup.close:set rsGroup=nothing
%>
</select>
</label></td>
</tr>
<tr class="hback">
<td align="right">会员系统名称:</td>
<td><input name="UserSystemName" type="text" id="UserSystemName" size="30" maxlength="30" value="<%=UserSystemName%>"></td>
</tr>
<tr class="hback">
<td align="right">允许注册:</td>
<td><input type="radio" name="AllowReg" value="1" <%if AllowReg=1 then Response.Write("checked") end if%>>
是
<input type="radio" name="AllowReg" value="0" <%if AllowReg=0 then Response.Write("checked") end if %>>
否 </td>
</tr>
<tr class="hback">
<td align="right"> 允许中文名称注册:</td>
<td width="743"> <input type="radio" name="AllowChinese" value="1" <% if AllowChinese=1 then Response.Write("checked") end if%>>
是 <input type="radio" name="AllowChinese" value="0" <% if AllowChinese=0 then Response.Write("checked") end if%>>
否 </td>
</tr>
<tr class="hback">
<td align="right"> 个人注册需要审核:</td>
<td><input type="radio" name="NeedAudit" value="1" <% if NeedAudit=1 then Response.Write("checked") end if%> >
是 <input type="radio" name="NeedAudit" value="0" <% if NeedAudit=0 then Response.Write("checked") end if%>>
否</td>
</tr>
<tr class="hback">
<td align="right">企业注册需要审核:</td>
<td><input type="radio" name="Corp_NeedAudit" value="1" <% if Corp_NeedAudit=1 then Response.Write("checked") end if%>>
是 <input type="radio" name="Corp_NeedAudit" value="0" <% if Corp_NeedAudit=0 then Response.Write("checked") end if%>>
否</td>
</tr>
<tr class="hback">
<td align="right">只允许一个人登录:</td>
<td><input type="radio" name="OnlyMemberLogin" value="1" <% if OnlyMemberLogin=1 then Response.Write("checked")%>/>
是 <input type="radio" name="OnlyMemberLogin" value="0" <% if OnlyMemberLogin=0 then Response.Write("checked")%>>
否</td>
</tr>
<tr class="hback">
<td align="right">用户编号规则_前缀:</td>
<td> <input name="ID_Prefix" type="text" id="ID_Prefix2" size="50" value="<% if Ubound(IDRule_Array)>0 then Response.Write(IDRule_Array(0))%>"/> </td>
</tr>
<tr class="hback">
<td align="right">用户编号规则_组成元素:</td>
<td> <input name="ID_Elem" type="checkbox" id="ID_Elem2" value="y" <%if instr(ID_Elem,"y")>0 then Response.Write("checked") end if%>/>
年
<input name="ID_Elem" type="checkbox" id="ID_Elem2" value="m" <%if instr(ID_Elem,"m")>0 then Response.Write("checked") end if%>/>
月
<input name="ID_Elem" type="checkbox" id="ID_Elem2" value="d" <%if instr(ID_Elem,"d")>0 then Response.Write("checked") end if%>/>
日
<input name="ID_Elem" type="checkbox" id="ID_Elem2" value="h" <%if instr(ID_Elem,"h")>0 then Response.Write("checked") end if%>/>
时
<input name="ID_Elem" type="checkbox" id="ID_Elem2" value="i" <%if instr(ID_Elem,"i")>0 then Response.Write("checked") end if%>/>
分
<input name="ID_Elem" type="checkbox" id="ID_Elem2" value="s" <%if instr(ID_Elem,"s")>0 then Response.Write("checked") end if%>/>
秒 </td>
</tr>
<tr class="hback">
<td align="right">用户编号规则_ID后缀:</td>
<td><p>
<label>
<input type="radio" name="ID_Postfix" value="2" <% if ID_Postfix=2 then Response.Write("Checked") end if%>/>
2位随机数</label>
<label>
<input type="radio" name="ID_Postfix" value="3" <% if ID_Postfix=3 then Response.Write("Checked") end if%>>
3位随机数</label>
<label>
<input type="radio" name="ID_Postfix" value="4" <% if ID_Postfix=4 then Response.Write("Checked") end if%>>
4位随机数</label>
<label>
<input type="radio" name="ID_Postfix" value="5" <% if ID_Postfix=5 then Response.Write("Checked") end if%>>
5位随机数</label>
<input name="needWord" type="checkbox" id="needWord2" value="w" <% if instr(ID_Rule,"w")>0 then Response.Write("checked")%> />
字母数字组合</p></td>
</tr>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -