📄 special.asp
字号:
<!--#include file="film_conn.asp"-->
<%
on error resume next
sql="select * from special order by id desc"
set rs=server.createobject("adodb.recordset")
rs.open sql,conn,1,1
if rs.eof then
response.write "很抱歉,影星专辑正在制作中!"
response.end
end if
%>
<HTML><HEAD><TITLE><%=webname%> - 影星专辑</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<script>
//*****************************************************
function isnum()
{
if(event.keyCode==13 ) addGame(document.regist);
if(event.keyCode<48 || event.keyCode>57)
{
event.keyCode=0;
}
if(event.keyCode==13 ) addGame(document.regist);
}
</script>
</HEAD>
<BODY bgColor=#71757b leftMargin=0 topMargin=0 rightMargin=0 marginheight="0" marginwidth="0" botmargin="0">
<!--#include file="top.asp"-->
<TABLE cellSpacing=0 cellPadding=0 width=778 align=center background=images/bg-content.gif border=0 valign="top">
<TBODY>
<TR>
<TD width=778 height=1>
<TABLE style="BORDER-COLLAPSE: collapse" borderColor=#111111 height=1
cellSpacing=0 cellPadding=0 width=778 align=left border=0 valign="top">
<TBODY>
<TR>
<TD width=13 height=1><IMG height=100 src="images/clear.gif"
width=13>
<TD width=753 height=1>
<TABLE style="BORDER-COLLAPSE: collapse" borderColor=#111111
height=1 cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD width=752 background=images/clear0.gif height=1>
<TABLE style="BORDER-COLLAPSE: collapse" borderColor=#111111
height="100%" cellSpacing=2 cellPadding=2 width="100%"
border=0>
<TBODY>
<TR>
<TD align=middle width="93%" valign="middle">
<iframe frameBorder="no" height="0" marginHeight="0" marginWidth="0" name="mq" scrolling="no" src="js/move.htm" width="0">
</iframe>
<iframe frameBorder="no" height="86" marginHeight="0" marginWidth="0" name="mq" scrolling="no" src="move.asp" width="100%">
</iframe></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD>
<TD width=12 height=1><IMG height=100 src="images/clear1.gif"
width=13> </TD></TR></TBODY></TABLE></TD></TR>
<TR>
<TD width=778 height=188>
<TABLE style="BORDER-COLLAPSE: collapse" borderColor=#111111 cellSpacing=0
cellPadding=0 width=778 border=0>
<TBODY>
<TR>
<TD width=15 height=151> </TD>
<TD vAlign=top width=194 height=151><!--#include file="left.asp"--></TD>
<TD vAlign=top width=4></TD>
<TD vAlign=top width=550 height=151>
<TABLE style="BORDER-COLLAPSE: collapse" borderColor=#111111
cellSpacing=5 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD vAlign=top width="100%" height=386>
<TABLE style="BORDER-COLLAPSE: collapse" borderColor=#111111
height=519 cellSpacing=0 cellPadding=0 width="91%" border=0>
<TBODY>
<TR>
<TD vAlign=top width="100%" height=39><!--#include file="query.asp"--></TD></TR>
<TR>
<TD width="100%" height=5></TD></TR>
<TR>
<TD width="100%" height=8>
<%
if request("page")<>"" then
curpage=cint(request("page"))
else
curpage=1
end if
num=8
rs.pagesize=num
rs.absolutepage=curpage
%>
<TABLE style="BORDER-COLLAPSE: collapse"
borderColor=#111111 height=1 cellSpacing=0 cellPadding=0
width="100%" border=0>
<TBODY>
<tr><FORM action=special.asp method=post>
<TD width="100%" height=30><DIV align=center>每页<font color=red><%=num%></font>部/共<font color=red><%=rs.recordcount%></font>部 第<font color=red><%=curpage%></font>页/共<font color=red><%=rs.pagecount%></font>页
<%if curpage<=1 then%>首页 上页
<%else%><a href="special.asp?page=1">首页</a> <a href="special.asp?page=<%=(curpage-1)%>">上页</a>
<%end if%>
<%if curpage>=rs.pagecount then%>下页 尾页
<%else%><a href="special.asp?page=<%=(curpage+1)%>">下页</a> <a href="special.asp?page=<%=rs.pagecount%>">尾页</a>
<%end if%> 转至 <INPUT
style="BORDER-RIGHT: #000000 1px solid; BORDER-TOP: #000000 1px solid; BORDER-LEFT: #000000 1px solid; COLOR: #000000; BORDER-BOTTOM: #000000 1px solid; BACKGROUND-COLOR: #ffffff"
size=2 onkeypress="isnum()" maxlength="3" name=page> 页 <input type=hidden name=typeid value=<%=typeid%>><input type="image" src="icon/go.gif"></DIV></TD></form>
</tr>
</TBODY></TABLE></TD></TR>
<TR>
<TD width="100%" height=5></TD></TR>
<TR>
<TD width="100%" height=3><IMG height=21
src="images/b.gif" width=538 border=0></TD></TR>
<TR>
<TD width="100%" background=images/b01.gif height=738>
<div align="center">
<center>
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="99%" id="AutoNumber1">
<tr>
<TD vAlign=top width="100%" background=images/b01.gif
height=738>
<%
i=0
do while not rs.eof
%>
<TABLE style="BORDER-COLLAPSE: collapse"
borderColor=#e3e3e3 height=75 cellSpacing=0
borderColorDark=#d6d6d6 cellPadding=0 width="99%"
align=center borderColorLight=#e3e3e3 border=1>
<TBODY>
<TR bgColor=#666666>
<TD colSpan=2 height=21>
<TABLE cellSpacing=0 cellPadding=0 width="100%"
border=0>
<TBODY>
<TR>
<TD
style="BORDER-TOP: #ffffff 1px solid; BORDER-BOTTOM: #ffffff 1px solid"
width="97%" bgColor=#dddddd height=21><B><FONT
color=#ffffff><A
href="special_view.asp?id=<%=rs("id")%>" target="_blank"><FONT
color=#666666><%=rs("special")%></FONT></A></FONT> <FONT
color=#666666> </FONT></B></TD>
</TR></TBODY></TABLE></TD></TR>
<TR>
<TD align=middle width=124 bgColor=#ffffff height=53
rowSpan=9>
<TABLE cellSpacing=1 cellPadding=0 width="50%"
align=center bgColor=#000000 border=0>
<TBODY>
<TR>
<TD><A
href="special_view.asp?id=<%=rs("id")%>" target="_blank">
<IMG
height=134 src="<%if rs("pic")="" then%>IMAGES/nopic.gif<%else%><%=rs("pic")%><%end if%>"
width=110
border=0></A></TD></TR></TBODY></TABLE></TD></TR>
<TR>
<TD style="BORDER-TOP: #ffffff 1px solid"
align=middle bgColor=#ffffff height=9>
<P align=left><FONT
color=#f79400> 专辑人物:</FONT><FONT
color=#008bce><%=rs("name")%></FONT></P></TD></TR>
<tr>
<TD style="BORDER-TOP: #ffffff 1px solid"
align=middle bgColor=#ffffff height=17>
<p align="left"><FONT
color=#f79400> 观看次数:</FONT><FONT
color=#008bce><%=rs("hits")%></FONT></P></TD>
</tr>
<TR>
<TD align=middle bgColor=#ffffff height=61>
<P align=left><FONT
color=#ff9900> 专辑简介:</FONT> <A
href="special_view.asp?id=<%=rs("id")%>" target="_blank"><FONT
color=#666666><%
content=rs("special_intro")
if len(content)>180 then content=left(content,180)&"……"
content=replace(content,"<p>","")
response.write content%></FONT></FONT></A>
</P></TD></TR>
</TBODY></TABLE>
<% i=i+1
if i>=Num then exit do
rs.movenext
loop
%>
</TD>
</tr>
</table>
</center>
</div>
</TD></TR>
<TR>
<TD width="100%" height=1><IMG height=5
src="images/b02.gif" width=538 border=0></TD></TR></TBODY></TABLE></TD></TR>
<TR><FORM action=special.asp method=post>
<TD vAlign=top width="100%" height=30><DIV align=center>每页<font color=red><%=num%></font>部/共<font color=red><%=rs.recordcount%></font>部 第<font color=red><%=curpage%></font>页/共<font color=red><%=rs.pagecount%></font>页
<%if curpage<=1 then%>首页 上页
<%else%><a href="special.asp?page=1">首页</a> <a href="special.asp?page=<%=(curpage-1)%>">上页</a>
<%end if%>
<%if curpage>=rs.pagecount then%>下页 尾页
<%else%><a href="special.asp?page=<%=(curpage+1)%>">下页</a> <a href="special.asp?page=<%=rs.pagecount%>">尾页</a>
<%end if%>转至 <INPUT
style="BORDER-RIGHT: #000000 1px solid; BORDER-TOP: #000000 1px solid; BORDER-LEFT: #000000 1px solid; COLOR: #000000; BORDER-BOTTOM: #000000 1px solid; BACKGROUND-COLOR: #ffffff"
size=2 onkeypress="isnum()" maxlength="3" name=page> 页 <input type=hidden name=typeid value=<%=typeid%>><input type="image" src="icon/go.gif"></DIV></TD></form></TR></TBODY></TABLE></TD>
<TD width=15 height=151> </TD></TR></TBODY></TABLE></TD></TR>
</TBODY></TABLE>
<!--#include file="bottom.asp"--></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -