www.gusucode.com > 528人才招聘网整站源代码-蓝色经典 精简版 2.0源码程序 > admin/admin_user_ac.asp
<!--#include file="conn.asp"--> <% if session("login")<>"yes" then response.write "<script language=JavaScript>" & chr(13) & "alert('您还未登陆或者超时,请重登陆!');"&"window.location.href = '../'"&" </script>" response.end end if if request("ttype")="1" then sql="select name,ac,question,lock,ltime,ip,email,vip,rz from in_user where id="&clng(request("id")) ttype="1" else sql="select name,ac,question,lock,ltime,ip,email,vip,rz from en_user where id="&clng(request("id")) ttype="2" end if rs.open sql,conn,1,1 if rs.recordcount=0 then rs.close set rs=nothing response.write "<script language=JavaScript>" & chr(13) & "alert('非法数据提交!');" & "window.close()" & "</script>" Response.End end if %> <html> <head> <meta http-equiv="Content-Language" content="zh-cn"> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <link rel="stylesheet" href="../css.css" type="text/css"> <title>用户帐户设置</title> </head> <body> <div align="center"> <table border="0" width="400" cellspacing="0" cellpadding="0" height="300" id="table1"> <tr> <td valign="top"> <form method="POST" action="updata_user_ac.asp"> <table border="0" width="400" cellspacing="0" cellpadding="0" id="table2" height="395"> <tr> <td height="30" background="images/jobbg1.gif" style="border: 1px solid #C0C0C0" width="398" colspan="2"> <p align="center"><font color="#0A5DF6"><b>用户帐户设置</b></font></td> </tr> <tr> <td height="30" width="86" style="border-left: 1px solid #C0C0C0; border-right: 1px solid #C0C0C0; border-top-width: 1px; border-bottom: 1px solid #C0C0C0" bgcolor="#EEFFF2"> <p align="center"><b>账 号:</b></td> <td height="30" width="311" style="border-left-width: 1px; border-right: 1px solid #C0C0C0; border-top-width: 1px; border-bottom: 1px solid #C0C0C0" bgcolor="#EEFFF2"> <%=rs("ac")%>(<%=rs("name")%>)</td> </tr> <tr> <td width="86" style="border-left: 1px solid #C0C0C0; border-right: 1px solid #C0C0C0; border-top-width: 1px; border-bottom: 1px solid #C0C0C0" bgcolor="#EEFFF2" height="30"> <p align="center"><b>密 码:</b></td> <td width="311" style="border-left-width: 1px; border-right: 1px solid #C0C0C0; border-top-width: 1px; border-bottom: 1px solid #C0C0C0" bgcolor="#EEFFF2" height="30"> <input type="text" name="pwd" size="20" style="border-style: solid; border-width: 1px; padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px"> <font color="#FF0000">若不更改,请勿填写</font></td> </tr> <tr> <td width="86" style="border-left: 1px solid #C0C0C0; border-right: 1px solid #C0C0C0; border-top-width: 1px; border-bottom: 1px solid #C0C0C0" bgcolor="#EEFFF2" height="30"> <p align="center"><b>密码问题:</b></td> <td width="311" style="border-left-width: 1px; border-right: 1px solid #C0C0C0; border-top-width: 1px; border-bottom: 1px solid #C0C0C0" height="30" bgcolor="#EEFFF2"> <input type="text" name="question" size="20" style="border-style: solid; border-width: 1px; padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px" value="<%=rs("question")%>"></td> </tr> <tr> <td width="86" style="border-left: 1px solid #C0C0C0; border-right: 1px solid #C0C0C0; border-top-width: 1px; border-bottom: 1px solid #C0C0C0" bgcolor="#EEFFF2" height="30"> <p align="center"><b>密码答案:</b></td> <td width="311" style="border-left-width: 1px; border-right: 1px solid #C0C0C0; border-top-width: 1px; border-bottom: 1px solid #C0C0C0" height="30" bgcolor="#EEFFF2"> <input type="text" name="answer" size="20" style="border-style: solid; border-width: 1px; padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px"> <font color="#FF0000">若不更改,请勿填写</font></td> </tr> <tr> <td width="86" style="border-left: 1px solid #C0C0C0; border-right: 1px solid #C0C0C0; border-top-width: 1px; border-bottom: 1px solid #C0C0C0" bgcolor="#EEFFF2" height="15"> <p align="center">==========</td> <td width="311" height="30" bgcolor="#EEFFF2" style="border-left-width: 1px; border-right: 1px solid #C0C0C0; border-top-width: 1px; border-bottom: 1px solid #C0C0C0"> ============</td> </tr> <tr> <td style="border-left: 1px solid #C0C0C0; border-right: 1px solid #C0C0C0; border-top-width: 1px; border-bottom: 1px solid #C0C0C0" bgcolor="#EEFFF2" height="16"><div align="center"><b>认证用户:</b> </div></td> <td width="311" height="30" bgcolor="#EEFFF2" style="border-left-width: 1px; border-right: 1px solid #C0C0C0; border-top-width: 1px; border-bottom: 1px solid #C0C0C0">是 <input type="radio" value="true" name="rz" <%if rs("rz")=true then response.write"checked"%>> 否 <input type="radio" name="rz" value="false" <%if rs("rz")=false then response.write"checked"%>></td> </tr> <tr> <td width="86" style="border-left: 1px solid #C0C0C0; border-right: 1px solid #C0C0C0; border-top-width: 1px; border-bottom: 1px solid #C0C0C0" bgcolor="#EEFFF2" height="31"> <p align="center"><b>VIP用户:</b></td> <td width="311" style="border-left-width: 1px; border-right: 1px solid #C0C0C0; border-top-width: 1px; border-bottom: 1px solid #C0C0C0" height="31" bgcolor="#EEFFF2"> 是 <input type="radio" value="true" name="vip" <%if rs("vip")=true then response.write"checked"%>> 否 <input type="radio" name="vip" value="false" <%if rs("vip")=false then response.write"checked"%>></td> </tr> <tr> <td width="86" style="border-left: 1px solid #C0C0C0; border-right: 1px solid #C0C0C0; border-top-width: 1px; border-bottom: 1px solid #C0C0C0" bgcolor="#EEFFF2" height="29"> <p align="center"><b>是否锁定:</b></td> <td width="311" style="border-left-width: 1px; border-right: 1px solid #C0C0C0; border-top-width: 1px; border-bottom: 1px solid #C0C0C0" height="29" bgcolor="#EEFFF2"> 是<input type="radio" value="true" name="lock" <%if rs("lock")=true then response.write"checked"%>> 否<input type="radio" name="lock" value="false" <%if rs("lock")=false then response.write"checked"%>></td> </tr> <tr> <td width="86" style="border-left: 1px solid #C0C0C0; border-right: 1px solid #C0C0C0; border-top-width: 1px; border-bottom: 1px solid #C0C0C0" bgcolor="#EEFFF2" height="93"> <p align="center"><b>其他数据:</b></td> <td width="311" style="border-left-width: 1px; border-right: 1px solid #C0C0C0; border-top-width: 1px; border-bottom: 1px solid #C0C0C0" height="93" bgcolor="#EEFFF2"> 电子邮件地址:<%=rs("email")%><p>最后登陆时间:<%=rs("ltime")%><p>最后登陆 IP:<%=rs("ip")%></td> </tr> <tr> <td height="30" width="400" colspan="2" style="border-left: 1px solid #C0C0C0; border-right: 1px solid #C0C0C0; border-top-width: 1px; border-bottom: 1px solid #C0C0C0" bgcolor="#EEFFF2"> <p align="center"> <input type="submit" value="修改" name="B1"></td> </tr> </table> <input type="hidden" name="ttype" value="<%=ttype%>"> <input type="hidden" name="id" value="<%=request("id")%>"> </form> </td> </tr> </table> </div> </body> </html> <% rs.close set rs=nothing set conn=nothing %>