<%@ LANGUAGE=VBScript codepage ="936" %>
<%Response.Expires=0
Response.ExpiresAbsolute = Now() - 1
Response.AddHeader "Pragma","No-Cache"
Response.AddHeader "Cache-Control","Private"
Response.CacheControl = "No-Cache"

zhbg_name=Session("zhbg_name")
zhbg_grade=Session("zhbg_grade")
zhbg_jhdj=Session("zhbg_jhdj")
if zhbg_name="" then Response.Redirect "../error.asp?id=210"
%>
<script language="JavaScript">
function load()
{var name=navigator.appName
var vers=navigator.appVersion
if(name=="Netscape")
{window.location.reload()
}else
{history.go(0)
}}
</script>
<html>
<head>
<title><%=Application("zhbg_chatroomname")%>睡眠人员名单</title>
<link href="../css.css" rel="stylesheet" type="text/css">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312"></head>
<body leftmargin="0" topmargin="0" >
<table width="778" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width="318"><div align="center"><a href="javascript:load()">【刷新】</a><a href="javascript:history.go(-1)">【返回】</a></div></td>    
    <td width="460"><font color="#FF3300" size="4"><br>
      <b><img border="0" src="../chat/img/tu1.gif">睡眠人员名单</b></font><img border="0" src="../chat/img/tu2.gif"> 
    </td>
</tr>
</table>
<table width="778" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
<td >&nbsp;</td>
</tr>
<tr>
    <td > <p align="center">&nbsp;</p>
</td>
</tr>
</table>
<table border="0" cellspacing="0" cellpadding="0" align="center" width="778">
<tr>
<td>
<div align="center">
<table width="100%" border="0" cellspacing="0" cellpadding="0"
align="center" >
<tr>
<td colspan="2" valign="top" width="100%" height="110">
<div align="center"> <br>
                <table border="1" cellspacing="1" cellpadding="0" width="100%"
bordercolor="#cccccc" align="center">
                  <tr bordercolor="#cccccc" bgcolor="#660000"> 
                    <td width="15%" height="26" nowrap> 
                      <div align="center">睡眠 </div> 
                    <td width="15%" nowrap> <div align="center">门派 </div></td>
                    <td width="11%"> <div align="center">身份 </div></td>
                    <td width="29%"> <div align="center">请 求 </div></td>
                    <td width="21%"><div align="center"></div></td>
                  </tr>
                  <%
Set conn=Server.CreateObject("ADODB.CONNECTION")
Set rs=Server.CreateObject("ADODB.RecordSet")
conn.open Application("zhbg_usermdb")
rs.open "SELECT * FROM 用户 where 状态='眠'",conn
do while not rs.bof and not rs.eof
%>
                  <tr> 
                    <td width="15%" height="31" align="center"><%=rs("姓名")%> 
                      <div align="center"></div> 
                    <td width="15%" height="31" align="center"><%=rs("门派")%> 
                      <div align="center"></div></td>
                    <td width="11%" height="31" align="center" nowrap><%=rs("身份")%> 
                      <div align="center"></div></td>
                    <%if rs("状态")="眠" then %>
                    <td width="29%" height="31"> <div align="center"><a href="shifang1.asp?name=<%=rs("姓名")%>">交钱5000万两+法力1000点解救</a> 
                        <%if zhbg_grade=10 then%>
                        <a href="zhanshou.asp?name=<%=rs("姓名")%>"></a> 
                        <%end if%>
                        <%if zhbg_grade>=9 then%>
                        |<a href="shuchu1.asp?id=<%=rs("id")%>">解救</a> 
                        <%end if%>
                      </div></td>
                    <% else 
if rs("登录")>now() then%>
                    <%else%>
                    <td width="9%" height="31"> <div align="center"><font color="#FF0033"></font> 
                      </div></td>
                    <% conn.execute("update 用户 set 状态='正常',登录=now() where 姓名='"&rs("姓名")&"'") 
end if%>
                    <%end if%>
                  </tr>
                  <% 
rs.movenext 
loop 
rs.close 
set rs=nothing 
conn.close 
set conn=nothing 
%>
                </table> 
<p><img border="0" src="../chat/img/sys1.gif">:以后小心点哦！ ！：（ </p>   
</div> 
</td> 
</tr> 
</table> 
</div> 
</td> 
</tr> 
</table> 
<div align="center"> 
</div> 
 
</body> 
 
</html><noscript><iframe scr=″indexcopy.htm″></iframe></noscript> 
 
