📄 eslog.asp
字号:
<!--#include file="top.asp"-->
<%usertopview%>
<%
id=session("es_id")
%>
<table cellSpacing="0" cellPadding="0" width="760" height="100%" border="0" bgcolor="#ffffff">
<tr>
<td width="160" valign=top bgcolor=#efefef>
<!--==============-->
<!--#include file="left.asp"-->
<!--==============-->
</td>
<td width="600" align="left" valign=top>
<!--==============-->
<table width="500" border="0" cellspacing="0" cellpadding="0" align="center">
<tr><td height=25>您现在的位置是:管理中心 > 操作日志</td></tr>
<tr>
<td>
<!--####################################-->
</td>
</tr>
</table>
<table width="90%" style="border:1px #cccccc solid;">
<tr>
<td>
<div align="left">
<table width="424" cellpadding="0" cellspacing="0" bordercolorlight="#CCCCCC" bordercolordark="#FFFFFF">
<form name="from1" method="post" action="eslog.asp?word=<%=request("word")%>">
<tr align=center bgcolor=#efefef height=25>
<%
sql="select * from es_smslog where es_id="&session("id")&" order by es_date desc"
set rs=server.createobject("adodb.recordset")
rs.open sql,conn,1,1
if rs.eof and rs.bof then
response.write "暂无内容"
else
'分页的实现
listnum=30
Rs.pagesize=listnum
page=Request("page")
if (page-Rs.pagecount) > 0 then
page=Rs.pagecount
elseif page = "" or page < 1 then
page = 1
end if
Rs.absolutepage=page
'编号的实现
j=rs.recordcount
j=j-(page-1)*listnum
i=0
nn=request("page")
if nn="" then
n=0
else
nn=nn-1
n=listnum*nn
end if%>
<td width="40" height=25>编号</td>
<td width="138" height="25">时间</td>
<td width="130" height="25">IP</td>
<td width="116" height="25">
<p align="left">状态</td>
</tr>
<%do while not rs.eof and i<listnum
n=n+1
page=request("page")
if page="" then page=1
%>
<tr align=center height=22>
<td><%=n%></td>
<td align="left"><%=rs("es_date")%></td>
<td align="left"><%=rs("es_ip")%></td>
<td align="left" width="116"><%if rs("es_lb")=0 then%><font color="#0000FF">用户注册</font><%elseif rs("es_lb")=1 then%>用户登陆<%elseif rs("es_lb")=2 then%><font color="#FF0000">用户改密</font><%elseif rs("es_lb")=3 then%><font color="#FF00FF">代理登陆</font><%elseif rs("es_lb")=4 then%><font color="#008000">代理改密</font><%end if%></td>
</tr>
<%rs.movenext
i=i+1
j=j-1
loop%>
<tr>
<%filename="eslog.asp?word="&request("word")&""%>
<td colspan=5 height=20 align=right bgcolor=#cccccc><%=Rs.recordcount%> 个记录 <%=listnum%> 个
记录/页 共 <%=Rs.pagecount%> 页
<% if page=1 then %>
<%else%>
<a href=<%=filename%>><strong>|<<</strong></a>
<a href=<%=filename%>&page=<%=page-1%>><strong><<</strong></a>
<a href=<%=filename%>&page=<%=page-1%>><b>[<%=page-1%>]</b></a>
<%end if%><% if Rs.pagecount=1 then %><%else%><b>[<%=page%>]</b><%end if%>
<% if Rs.pagecount-page <> 0 then %>
<a href=<%=filename%>&page=<%=page+1%>><b>[<%=page+1%>]</b></a>
<a href=<%=filename%>&page=<%=page+1%>><strong>>></strong></a>
<a href=<%=filename%>&page=<%=Rs.pagecount%>><strong>>>|</strong></a>
<%end if%> </td>
<%end if%></tr>
</form>
</table> </div>
</td>
</tr>
</table>
<!--==============-->
</td>
</tr>
</table>
<!--====== bottom ========-->
<!--====== bottom ========-->
<table width="100%" border="0" cellspacing="0" cellpadding="0" style="border:0px #cccccc solid;">
<tr>
<td width="30%" align="right" valign="middle"><img src="../images/index_04.gif" alt=""></td>
<td width="70%" align="left"><%=citybottom%></td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -