<head>
<STYLE type=text/css>
A:link {COLOR: #000000; FONT-FAMILY: 宋体; TEXT-DECORATION: none}
A:visited {	COLOR: #000000; FONT-FAMILY: 宋体; TEXT-DECORATION: none}
A:active { COLOR: #ff0000; FONT-FAMILY: 宋体; TEXT-DECORATION: none}
A:hover {COLOR: #ff0000; TEXT-DECORATION: none}
BODY {FONT-SIZE: 9pt}
TH {FONT-SIZE: 9pt}
TD {FONT-SIZE: 9pt}
#YY { width: 100%; position: relative; filter: dropshadow(color="#000011", offx=1, offy=1, positive=1); color: #CFDCE2; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; margin-left: 1px}
</STYLE>
<title>编辑用户信息</title>
</head>

<body bgcolor="#F0F0FF">
<!--#include file="conn.asp"-->
<%
htt=Request.ServerVariables("HTTP_REFERER")
if session("rz")="adminsuper" then 

id111=chkstr(request.form("id"),10)
pass=chkstr(trim(request.form("pass")),14)
fs=chkstr(trim(request.form("fs")),10)
hahaha=chkstr(trim(request.form("hahaha")),14)

jb=chkstr(trim(request.form("jb")),3)
xb=chkstr(trim(request.form("xb")),1)
tw=chkstr(trim(request.form("tw")),30)
da=chkstr(trim(request.form("da")),30)
hy=chkstr(trim(request.form("hy")),2)
eeee=chkstr(request.form("Enable"),1)

sql="UPDATE ["&session("roomid")&"] set UserPassword='"&pass&"',UserCredit="&fs&",UserLevel="&jb&",UserSex="&xb&",UserEnable="&eeee&",UserAnswer='"&da&"',UserQuestion='"&tw&"',MemberLevel=" & hy & " where UserID="&id111
conn.Execute sql
conn.close%>


<TABLE border=0 height="50%" width="100%">
  <TBODY>
  <TR align=middle>
    <TD>
      <TABLE bgColor=#e0e0e0 border=1 borderColorDark=#ffffff borderColorLight=#000000 cellSpacing=0>
        <TBODY>
        <TR>
          <TD>
            <TABLE bgcolor=3A6EA5 border=0 cellPadding=2 cellSpacing=0 width=350>
              <TBODY>
              <TR>
                <TD width=342><FONT color=#ffffff>系统提示信息</FONT></TD>
                <TD width=18>
                  <TABLE bgColor=#e0e0e0 border=1 borderColorDark=#ffffff borderColorLight=#666666 cellPadding=0 cellSpacing=0 width=18>
                  <TBODY>
                    <TR>
                      <TD width=16><B><A href="#" onclick="window.close()" title=关闭><FONT color=#000000>×</FONT></A></B></TD>
                    </TR>
                  </TBODY>
                  </TABLE>
            	 </TD>
            	</TR>
             </TBODY>
            </TABLE>
            <TABLE border=0 cellPadding=4 width=350>
              <TBODY>
              <TR>
                <TD align=middle vAlign=top width=59><FONT color=#ff0000 
                  face=Wingdings style="FONT-SIZE: 32pt">J</FONT></TD>
                <TD width=269>
                  <P>数据修改成功!</P></TD></TR>
              <TR>
                <TD align=middle colSpan=2 vAlign=top>
<% session("currentpage")=""%>
<table border="0" width="80" style="border-style: ridge; border-width: 1" bgcolor="#C0C0C0">
  <tr>
    <td width="100%">
      <p align="center">
<a href="top.asp?id=<%=session("roomid")%>">

 返 回</a>     
    </td>     
  </tr>     
</table>     
    
                </TD>    
              </TR>    
              </TBODY>    
            </TABLE>    
           </TD>    
          </TR>    
        </TBODY>    
       </TABLE>    
     </TD>    
    </TR>    
   </TBODY>    
  </TABLE>    
    
    
    
    
    
    
    
<%else%>    
<script>    
alert("没有成功！");    
window.close();    
</script>    
<%end if    
%>    
