📄 sysusercent.asp
字号:
<!--#include file="../../../Inc/Const.asp" -->
<!--#include file="../../../Inc/Cls_DB.asp" -->
<!--#include file="../../../Inc/Function.asp" -->
<!--#include file="../../../Inc/Cls_Cache.asp" -->
<%
'==============================================================================
'软件名称:风讯网站信息管理系统
'当前版本:Foosun Content Manager System(FoosunCMS V3.2SP1)
'最新更新:2006.50
'==============================================================================
'Copyright (C) 2002-2004 Foosun.Net All rights reserved.
'商业注册联系:028-85098980-601,项目开发:028-85098980-606、609,客户支持:608
'产品咨询QQ:394226379,159410,125114015
'技术支持QQ:315485710,66252421
'项目开发QQ:415637671,655071
'程序开发:四川风讯科技发展有限公司(Foosun Inc.)
'Email:service@Foosun.cn
'MSN:skoolls@hotmail.com
'论坛支持:风讯在线论坛(http://bbs.foosun.net)
'官方网站:www.Foosun.cn 演示站点:test.cooin.com
'网站通系列(智能快速建站系列):www.ewebs.cn
'==============================================================================
'免费版本请在程序首页保留版权信息,并做上本站LOGO友情连接
'风讯公司保留此程序的法律追究权利
'如需进行2次开发,必须经过风讯公司书面允许。否则将追究法律责任
'==============================================================================
Dim DBC,Conn,UserConn
Set DBC = New DataBaseClass
Set Conn = DBC.OpenConnection()
DBC.ConnStr = "DBQ=" + Server.MapPath(UserDBConnectStr) + ";DefaultDir=;DRIVER={Microsoft Access Driver (*.mdb)};"
Set UserConn = DBC.OpenConnection()
Set DBC = Nothing
%>
<!--#include file="../../../Inc/Session.asp" -->
<!--#include file="../../../Inc/CheckPopedom.asp" -->
<%
if Not JudgePopedomTF(Session("Name"),"P040700") then Call ReturnError1()
Dim Fs_ConfigCache
Set Fs_ConfigCache = New cls_FsCache
Fs_ConfigCache.Name="ConfigCache"
Set RsConfig = server.CreateObject(G_FS_RS)
RsConfig.open "select * from FS_UserConfig",UserConn,1,3
If Request.Form("operation")="Modify" Then
RsConfig("NumberLoginPoint")=CInt(Request.Form("NumberLoginPoint"))
RsConfig("FirstPoint")=CInt(Request.Form("FirstPoint"))
RsConfig("BadLoginTime")=CInt(Request.Form("BadLoginTime"))
RsConfig("BadLoginNum")=CInt(Request.Form("BadLoginNum"))
RsConfig("NumberBadLoginPoint")=CInt(Request.Form("NumberBadLoginPoint"))
RsConfig("NumberContPoint")=CInt(Request.Form("NumberContPoint"))
RsConfig("NumberContPassPoint")=CInt(Request.Form("NumberContPassPoint"))
RsConfig("NumberContBadPoint")=CInt(Request.Form("NumberContBadPoint"))
RsConfig("SendPoint")=CInt(Request.Form("SendPoint"))
RsConfig("QPoint")=CInt(Request.Form("QPoint"))
RsConfig.update
Response.write "<script>alert('保存成功!');location=location.href;</script>"
response.End
End If
%>
<html>
<title>会员积分管理</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style type="text/css">
<!--
.SysParaButtonStyle {
border-top-width: 1px;
border-right-width: 1px;
border-bottom-width: 1px;
border-left-width: 1px;
border-right-style: solid;
border-bottom-style: solid;
border-left-style: solid;
border-right-color: #999999;
border-bottom-color: #999999;
border-left-color: #FFFFFF;
background-color: #E6E6E6;
}
-->
</style>
</head>
<link href="../../../CSS/FS_css.css" rel="stylesheet">
<script src="../../SysJS/PublicJS.js" language="JavaScript"></script>
<body bgcolor="#FFFFFF" topmargin="2" leftmargin="2" scroll="yes" oncontextmenu="return false;">
<form name="form" method="post" action="" >
<table width="100%" border="0" cellpadding="1" cellspacing="1" bgcolor="#999999">
<td height="26" colspan="5" valign="middle" bgcolor="#EEEEEE">
<table width="100%" height="20" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width=35 align="center" alt="保存" onClick="document.form.submit();" onMouseMove="BtnMouseOver(this);" onMouseOut="BtnMouseOver(this);" class="BtnMouseOut">保存</td>
<td width=2 class="Gray">|</td>
<td width=35 align="center" alt="后退" onClick="top.GetEkMainObject().history.back();" onMouseMove="BtnMouseOver(this);" onMouseOut="BtnMouseOver(this);" class="BtnMouseOut">后退</td>
<td width="905"> <input type="hidden" name="operation" value="Modify"> </tr>
</table>
</td>
</tr>
</table>
<table width="100%" border="0" cellpadding="2" cellspacing="1" bordercolor="e6e6e6" bgcolor="#E3E3E3">
<tr bgcolor="#FFFFFF">
<td colspan="5" height="1"></td>
</tr>
<tr valign="middle" bgcolor="#f2f2f2">
<td height="21" colspan="2" align="center">
<font color="#FF0000">请在以下所有输入框填写正整数</font></td>
<tr valign="middle" bgcolor="#F5F5F5">
<td height="21"><div align="right">会员注册默认点数</div></td>
<td height="21" bgcolor="#F5F5F5">
<input name="FirstPoint" type="text" id="FirstPoint" value="<%=RsConfig("FirstPoint")%>"></td>
<tr valign="middle" bgcolor="#F5F5F5">
<td height="21"> <div align="right">会员登陆增加点数</div></td>
<td width="613" height="21" bgcolor="#F5F5F5"> <input name="NumberLoginPoint" type="text" id="NumberLoginPoint" value="<%=RsConfig("NumberLoginPoint")%>"></td>
<tr valign="middle" bgcolor="#F5F5F5">
<td height="21"> <div align="right">骗取积分时间设置</div></td>
<td width="613" height="21" bgcolor="#F5F5F5"> <input name="BadLoginTime" type="text" id="BadLoginTime" value="<%=RsConfig("BadLoginTime")%>" size="6">分钟<input name="BadLoginNum" type="text" id="BadLoginNum" value="<%=RsConfig("BadLoginNum")%>" size="6">次登陆认为是骗取积分行为</td>
<tr valign="middle" bgcolor="#F5F5F5">
<td height="21"> <div align="right">骗取积分惩罚点数</div></td>
<td width="613" height="21" bgcolor="#F5F5F5"> <input name="NumberBadLoginPoint" type="text" id="NumberBadLoginPoint" value="<%=RsConfig("NumberBadLoginPoint")%>"></td>
<tr valign="middle" bgcolor="#F5F5F5">
<td height="21"><div align="right">会员投稿后增加</div></td>
<td height="21" bgcolor="#F5F5F5">
<input name="NumberContPoint" type="text" id="NumberContPoint" value="<%=RsConfig("NumberContPoint")%>"></td>
<tr valign="middle" bgcolor="#F5F5F5">
<td height="21"><div align="right">会员投稿审核通过后增加</div></td>
<td height="21" bgcolor="#F5F5F5">
<input name="NumberContPassPoint" type="text" id="NumberContPassPoint" value="<%=RsConfig("NumberContPassPoint")%>"></td>
<tr valign="middle" bgcolor="#F5F5F5">
<td height="21"><div align="right">会员投递垃圾稿件惩罚</div></td>
<td height="21" bgcolor="#F5F5F5">
<input name="NumberContBadPoint" type="text" id="NumberContBadPoint" value="<%=RsConfig("NumberContBadPoint")%>"></td>
<%if Fs_ConfigCache.FindNeedRecord("20")=1 then%><tr valign="middle" bgcolor="#F5F5F5">
<td height="21"> <div align="right">注册用户赠送消费积分</div></td>
<td width="613" height="21" bgcolor="#F5F5F5"> <input name="SendPoint" type="text" id="SendPoint" value="<%=RsConfig("SendPoint")%>"> </td><%End if%>
<tr valign="middle" bgcolor="#F5F5F5">
<td height="21"><div align="right">会员发言及回复增加点数</div></td>
<td height="21" bgcolor="#F5F5F5">
<input name="QPoint" type="text" id="QPoint" value="<%=RsConfig("QPoint")%>"></td>
<tr valign="middle" bgcolor="#F5F5F5">
<td height="21"></td>
<td width="613" height="21" bgcolor="#F5F5F5"></td>
<tr valign="middle" bgcolor="#F5F5F5">
<td height="21"></td>
<td width="613" height="21" bgcolor="#F5F5F5"></td>
<iframe width="260" height="165" id="colourPalette" src="selcolor.htm" style="visibility:hidden; position: absolute; left: 0px; top: 0px;border:1px gray solid" frameborder="0" scrolling="no" ></iframe>
</table>
</form>
</body>
</html>
<%
Set Fs_ConfigCache = Nothing
Set Conn = Nothing
Set UserConn = Nothing
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -