📄 xfjl.asp
字号:
<%content=rs("title")
if len(content)>8 then content=left(content,8)&"…"
response.write content
%></a></td>
<%end if%>
<%row_count=row_count+1
if b>=1 then exit do
rs.movenext
loop
rs.close
set rs=nothing
%> </tr>
</TBODY></TABLE></TD></TR>
<TR>
<TD align=middle><IMG height=50 src="../images/service-003.gif"
width=156></TD></TR>
<TR>
<TD align=middle background=../images/service-002.gif>
<TABLE width="100%" border=0>
<TBODY>
<tr>
<TD align=middle><a ><STRONG><FONT
color=#3c5b17><< 在线支付</FONT></a></STRONG></TD>
</tr>
<tr>
<TD align=middle><A
href="sj.asp"><STRONG><FONT
color=#3c5b17><< 手机支付</FONT></STRONG></A></TD>
</tr>
<tr>
<TD align=middle><A
href="168.asp"><STRONG><FONT
color=#3c5b17><<
声讯支付</FONT></STRONG></A></TD>
</tr>
</TBODY></TABLE><IMG height=19
src="../images/service-005.gif" width=156></TD></TR>
<TR>
<TD align=middle bgColor=#c3ef26 height=10><IMG height=1
src="../images/spacer.gif"
width=1></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
<!--#include file="end.asp"-->
</BODY></HTML>
<%
response.end
else
totalPut=rs.recordcount
if currentpage<1 then
currentpage=1
end if
if (currentpage-1)*MaxPerPage>totalput then
if (totalPut mod MaxPerPage)=0 then
currentpage= totalPut \ MaxPerPage
else
currentpage= totalPut \ MaxPerPage + 1
end if
end if
if currentPage=1 then
showContent
showpage totalput,MaxPerPage,"xfjl.asp"
else
if (currentPage-1)*MaxPerPage<totalPut then
rs.move (currentPage-1)*MaxPerPage
dim bookmark
bookmark=rs.bookmark
showContent
showpage totalput,MaxPerPage,"xfjl.asp"
else
currentPage=1
showContent
showpage totalput,MaxPerPage,"xfjl.asp"
end if
end if
end if
sub showContent
dim i
i=0
%>
<tr valign="top">
<td align="center" background="../images/fufeibg.gif">
<center>
</p>
<P> </P>
<TABLE width=562 border=0 align="center" cellPadding=0 cellSpacing=0>
<TR>
<TD width=550 <%set rstime=conn.execute("select * from [home]")%>
height=51 align="center" background=../images/xfjltop.gif> 用户:<font color="red"><%=request.cookies("userid")%></font>(系统会自动删除<font color="red"><%=rstime("looklogtime")%></font>天以前记录)</TD>
<%rstime.close
set rstime=nothing%>
</TR>
<TR>
<TD align=center background=../images/fufeiconbg.gif>
<table width="552" border="0" align="center" cellspacing="1" bgcolor="#999999">
<tr bgcolor="#FFFFFF">
<td width="241" align="center">影片名称</td>
<td width="45" align="center">操作</td>
<td width="150" align="center">播放或下载时间</td>
<td width="103" align="center">播放者IP</td>
</tr>
<%do while not rs.eof%>
<tr bgcolor="#FFFFFF">
<td width="241"><%=rs("title")%></td>
<td align="center" width="45"><%=rs("lookordown")%></td>
<td align="center" width="150"><%=rs("looktime")%></td>
<td align="center" width="103"><%=rs("userip")%></td>
</tr>
<% i=i+1
if i>=MaxPerPage then exit do
rs.movenext
loop
%>
</table></TD>
</TR>
<TR>
<TD height="6" bgcolor="#94C50A">
<p align="center"><img src="../images/spacer.gif" width="1" height="1"></TD>
</TR>
</TABLE>
<table width="550" border="0" align="center" cellpadding="0" cellspacing="0">
<div align="center">
<%
end sub
function showpage(totalnumber,maxperpage,filename)
dim n
if totalnumber mod maxperpage=0 then
n= totalnumber \ maxperpage
else
n= totalnumber \ maxperpage+1
end if
response.write "<form method=Post action="&filename&"?typeid="&typeid&">"
if CurrentPage<2 then
response.write "首页 上一页</font> "
else
response.write "<a href="&filename&"?page=1&typeid="&typeid&">首页</a> "
response.write "<a href="&filename&"?page="&CurrentPage-1&"&typeid="&typeid&">上一页</a> "
end if
if n-currentpage<1 then
response.write "下一页 尾页</font>"
else
response.write "<a href="&filename&"?page="&(CurrentPage+1)&"&typeid="&typeid&">"
response.write "下一页</a> <a href="&filename&"?page="&n&"&typeid="&typeid&">尾页</a>"
end if
response.write " 页次:</font><strong><font color=red>"&CurrentPage&"</font>/"&n&"</strong>页</font> "
response.write " 共<b>"&totalnumber&"</b>个纪录 <b>"&maxperpage&"</b>个纪录/页</font> "
response.write " 转到:</font><input type='text' name='page' size=4 maxlength=10 class=smallInput value="¤tpage&" style='font-size:9pt;background-color:#f7f7f7;border-left: 1px solid rgb(192,192,192); border-right: 1px solid rgb(192,192,192); border-top: 1px solid rgb(192,192,192); border-bottom: 1px solid rgb(192,192,192)'>"
response.write " <input class=buttonface type='image' src='../images/search.gif' width='24' height='15' name='cndok'></span></p></form>"
end function
%> </center>
</td>
</tr>
</form>
</table>
</td>
<td width="156" bgcolor="#C3EF26">
<table width="156" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td align="center"><img src="../images/service-001.gif" width="156" height="25"></td>
</tr>
<tr>
<td align="center" background="../images/service-002.gif"><table width="80%" border="0">
<tr>
<%
sql="select articleid,domurl,title,content from learning where firstbest=1 order by articleid desc"
set rs=server.createobject("adodb.recordset")
rs.open sql,conn,1,1
b=0
row_count=1
%> <%
do while not rs.eof
b=b+1%>
<td align="center"><span lang="zh-cn">
<a href="../html/<%=rs("articleid")%>.html" target="_blank">
<img border="0" height="131" src="<%if rs("domurl")="" then%>../images/nopic.gif<%else%><%=rs("domurl")%><%end if%>" width="111"></a></span></td>
</tr>
<tr>
<% if row_count mod 1 =0 then%>
<td align="center">
</td>
</tr>
<tr>
<td align="center"><a href="../html/<%=rs("articleid")%>.html" target="_blank">
<%content=rs("title")
if len(content)>8 then content=left(content,8)&"…"
response.write content
%></a></td>
<%end if%>
<%row_count=row_count+1
if b>=1 then exit do
rs.movenext
loop
rs.close
set rs=nothing
%>
</tr>
</table>
</td>
</tr>
<tr>
<td align="center"><img src="../images/service-003.gif" width="156" height="50"></td>
</tr>
<tr>
<td align="center" background="../images/service-002.gif"><table width="100%" border="0">
<tr>
<TD align=middle><a ><STRONG><FONT
color=#3c5b17><< 在线支付</FONT></a></STRONG></TD>
</tr>
<tr>
<TD align=middle><A
href="sj.asp"><STRONG><FONT
color=#3c5b17><< 手机支付</FONT></STRONG></A></TD>
</tr>
<tr>
<TD align=middle><A
href="168.asp"><STRONG><FONT
color=#3c5b17><<
声讯支付</FONT></STRONG></A></TD>
</tr>
</TBODY></TABLE><IMG height=19
src="../images/service-005.gif" width=156></TD></TR>
<TR>
<TD align=middle bgColor=#c3ef26 height=10><IMG height=1
src="../images/spacer.gif"
width=1></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
<!--#include file="end.asp"--></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -