?? adminlog.asp
字號(hào):
<!--#include file="conn.asp"-->
<!--#include file="xshjyy.asp"-->
<%'---------程序編寫說明-------%>
<%'本程序由junping96編寫
'程序名稱:新世紀(jì)影院VOD播放系統(tǒng)(商業(yè)版)
'FileName: Adminlog.asp
'EditDate:2003-12-07
'Editer:junping96
'Email:junping96@163.com
'QQ: 249112913 249114058
'請(qǐng)尊重本人勞動(dòng),禁止修改版權(quán),有任何問題請(qǐng)和我聯(lián)系。
%>
<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="”新世紀(jì)影院VOD影視播放程序出售”">
<meta name="”description”" content="”新世紀(jì)影院VOD影視(商業(yè)版)出售”">
<title>新世紀(jì)影院</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 '每頁顯示的數(shù)據(jù)條數(shù).
if request.querystring("page")<>"" then
curpage=cint(request.querystring("page"))
else
curpage=1
end if
%>
<table width="581" border="0" cellspacing="1" cellpadding="0">
<tr>
<td height="22" bgcolor="#FFFFFF" align="center" valign="middle">新世紀(jì)影院后臺(tái)日志查看</td>
</tr>
<tr>
<td height="22" bgcolor="#FFFFFF" align="center" valign="middle">該日志內(nèi)容無法從后臺(tái)清除,請(qǐng)及時(shí)打開數(shù)據(jù)庫清理,以節(jié)省系統(tǒng)資源</td>
</tr>
<tr>
<td height="22" bgcolor="#f0f0f0" valign="middle" align="center">
<%
set rs=server.createobject("adodb.recordset")
sql="select * from adminlog order by id desc"
rs.open sql,conn,1,1
if rs.eof or bof then
response.write"目前沒有任何后臺(tái)日志"
else
rs.pagesize=pagesize
numpages=rs.pagecount
if curpage>numpages then
curpage=numpages
end if
rs.absolutepage=curpage
a=1
%>
<table width="573" border="0" cellspacing="1" cellpadding="0">
<tr align="center" valign="middle">
<td bgcolor="#FFFFFF" height="22" width="114">使用管理員</td>
<td bgcolor="#FFFFFF" height="22" width="169">登陸時(shí)間</td>
<td bgcolor="#FFFFFF" height="22" width="116">使用密碼</td>
<td bgcolor="#FFFFFF" height="22" width="169">登陸IP</td>
<%
do while not rs.eof or bof
%>
</tr>
<tr align="center" valign="middle">
<td bgcolor="#FFFFFF" height="22" width="114"><%=rs("loginname")%></td>
<td bgcolor="#FFFFFF" height="22"><%=rs("logintime")%></td>
<td bgcolor="#FFFFFF" height="22"><%=rs("loginpassword")%></td>
<td bgcolor="#FFFFFF" height="22" width="169"><%=rs("loginip")%></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="4">
<%
response.write"目前共有("&rs.recordcount&")個(gè)記錄, "
response.write"共分為("&numpages&")頁,當(dāng)前為第"&curpage&"頁 "
response.write"<a href=adminlog.asp?page=1>首頁</a> "
if curpage>1 then
response.write"<a href=adminlog.asp?page="&(curpage-1)&">上一頁</a> "
end if
if curpage<numpages then
response.write"<a href=adminlog.asp?page="&(curpage+1)&">下一頁</a> "
end if
response.write"<a href=adminlog.asp?page="&numpages&">尾頁</a> "
rs.close
set rs=nothing
%>
</td>
</tr>
</table>
</td>
</tr>
</table>
</center>
</body>
</html>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -