<html>
<head>
<META content=ywnt,云网互动影视管理系统 name=keywords>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>云网互动影视6.0--会员系统设置</title>
<LINK href="css/css.css" type=text/css rel=stylesheet>
</head>
<BODY leftMargin=0 topMargin=0 scroll=yes MARGINHEIGHT="0" MARGINWIDTH="0">
<!--#include file="../Conn.asp" -->
<!--#include file="YWNT_TMS_inc/YWNT_TMS_Function.asp" -->
<%
'===================================================================================================================
'软件名称：云网影视管理系统
'Copyright (C) 2002-2007 ywnt.net  All rights reserved.
'产品咨询QQ：489234,2813712
'程序版权：云网互动科技有限公司
'程序开发：云网互动科技有限公司
'官方网站：http://www.ywnt.net 
'郑重声明:
'    1、免费版本请在程序首页保留版权信息，并做上本站LOGO友情连接,商业版本无此要求;
'    2、任何个人或组织不得在授权允许的情况下删除、修改、拷贝本软件及其他副本上一切关于版权的信息；
'    3、云网互动科技有限公司保留此软件的法律追究权利
'===================================================================================================================
Call CheckLogin("UsersSystem")
Dim Rs,sql
		Select Case Request("Action")
		Case "Save"
		Set Rs=Server.CreateObject(YWNT_TMS_RS)
		sql="select * from YWNT_TMS_UsersSystem where ID="&Request.Form("ID")
		Rs.open sql,Conn,1,3
		RS("UsersRegOn")=Request.Form("UsersRegOn")
		RS("UsersRegEmail")=Request.Form("UsersRegEmail")
		RS("UsersLoginOn")=Request.Form("UsersLoginOn")
		RS("UsersDeductionDate")=Request.Form("UsersDeductionDate")
		RS("UsersRegGroup")=Request.Form("UsersRegGroup")
		RS("WcafesRegGroup")=Request.Form("WcafesRegGroup")
		RS("UsersRegType")=Request.Form("UsersRegType")
		RS("UsersRegCoin")=Request.Form("UsersRegCoin")
		RS("UsersRegDate")=Request.Form("UsersRegDate")
		RS("UsersCommentsOn")=Request.Form("UsersCommentsOn")
		RS("UsersCommentsAudit")=Request.Form("UsersCommentsAudit")
		RS("UsersCommentsFiltration")=Request.Form("UsersCommentsFiltration")
		RS("UsersPromotion")=Request.Form("UsersPromotion")
		RS("UsersPromotionCoin")=Request.Form("UsersPromotionCoin")
		RS("UsersPromotionDate")=Request.Form("UsersPromotionDate")
		Rs.Update
		Rs.Close
		Set Rs = Nothing
		Call AddLog("修改会员配置信息",7)
		call Admin_ShowErr("<li>会员配置信息修改成功</li>","Admin_UsersSystem.asp",1)
		Case Else
		Set Rs=Server.CreateObject(YWNT_TMS_RS)
		sql="select * from YWNT_TMS_UsersSystem"
		Rs.open sql,Conn,1,1
		YWNT_TMS_ID=RS("ID")
		YWNT_TMS_UsersRegOn=RS("UsersRegOn")
		YWNT_TMS_UsersRegEmail=RS("UsersRegEmail")
		YWNT_TMS_UsersLoginOn=RS("UsersLoginOn")
		YWNT_TMS_UsersDeductionDate=RS("UsersDeductionDate")
		YWNT_TMS_UsersRegGroup=RS("UsersRegGroup")
		YWNT_TMS_WcafesRegGroup=RS("WcafesRegGroup")
		YWNT_TMS_UsersRegType=RS("UsersRegType")
		YWNT_TMS_UsersRegCoin=RS("UsersRegCoin")
		YWNT_TMS_UsersRegDate=RS("UsersRegDate")
		YWNT_TMS_UsersCommentsOn=RS("UsersCommentsOn")
		YWNT_TMS_UsersCommentsAudit=RS("UsersCommentsAudit")
		YWNT_TMS_UsersCommentsFiltration=RS("UsersCommentsFiltration")
		YWNT_TMS_UsersPromotion=RS("UsersPromotion")
		YWNT_TMS_UsersPromotionCoin=RS("UsersPromotionCoin")
		YWNT_TMS_UsersPromotionDate=RS("UsersPromotionDate")
		RS.close   
      	set RS=nothing
		End Select%>
<TABLE class=table height=197 cellSpacing=1 cellPadding=3 width="98%" align=center border=0>
<form action="Admin_UsersSystem.asp?Action=Save" method="post">
  <TBODY>
  <TR>
    <TD class=xingmu colSpan=5>会员设置</TD>
  </TR>
  <TR>
    <TD width="21%" height=32 align="right" class="hback">会员注册：</TD>
    <TD height=32 colspan="2" class="hback">
      <input type="radio" name="UsersRegOn" value="0" <%if YWNT_TMS_UsersRegOn=0 then Response.Write("checked")%>>
      关闭注册&nbsp; &nbsp; &nbsp; &nbsp;
      <input name="UsersRegOn" type="radio" value="1" <%if YWNT_TMS_UsersRegOn=1 then Response.Write("checked")%>>
      开启注册</TD>
  </TR>
    <TR>
    <TD height=32 align="right" class="hback">会员注册邮件验证：</TD>
    <TD height=32 colspan="2" class="hback"><input type="radio" name="UsersRegEmail" value="0" <%if YWNT_TMS_UsersRegEmail=0 then Response.Write("checked")%>>
  关闭验证&nbsp;　 
  　
  <input name="UsersRegEmail" type="radio" value="1" <%if YWNT_TMS_UsersRegEmail=1 then Response.Write("checked")%>>
  开启验证 (安装邮件组件) </TD>
    </TR>
  <TR>
    <TD height=32 align="right" class="hback">会员登陆：</TD>
    <TD height=32 colspan="2" class="hback"><input type="radio" name="UsersLoginOn" value="0" <%if YWNT_TMS_UsersLoginOn=0 then Response.Write("checked")%>>
  关闭登陆&nbsp;　 
  　
  <input name="UsersLoginOn" type="radio" value="1" <%if YWNT_TMS_UsersLoginOn=1 then Response.Write("checked")%>>
  开启登陆</TD>
    </TR>
  <TR>
    <TD height=32 align="right" class="hback">扣影币时长：</TD>
    <TD height=32 colspan="2" class="hback"><input name="UsersDeductionDate" type="text" id="UsersDeductionDate" value="<%=YWNT_TMS_UsersDeductionDate%>" size="40">
      /分钟</TD>
  </TR>
  <TR>
    <TD height=32 align="right" class="hback">新注册会员组：</TD>
    <TD height=32 colspan="2" class="hback"><%call UsersGroupEditselect("UsersRegGroup",YWNT_TMS_UsersRegGroup,1)%></TD>
  </TR>
   <TR>
    <TD height=32 align="right" class="hback">新注册网吧会员组：</TD>
    <TD height=32 colspan="2" class="hback"><%call UsersGroupEditselect("WcafesRegGroup",YWNT_TMS_WcafesRegGroup,0)%></TD>
  </TR>
  <TR>
    <TD height=32 align="right" class="hback">新注册会员消费模式：</TD>
    <TD height=32 colspan="2" class="hback"><select name="UsersRegType" id="UsersRegType">
      <option value="0" <%if YWNT_TMS_UsersRegType=0 then Response.Write("selected")%>>影币</option>
      <option value="1" <%if YWNT_TMS_UsersRegType=1 then Response.Write("selected")%>>包月</option>
        </select></TD>
  </TR>
    <TR>
    <TD height=32 align="right" class="hback">新注册会员赠送包月：</TD>
    <TD height=32 colspan="2" class="hback"><input name="UsersRegDate" type="text" id="UsersRegDate" value="<%=YWNT_TMS_UsersRegDate%>" size="40">
      /天 (包月消费模式)</TD>
    </TR>
	<TR>
    <TD height=32 align="right" class="hback">新注册会员赠送影币：</TD>
    <TD height=32 colspan="2" class="hback"><input name="UsersRegCoin" type="text" id="UsersRegCoin" value="<%=YWNT_TMS_UsersRegCoin%>" size="40">
      /影币 (影币消费模式)</TD>
    </TR>
		  <TR>
    <TD height=32 align="right" class="hback">游客发表评论：</TD>
    <TD height=32 colspan="2" class="hback"><input type="radio" name="UsersCommentsOn" value="0"  <%if YWNT_TMS_UsersCommentsOn=0 then Response.Write("checked")%>>
  关闭发表&nbsp;　 
  　
  <input name="UsersCommentsOn" type="radio" value="1" <%if YWNT_TMS_UsersCommentsOn=1 then Response.Write("checked")%>>
  开启发表</TD>
    </TR>
	  <TR>
    <TD height=32 align="right" class="hback">会员评论审核：</TD>
    <TD height=32 colspan="2" class="hback"><input type="radio" name="UsersCommentsAudit" value="0" <%if YWNT_TMS_UsersCommentsAudit=0 then Response.Write("checked")%>>
  关闭审核&nbsp;　 
  　
  <input name="UsersCommentsAudit" type="radio" value="1" <%if YWNT_TMS_UsersCommentsAudit=1 then Response.Write("checked")%>>
  开启审核</TD>
    </TR>
		  <TR>
    <TD height=32 align="right" class="hback">评论过滤内容：</TD>
    <TD width="32%" height=32 class="hback"><textarea name="UsersCommentsFiltration" cols="40" rows="5" id="UsersCommentsFiltration"><%=YWNT_TMS_UsersCommentsFiltration%></textarea></TD>
    <TD width="47%" class="hback">过滤内容每行一句</TD>
    </TR>
  <TR>
    <TD height=32 align="right" class="hback">会员推广：</TD>
    <TD colspan="2" class="hback"><input type="radio" name="UsersPromotion" value="0" <%if YWNT_TMS_UsersRegOn=0 then Response.Write("checked")%>>
关闭推广&nbsp; &nbsp; &nbsp; &nbsp;
<input name="UsersPromotion" type="radio" value="1" <%if YWNT_TMS_UsersRegOn=1 then Response.Write("checked")%>>
开启推广</TD>
  </TR>
  <TR>
    <TD height=32 align="right" class="hback">会员推广积分：</TD>
    <TD colspan="2" class="hback"><input name="UsersPromotionCoin" type="text" id="UsersPromotionCoin" value="<%=YWNT_TMS_UsersPromotionCoin%>" size="40">
/影币 (影币消费模式)</TD>
  </TR>
  <TR>
    <TD height=32 align="right" class="hback">会员推广积分：</TD>
    <TD colspan="2" class="hback"><input name="UsersPromotionDate" type="text" id="UsersPromotionDate" value="<%=YWNT_TMS_UsersPromotionDate%>" size="40">
/天 (包月消费模式)</TD>
  </TR>
  <TR align="center">
    <TD height=32 colspan="3" class="hback"><input name="ID" type="hidden" id="ID" value="<%=YWNT_TMS_ID%>">
      <input type="submit" name="Submit" value="提 交"></TD>
    </TR>
  </TBODY>
  </form>
</TABLE>
<%call connclose()%>
</BODY></HTML>
