<!--#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: 宋体
}

 BODY {
	FONT-SIZE: 9pt; LINE-HEIGHT: 135%
}
TD {
	FONT-SIZE: 9pt; LINE-HEIGHT: 135%
}
A:visited {
	COLOR: #3970fc; TEXT-DECORATION: none
}
A:hover {
	COLOR: #663399; TEXT-DECORATION: underline
}
A:link {
	COLOR: #3970fc; TEXT-DECORATION: none
}
A.top:visited {
	COLOR: #000000; TEXT-DECORATION: none
}
A.top:hover {
	COLOR: #663399; TEXT-DECORATION: underline
}
A.top:link {
	COLOR: #000000; TEXT-DECORATION: none
}
A.btm:visited {
	COLOR: #000000; TEXT-DECORATION: underline
}
A.btm:hover {
	TEXT-DECORATION: none
}
A.btm:link {
	COLOR: #000000; TEXT-DECORATION: underline
}
.tableBorder2 {
	BORDER-RIGHT: #b48ed9 1px solid; BORDER-TOP: #b48ed9 1px solid; BORDER-LEFT: #b48ed9 1px solid; WIDTH: 758px; BORDER-BOTTOM: #b48ed9 1px solid; BACKGROUND-COLOR: #e9def3
}
.f1 {
	BORDER-RIGHT: #254b03 1px solid; BORDER-TOP: #254b03 1px solid; BORDER-LEFT: #254b03 1px solid; WIDTH: 80px; BORDER-BOTTOM: #254b03 1px solid; HEIGHT: 16px; BACKGROUND-COLOR: #ffffff
}
.f3 {
	BORDER-RIGHT: 1px solid; BORDER-TOP: 1px solid; FONT-SIZE: 9pt; BORDER-LEFT: 1px solid; BORDER-BOTTOM: 1px solid; HEIGHT: 16px; BACKGROUND-COLOR: #ffcc00
}
</STYLE>
<title>
</title>
</head>
<body topmargin="0" leftmargin="0"> 
<TABLE cellSpacing=0 borderColorDark=#ffffff cellPadding=1  width=769 
align=center bgColor=#f7efff borderColorLight=#8441bd border=1>
  <TBODY>
  <form name="form" onsubmit="javascript:return lbsong();" target="lbsong" action="list.asp">
    <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 = "600"
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
%>
      <% if i mod 2 =0 then%>
      <TD align="left"> <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')" > 
        <%=left(rs("Name"),12)%></a> </TD>
      <%else%>
      <TD align="left" bgcolor="#efdff7"> <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')" > 
        <%=left(rs("Name"),12)%></a> </TD>
      <%end if%>
      <% if i mod 5 =0 then%>
    <TR align=middle> 
      <%
end if
if i>=600 then exit do
rs.movenext
loop
end if
rs.close
set rs=nothing
 
%>
    </TR>
    <TR bgcolor="#f7efff"> 
      <TD width="769" align=center colSpan=9> 　</TD>
  </form>
</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>
