<!--#include file="../utf-8.asp" -->
<!--#include file="../js/Function.asp" -->
<!--#include file="../../inc/MD5.asp" -->
<!--#include file="../CheckAdmin.asp" -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<META NAME="copyright" CONTENT="Copyright 2010-2012 - yidacms.com" />
<META NAME="Author" CONTENT="世纪伟成  yidacms.com" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="../js/admin.css" rel="stylesheet" type="text/css">
<title>会员列表！</title>
</head>
<body>
<%
'版权：世纪伟成(http://yidacms.com)
'本信息不会影响您网站的正常访问，无论免费用户或是收费用户请保留这里的信息.
'如果您删除了这里的版权信息,将追究法律责任.

		set rs = server.createobject("adodb.recordset")
		sql="select * from shuaiweb_userk"
		rs.open sql,dbok,1,1
%>
<table width="98%" height="170" border="0" cellpadding="6" cellspacing="0" bordercolor="#666666" style="border-collapse:collapse" align="left">
 <form id="form1" name="form1" method="post" action="admin_user.asp?yidacms=user">
  <tr>
    <td width="80">会员注册：
      </td>
        <td>
         <input type="radio" name="shuaiweb_userregoff" value="no" <%if rs("shuaiweb_userregoff")="no" then response.write "checked" end if %> />
				开
<input type="radio" name="shuaiweb_userregoff" value="off" <%if rs("shuaiweb_userregoff")="off" then response.write "checked" end if %> />
				关
				</td>
  </tr>
  <tr>
    <td width="80">会员登陆：
        </td>
    <td>
       <input type="radio" name="shuaiweb_userloginoff" value="no" <%if rs("shuaiweb_userloginoff")="no" then response.write "checked" end if %> />
				开
            <input type="radio" name="shuaiweb_userloginoff" value="off" <%if rs("shuaiweb_userloginoff")="off" then response.write "checked" end if %> />
				关
				</td>
    </tr>
 <tr>
    <td></td>
    <td><input type="submit" name="Submit" value="提 交"  class="inanniu" /> <input type=button onclick="window.location.href('../navigation/admin_navigation_new.asp?yida_nvname=会员中心&yida_nvurl=<%=webpath%>user/login.asp')"value="设为导航" class="inanniu"></td>
</tr>
</form>
</table>
<%
        if request("yidacms")="user" Then
		set rs=server.createobject("adodb.recordset")
		sql="select * from shuaiweb_userk"
		rs.open sql,dbok,1,3
			rs("shuaiweb_userregoff")=trim(request.form("shuaiweb_userregoff"))
			rs("shuaiweb_userloginoff")=trim(request.form("shuaiweb_userloginoff"))
		rs.update
		rs.close
		set rs=nothing
		response.write "<script language=javascript> alert('操作成功！');location.replace('admin_user.asp');</script>"
        End If
%>
</body>
</html>
