?? admin_user_look.asp
字號:
<!--#include file="conn.asp"-->
<!--#include file="xshjyy.asp"-->
<%'---------程序編寫說明-------%>
<%'本程序由junping96編寫
'程序名稱:新世紀影院VOD播放系統(商業版)
'FileName: Admin_user_look.asp
'EditDate:2003-12-07
'Editer:junping96
'Email:junping96@163.com
'QQ: 249112913 249114058
'請尊重本人勞動,禁止修改版權,有任何問題請和我聯系。
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta name="”keywords”" content="”新世紀影院VOD影視播放程序出售”">
<meta name="”description”" content="”新世紀影院VOD影視(商業版)出售”">
<title>新世紀影院</title>
<link rel="stylesheet" type="text/css" href="../css/css.css">
</head>
<body bgcolor="#FF9900" text="#000000" topmargin="1" leftmargin="1">
<center>
<%
dim pagesize,curpage,numpages
pagesize=16 '每頁顯示的數據條數.
if request.querystring("page")<>"" then
curpage=cint(request.querystring("page"))
else
curpage=1
end if
%>
<table width="647" border="0" cellspacing="1" cellpadding="0">
<tr>
<td height="22" bgcolor="#FFFFFF" align="center" valign="middle" width="641">用戶查看</td>
</tr>
<tr>
<td height="22" bgcolor="#f0f0f0" valign="middle" align="center" width="641">
<%
set rs=server.createobject("adodb.recordset")
sql="select * from user order by id desc"
rs.open sql,conn,1,1
if rs.eof or bof then
response.write"目前沒有任何用戶"
else
rs.pagesize=pagesize
numpages=rs.pagecount
if curpage>numpages then
curpage=numpages
end if
rs.absolutepage=curpage
a=0
%>
<table border="0" cellspacing="1" cellpadding="0" width="641">
<tr align="center" valign="middle">
<td bgcolor="#FFFFFF" height="22" width="76">用戶名</td>
<td bgcolor="#FFFFFF" height="22" width="55">用戶等級</td>
<td bgcolor="#FFFFFF" height="22" width="53">登陸次數</td>
<td bgcolor="#FFFFFF" height="22" width="66">最后登陸</td>
<td bgcolor="#FFFFFF" height="22" width="53">觀看次數</td>
<td bgcolor="#FFFFFF" height="22" width="58">注冊時間</td>
<td bgcolor="#FFFFFF" height="22" width="56">激活時間</td>
<td bgcolor="#FFFFFF" height="22" width="60">到期時間</td>
<td bgcolor="#FFFFFF" height="22" width="39">刪除</td>
<td bgcolor="#FFFFFF" height="22" width="40">查封</td>
<td bgcolor="#FFFFFF" height="22" width="39">解禁</td>
<%
do while not rs.eof or bof
%>
</tr>
<tr align="center" valign="middle">
<td bgcolor="#FFFFFF" height="22" width="76">
<%
if rs("cf")=1 then
response.write"<font color=red><b>√</b></font>"
end if
%>
<a href=admin_user_lookperson.asp?id=<%=rs("id")%>><%=rs("username")%></a></td>
<td bgcolor="#FFFFFF" height="22" width="55"><%
userdj=rs("userdj")
if userdj=0 then
userdj="電影游客"
elseif userdj=1 then
userdj="普通會員"
elseif userdj=2 then
userdj="中級會員"
else
userdj="高級會員"
end if
response.write userdj
%></td>
<td bgcolor="#FFFFFF" height="22" width="53"><%=rs("allcs")%></td>
<td bgcolor="#FFFFFF" height="22" width="66"><%=rs("lasttime")%></td>
<td bgcolor="#FFFFFF" height="22" width="53"><%=rs("viewcs")%></td>
<td bgcolor="#FFFFFF" height="22" width="58"><%=rs("dateandtime")%></td>
<td bgcolor="#FFFFFF" height="22" width="56"><%=rs("starttime")%></td>
<td bgcolor="#FFFFFF" height="22" width="60"><%=rs("stoptime")%></td>
<td bgcolor="#FFFFFF" height="22" width="39"><a href=admin_user_del.asp?id=<%=rs("id")%>>刪除</a></td>
<td bgcolor="#FFFFFF" height="22" width="40"><a href=admin_user_cforjj.asp?id=<%=rs("id")%>&cforjj=1>查封</a></td>
<td bgcolor="#FFFFFF" height="22" width="39"><a href=admin_user_cforjj.asp?id=<%=rs("id")%>&cforjj=0>解禁</a></td>
</tr>
<%
rs.movenext
a=a+1
if a>pagesize then exit do
loop
end if
%>
<tr align="right" valign="middle">
<td bgcolor="#FFFFFF" height="22" colspan="11" width="635">
<%
response.write"目前共有("&rs.recordcount&")個用戶, "
response.write"共分為("&numpages&")頁,當前為第"&curpage&"頁 "
response.write"<a href=admin_user_look.asp?page=1>首頁</a> "
if curpage>1 then
response.write"<a href=admin_user_look.asp?page="&(curpage-1)&">上一頁</a> "
end if
if curpage<numpages then
response.write"<a href=admin_user_look.asp?page="&(curpage+1)&">下一頁</a> "
end if
response.write"<a href=admin_user_look.asp?page="&numpages&">尾頁</a> "
rs.close
set rs=nothing
%>
</td>
</tr>
</table>
<table width="638" border="0" cellspacing="1" cellpadding="0">
<tr align="center" valign="middle">
<td bgcolor="#FFFFFF" height="22" align="left" width="632">操作說明:</td>
</tr>
<tr align="center" valign="middle">
<td bgcolor="#FFFFFF" height="22" align="left" width="632">1、點用戶名可以查看,修改用戶的聯系資料。</td>
</tr>
<tr align="center" valign="middle">
<td bgcolor="#FFFFFF" height="22" align="left" width="632">2、被封的ID將無法登陸本站。</td>
</tr>
<tr align="center" valign="middle">
<td bgcolor="#FFFFFF" height="22" align="left" width="632">3、被封的ID前面帶有“<font color="#FF0000">√</font>”。</td>
</tr>
</table>
</td>
</tr>
</table>
</center>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -