<!--#include file="../conn.asp" -->
<%
if session("admin")="" then
Response.Write("<script language=JavaScript>alert('对不起,您没有权限使用该功能!!');history.back();</script>")
response.end
end if%>
<%
act=Request("act")
if act="pass" then
user=Request.Form("user")
set rs=server.CreateObject("adodb.recordset")
sql="select * from diaryuser where username='"&user&"'"
rs.open sql,conn,3,3
%>
<html>

<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>新建网页 1</title>
<link href="../inc/css.css" rel="stylesheet" type="text/css">
</head>

<body  style="OVERFLOW:hidden;OVERFLOW-X:HIDDEN;OVERFLOW-y:hidden;background-color=transparent" topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0" marginwidth="0" marginheight="0">
<div align="center">
  <table width="100%" border="1" cellpadding="0" cellspacing="0"  bordercolor="#d7f5ff" bordercolordark="#FFFFFF" id="table1" bordercolorlight="#cccccc">
    <tr> 
      <td align="center" height="34" background="images/center_title_bg.jpg"><font color="#00ACF0" size="4"><b>用户密码查询</b></font></td>
    </tr>
    <tr> 
      <td align="center" nowrap height="150"><font color=green></font><a target="_blank" href=../book.asp?user=<%=rs("username")%>> 
        </a><font color="#FF0000">密码是::<%=rs("password")%> <a href="javascript:history.go(-1)"><font color="#0000FF"><span style="font-weight: 400">返回</span></font></a></font> 
        <a href="ok.asp?action=deluser&userid=<%=rs("userid")%>" onClick="{if(confirm('您真的要删除此用户吗?此操作不可恢复!')){return true;}return false;}"> 
        </a></td>
    </tr>
    <tr> 
      <td align="center" height="34" background="images/center_title_bg.jpg"> 
        <div align="center"></div>
        <div align="center"></div>
      </td>
    </tr>
  </table>
</div>

</body>

</html>
<%
rs.close
else
%>



<html>

<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>新建网页 1</title>
<link href="../inc/css.css" rel="stylesheet" type="text/css">
</head>

<body  style="OVERFLOW:hidden;OVERFLOW-X:HIDDEN;OVERFLOW-y:hidden;background-color=transparent" topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0" marginwidth="0" marginheight="0">
<form language="javascript"  name="regform" method="post" action="?act=pass">
  <table width="100%" border="1" cellpadding="0" cellspacing="0"  bordercolor="#d7f5ff" bordercolordark="#FFFFFF" id="table1" bordercolorlight="#cccccc">
    <tr> 
      <td align="center" height="34" background="images/center_title_bg.jpg"><font color="#00ACF0" size="4"><b>用户密码查询</b></font></td>
    </tr>
    <tr> 
      <td align="center" nowrap height="150">用户名: 
        <input name="user" type="text"  size="20" maxlength="12">
        <input type="submit" name="Submit0" value="提交">
      </td>
    </tr>
    <tr> 
      <td align="center" height="34" background="images/center_title_bg.jpg"> 
        <div align="center"></div>
        <div align="center"></div>
      </td>
    </tr>
  </table>
 </form> 
</body>

</html><% end if %>
