<!--#include file="top.asp"-->
<%
 classid=request("classid")
 if classid="" then
 response.redirect "index.asp"
 end if
%>
<SCRIPT language=JavaScript>
<!--
function checkinput()
{
	if (document.search.keyword.value=="")
	 {	
		alert("请输入想查询的内容！");
		document.search.keyword.focus();
		return false;
	 }
	 return true;
}
-->
</SCRIPT>

<head>
<STYLE>TD {
	FONT-SIZE: 9pt; FONT-FAMILY: 宋体
}
.li5 {
	COLOR: #de0000; LINE-HEIGHT: 17px
}
.li2 {
	MARGIN-LEFT: 3px; COLOR: #999999; LINE-HEIGHT: 18px
}
.diana {
	FONT-SIZE: 5px
}
.li1 {
	MARGIN-LEFT: 3px; COLOR: #ffcf5a; LINE-HEIGHT: 18px
}
.li3 {
	MARGIN-LEFT: 3px; LINE-HEIGHT: 20px
}
.li4 {
	LINE-HEIGHT: 21px
}
.li1f {
	COLOR: #00007b; TEXT-DECORATION: underline
}
.li1f:hover {
	COLOR: red
}
A {
	TEXT-DECORATION: none
}
A:hover {
	TEXT-DECORATION: underline
}
INPUT {
	FONT-SIZE: 9pt; FONT-FAMILY: 宋体
}
TEXTAREA {
	FONT-SIZE: 9pt; FONT-FAMILY: 宋体
}
</STYLE>
<title></title>
</head>

<body topmargin="0" leftmargin="0">

<TABLE cellSpacing=0 borderColorDark=#ffffff cellPadding=1 width=769 
align=center bgColor=#e7eff7 borderColorLight=#3972b4 border=1>
<TBODY>
<script src=images/Js.js></script>
<form name="form" onsubmit="javascript:return lbsong();" target="lbsong" action="list.asp">
<TR align=middle>
<TD width=97 bgcolor="#74B9DE">电影名称</TD>
<TD width=47 bgcolor="#74B9DE">
<p align="center">类别</p>
</TD>
<TD width=59 bgcolor="#74B9DE">
<p align="center">日期</p>
</TD>
<TD width=98 bgcolor="#74B9DE">电影名称</TD>
<TD width=44 bgcolor="#74B9DE">
<p align="center">类别</p>
</TD>
<TD width=61 bgcolor="#74B9DE">
<p align="center">日期</p>
</TD>
<TD width=99 bgcolor="#74B9DE">电影名称</TD>
<TD width=44 bgcolor="#74B9DE">
<p align="center">类别</p>
</TD>
<TD width=60 bgcolor="#74B9DE">
<p align="center">日期</p>
</TD></TR>
<TR align=middle>
<%
classid=request("classid")
if classid = "" then
sql = "select * from movie order by date desc"
else
sql = "select * from movie where category='"&classid&"' order by hits desc"
end if
Set rs= Server.CreateObject("ADODB.Recordset")
rs.open sql,conn,1,1
if rs.eof and rs.bof then
 response.write "<p align='center'>没有任何电影</p>"
else
rs.pagesize = "99"
if page = "" or page < "1" then
page = "1"
end if
if rs.pagecount > "0" then
rs.absolutepage = page
end if
do while not rs.eof
i=i+1
if i > rs.pagesize then
exit do
end if
%>
<TD width=97><a href="#" title="http://www.jqdy.com " onClick="window.open('list.asp?id=<%=rs("id")%>','Lcmusic','scrollbars=no,resizable=no,width=383,height=286,menubar=no,top=168,left=168')" ><%=rs("Name")%></a></TD>
<TD width=47>
<p><%=rs("category")%></p>
</TD>
<TD width=59><%=rs("date")%></TD>
<% if i mod 3 =0 then%>
<TR align=middle>
<%
end if
if i>=99 then exit do
rs.movenext
loop
end if
rs.close
set rs=nothing

%>
</TR>
<TR>
<TD width="769" align=center bgColor=#e7eff7 colSpan=12>
　</TD></form></TR>
</TBODY></TABLE>
<div align="center">
  <center>
  <table border="0" cellpadding="0" cellspacing="0" width="65" height="6">
    <tr>
      <td width="65" height="6">
        <p align="center"><!--#include file="down.asp"--></td>
    </tr>
  </table>
  </center>
</div>
