<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
<!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 http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Powered by 9416.cn</title>


<!--#include file="../inc/conn.asp"-->


<script type="text/javascript" src="../ui/jquery.js"></script>
 <link rel="stylesheet" href="../ui/layui/css/layui.css" type="text/css"  />

<script type="text/javascript" src="../ui/layui/layui.js"></script>
<script type="text/javascript" src="../ui/pc.js"></script>

</head>


<body>


<div class="mec_div" style="padding-top:0px; padding-bottom:20px;padding-left:20px;padding-right:20px;">
<div class="layui-tab layui-tab-brief">
<ul class="layui-tab-title site-demo-title">
<li class="layui-this"><a href="user_set.asp">设置</a></li>
<li><a href="user_list.asp">会员列表</a></li>
<li><a href="user_point.asp">会员积分</a></li>
  </ul>
  </div>
 <%jianbook.qxmsg()

 on error resume next
sql="select * from [user_set] "
  rs.open sql,conn,3,3
  if not rs.eof then
  user_zt=rs("audit")

   user_point=split(rs("point"),",")
   
   
  end  if
  
  %>
        <form id="form1" name="form1" class="layui-form"  method="post" action="?act=add&id=<%=request("id")%>">
  	   <table width="100%" border="0" cellspacing="0" cellpadding="0"  >
    <tr>
      <td width="110" height="50">会员注册审核：</td>
      <td> <input type="checkbox"  <%if user_zt=1 then%>checked="checked"<%end if%> name="audit" lay-skin="switch" lay-filter="switchTest" value="1" lay-text="开启|关闭"></td>
      <td width="110">&nbsp;</td>
      <td>&nbsp;</td>
    </tr>
    
    <tr>
      <td width="100" height="50">注册获得积分：</td>
      <td>
      
      <input name="point" type="text" class="layui-input"  style="width:80px"  lay-verify="required" value="<%=trim(user_point(0))%>" placeholder="" /></td>
      <td>每日登陆积分：</td>
      <td><input name="point" type="text" class="layui-input"  style="width:80px"  lay-verify="required" value="<%=trim(user_point(1))%>" placeholder="" /></td>
    </tr>
    
     <tr>
      <td width="100" height="50">每日发帖积分：</td>
      <td>
      
      <input name="point" type="text" class="layui-input"  style="width:80px"  lay-verify="required" value="<%=trim(user_point(2))%>" placeholder="" /></td>
      <td>每日回复积分：</td>
      <td><input name="point" type="text" class="layui-input"  style="width:80px"  lay-verify="required" value="<%=trim(user_point(3))%>" placeholder="" /></td>
    </tr>
        <tr>
      <td width="100" height="50">每日签到积分：</td>
      <td>
      
      <input name="point" type="text" class="layui-input"  style="width:80px"  lay-verify="required" value="<%=trim(user_point(4))%>" placeholder="" /></td>
      <td>连续签到5天：</td>
      <td><input name="point" type="text" class="layui-input"  style="width:80px"  lay-verify="required" value="<%=trim(user_point(5))%>" placeholder="" /></td>
    </tr>
             <tr>
      <td width="100" height="50">连续签到10天：</td>
      <td>
      
      <input name="point" type="text" class="layui-input"  style="width:80px"  lay-verify="required" value="<%=trim(user_point(6))%>" placeholder="" /></td>
      <td>连续签到30天：</td>
      <td><input name="point" type="text" class="layui-input"  style="width:80px"  lay-verify="required" value="<%=trim(user_point(7))%>" placeholder="" /></td>
    </tr>
        <tr>
          <td height="50"></td>
          <td><input type="submit" class="layui-btn" value="保存资料" lay-submit="lay-submit" /></td>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
         </tr>
       </table>
 
  </form>
    
 
 
	
</div> 
 

<%

  if request("act")="add" then
  jianbook.demomsg()
  
 if rs.eof and rs.bof  then
 rs.addnew
 
 end if

rs("audit")=request("audit")

rs("point")=request("point")

	
        rs.update
		rs.close
	
jianbook.mgbox "保存成功","user_set.asp"
end if
	

 
 
%>

		

</body>

</html>
