📄 film_sort.asp
字号:
<!--#include file="conn.asp" -->
<!--#include file="function.asp" -->
<%
showtitle
top
id=Rq("id")
urlstr="&id="&id&"&keyword="&Rq("keyword")&"&serachfs="&Rq("serachfs")&"&order="&Rq("order")&"&gra="&Rq("gra")&""
if id="" then id=0
%>
<script language=javascript src="../images/js.js"></script>
<table cellspacing=0 cellpadding=0 width="100%" border=0>
<tbody>
<tr>
<td valign="top" bgcolor="#FFFFFF">
<div align="center">
<table style="BORDER-RIGHT: #e6e6e6 5px solid; BORDER-LEFT: #e6e6e6 5px solid"
cellspacing=0 cellpadding=0 width=750 align=center border=0>
<tbody>
<tr>
<td>
<table cellspacing=0 cellpadding=0 width=739 border=0>
<tbody>
<tr>
<td height=6></td>
</tr>
</tbody>
</table>
<table cellspacing=0 cellpadding=0 width=739 align=center border=0>
<tbody>
<tr>
<td height=12>
<div align="left">
<table width="98%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td><b><font color="#FF0000"><img src="images/dot8.gif" width="14" height="14" align="absmiddle">
</font></b>位置: 首页 => <%=readtype(id)%></td>
<%if Rq("admin_act")<>"gethtml" then%>
<form name="form2" method="post" action="">
<td>
<div align="right">
<select name="order" onChange="javascript:submit()">
<option value="" selected>排序方式</option>
<option value="人气" <%if Rq("order")="人气" then Rw "selected"%>>人气</option>
<option value="加入时间" <%if Rq("order")="加入时间" then Rw "selected"%>>添加时间</option>
</select>
<select name="gra" onChange="javascript:submit()">
<option value="" selected>影片筛选</option>
<%
vip_name=split(vip_name,"|")
for i=0 to ubound(vip_name)
sel=""
if Rq("gra")<>"" then
if int(Rq("gra"))=int(i) then sel="selected"
end if
%>
<option value="<%=i%>" <%=sel%>><%=vip_name(i)%></option>
<%next%>
</select>
</div>
</td>
</form>
<%end if%>
</tr>
</table>
</div>
</td>
</tr>
</tbody>
</table>
<table cellspacing=0 cellpadding=0 width=50% align=center border=0>
<tbody>
<tr>
<td height=4></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<table cellspacing=0 cellpadding=0 width=750 align=center border=0>
<tbody>
<tr>
<td height=13><img height=13 src="images/end.gif"
width=750></td>
</tr>
</tbody>
</table>
</div>
<div align="center"> </div>
<table width="760" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td width="1"> </td>
<td width="263" valign="top">
<%if Rq("keyword")="" then%>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<table cellspacing=0 cellpadding=0 width=153 border=0>
<tbody>
<tr>
<td width=153 background=images/features.gif height=37>
<table cellspacing=0 cellpadding=0 width=153 border=0>
<tbody>
<tr>
<td class=ti-14 align=middle>
<div align="center"><font color="#FFFFFF"> 影片推荐</font></div>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<table cellspacing=0 cellpadding=0 width=153 border=0>
<tbody>
<tr>
<td bgcolor=#ff7200 height=200 valign="top">
<table cellspacing=0 cellpadding=0 width=153 border=0>
<tbody>
<tr>
<td background=images/righ_pic.gif height=102>
<table height=88 cellspacing=0 cellpadding=0 width=130
align=center border=0>
<tbody>
<tr>
<td>
<%
if id=0 then
set rs=conn.execute("select top 1 id,小图,影片名,推荐,推荐时间,显示 from 影片 where 显示='是' and 推荐='是' order by 推荐时间 desc")
else
set rs=conn.execute("select top 1 id,小图,影片名,推荐,推荐时间,显示 from 影片 where 显示='是' and 分类='"&id&"' and 推荐='是' order by 推荐时间 desc")
end if
if not rs.eof then
if site_runscript="asp" then
Rw "<a href=film_view.asp?id="&rs("id")&"><img src='../"&film_pic&"/"&rs("小图")&"' width=130 height=88 border=0 title="&rs("影片名")&"></a>"
else
Rw "<a href=film_view_"&md5(rs("id"),32)&".html><img src='../"&film_pic&"/"&rs("小图")&"' width=130 height=88 border=0 title="&rs("影片名")&"></a>"
end if
%></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<table cellspacing=0 cellpadding=0 width=153 border=0>
<tbody>
<tr>
<td bgcolor=#ff7200>
<table cellspacing=0 cellpadding=0 width=142 align=center
border=0>
<tbody>
<tr>
<td align=middle class=yellow valign="top">
<div align="center">
<%Rw left(rs("影片名"),10)
set rs=nothing
end if%>
</div>
</td>
</tr>
</tbody>
</table>
<table cellspacing=0 cellpadding=0 width=153 border=0>
<tbody>
<tr>
<td bgcolor=#ff7200>
<table cellspacing=0 cellpadding=0 width=142 align=center
border=0>
<tbody>
<%set rs=server.createobject("adodb.recordset")
if id=0 then
sql="SELECT ID,小图,分类,显示,推荐,影片名,推荐时间 FROM 影片 where 显示='是' and 推荐='是' order by 推荐时间 desc"
else
sql="SELECT ID,小图,分类,显示,推荐,影片名,推荐时间 FROM 影片 where 显示='是' and 分类='"&id&"' and 推荐='是' order by 推荐时间 desc"
end if
rs.Open sql,conn,1,1
if not rs.eof then
count=1
do while not rs.eof%>
<tr>
<td width=17><img height=13 src="images/dot1.gif"
width=13></td>
<td width=128>
<%if site_runscript="asp" then
Rw "<a href=film_view.asp?id="&rs("id")&" title="&rs("影片名")&" class=wh><font color=#FFFFFF>"&left(rs("影片名"),10)&"</font></a>"
else
Rw "<a href=film_view_"&md5(rs("id"),32)&".html title="&rs("影片名")&" class=wh><font color=#FFFFFF>"&left(rs("影片名"),10)&"</font></a>"
end if%>
</td>
</tr>
<tr>
<td colspan=2><img height=1 src="images/line4.gif"
width=142></td>
</tr>
<%if count>=5 then exit do
count=count+1
rs.movenext
loop
end if
rs.close%>
<tr> </tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<table cellspacing=0 cellpadding=0 width=142 align=center
border=0>
<tbody>
<tr>
<td
height=10></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<table cellspacing=0 cellpadding=0 width=153 border=0>
<tbody>
<tr>
<td height=4><img height=4 src="images/right_di.gif"
width=153></td>
</tr>
</tbody>
</table>
<table cellspacing=0 cellpadding=0 width=50% align=center border=0>
<tbody>
<tr>
<td height=15></td>
</tr>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -