mlist1.asp
上传用户:qyswxdl
上传日期:2013-06-01
资源大小:1373k
文件大小:27k
源码类别:

家庭/个人应用

开发平台:

ASP/ASPX

  1. <!--#include file=articleconn.asp-->
  2. <%
  3.    MaxPerPage=6
  4.    dim totalPut   
  5.    dim CurrentPage
  6.    dim TotalPages
  7.    dim i
  8.    dim ty
  9.    typeid=Replace(request("typeid"), "'", "''")
  10.     if not isempty(request("page")) then
  11.       currentPage=cint(request("page"))
  12.    else
  13.       currentPage=1
  14.    end if
  15.       dim rstype
  16.    dim typesql
  17.    dim types
  18.    if not isEmpty(Replace(request("typeid"), "'", "''")) then
  19. typeid=Replace(request("typeid"), "'", "''")
  20.    else
  21. typeid="所有影片"
  22.    end if
  23. %>
  24. <HTML><HEAD>
  25. <meta http-equiv="Content-Language" content="en-gb">
  26. <%set rs=conn.execute("select * from [home]")%>
  27. <TITLE>万众电影</TITLE>
  28. <META http-equiv=Content-Type content="text/html; charset=gb2312">
  29. <LINK href="../../vod/img/style.css" type=text/css rel=stylesheet>
  30. <META content="MSHTML 6.00.2800.1505" name=GENERATOR>
  31. <script language="JavaScript">
  32. <!--
  33. function checkinput()
  34. {
  35. if (document.search.keyword.value=="")
  36.  {
  37. alert("请输入想查询的内容!");
  38. document.search.keyword.focus();
  39. return false;
  40.  }
  41.  return true;
  42. }
  43. -->
  44. </script>
  45. <script language="javascript">kstatus();function kstatus(){self.status="<%=rs("Description")%>";setTimeout("kstatus()",0);}</script></HEAD>
  46. <BODY >
  47. <!--#include file=top.asp-->
  48. <TABLE cellSpacing=0 cellPadding=0 width=993 border=0>
  49. <TBODY>
  50. <TR>
  51. <TD bgColor=#7d7d7d height=1></TD></TR></TBODY></TABLE>
  52. <TABLE cellSpacing=0 cellPadding=0 width=993 border=0>
  53. <TBODY>
  54. <TR>
  55. <TD bgColor=#ffffff height=2></TD></TR></TBODY></TABLE>
  56. <TABLE cellSpacing=0 cellPadding=0 width=993 bgColor=#ffffff border=0>
  57. <TBODY>
  58. <TR>
  59. <TD vAlign=top align=middle>
  60. <TABLE cellSpacing=0 cellPadding=0 width=977 border=0>
  61. <TBODY>
  62. <TR>
  63. <TD background=../../vod/img/2.gif height=8></TD></TR></TBODY></TABLE>
  64. <TABLE cellSpacing=1 cellPadding=0 width=977 bgColor=#b7b7b7 border=0>
  65. <TBODY>
  66. <TR>
  67. <TD bgColor=#ffffff>
  68. <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
  69. <TBODY>
  70. <TR>
  71. <TD>
  72. <TABLE height=94 cellSpacing=0 cellPadding=1 width="100%" border=0>
  73. <TBODY>
  74. <TR>
  75. <TD align=right width=189>
  76. <IMG height=90 src="../../vod/img/channel_title_movie.gif" width=188></TD>
  77. <TD>
  78. <OBJECT codeBase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0 height=90 width=780 classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000>
  79. <PARAM NAME="movie" VALUE="../../vod/img/banner_780x90.swf">
  80. <PARAM NAME="quality" VALUE="High">
  81.  
  82. <embed src="../../vod/img/banner_780x90.swf" quality="High" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="780" height="90"></embed></OBJECT></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
  83. <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
  84. <TBODY>
  85. <TR>
  86. <TD background=../../vod/img/1.jpg height=12></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
  87. <TABLE cellSpacing=0 cellPadding=0 width=977 border=0>
  88. <TBODY>
  89. <TR>
  90. <TD height=2></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
  91. <TABLE cellSpacing=0 cellPadding=0 width=993 bgColor=#ffffff border=0>
  92. <TBODY>
  93. <TR>
  94. <TD vAlign=top align=middle height=173>
  95. <TABLE height=36 cellSpacing=0 cellPadding=0 width=977 border=0>
  96. <TBODY>
  97. <TR>
  98. <TD vAlign=top width=191 height=25>
  99. <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
  100. <TBODY>
  101. <TR>
  102. <TD><IMG height=26 src="../../vod/img/t1.jpg" width=191></TD></TR></TBODY></TABLE>
  103. <TABLE cellSpacing=0 cellPadding=10 width="100%" border=0>
  104. <TBODY>
  105. <TR>
  106. <TD class=white-2 bgColor=#939393>
  107.    <%set rs1=server.createobject("adodb.recordset")                                                                                     
  108. sql="select * from talk where id=id" 
  109. rs1.open sql,conn,1,3
  110. talk=rs1("talk")
  111. rs1.close
  112. set rs1=nothing
  113.    %>
  114. <%=talk%>
  115. </TD></TR></TBODY></TABLE>
  116. <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
  117. <TBODY>
  118. <TR>
  119. <TD><IMG height=28 src="../../vod/img/t2.jpg" width=191></TD></TR></TBODY></TABLE>
  120. <TABLE cellSpacing=0 cellPadding=10 width="100%" border=0>
  121. <TBODY>
  122. <TR>
  123. <TD class=white-1 align=middle bgColor=#939393>
  124. <table border="0" cellspacing="3" width="90%" id="table7">
  125. <tr>
  126. <td align="center" class=white-2><a href="/dljc.asp"> 大陆剧场</a></td>
  127. <td align="center" class=white-2><a href="/omjc.asp">  欧美剧场</a></td>
  128. </tr>
  129. <tr>
  130. <td align="center" class=white-2><a href="/gtjc.asp">  港台剧场</a></td>
  131. <td align="center" class=white-2><a href="/rhjc.asp">  日韩剧场</a></td>
  132. </tr>
  133. </table>
  134. </TD></TR></TBODY></TABLE>
  135. <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
  136. <TBODY>
  137. <TR>
  138. <TD><IMG src="../../vod/img/t6.jpg"></TD></TR></TBODY></TABLE>
  139. <TABLE cellSpacing=0 cellPadding=10 width="100%" border=0>
  140. <TBODY>
  141. <TR>
  142. <TD class=white-1 bgColor=#939393>            <%
  143.                          Set rst= Server.CreateObject("ADODB.Recordset")
  144.                           rst.open "select articleid,title,hits from learning order by hits desc",conn,1,1
  145.                           %>
  146.               <%
  147.                       i=0
  148.                       do while not rst.eof
  149.                       i=i+1
  150.                       %>
  151.               <table><tr>
  152.                 <td width="5%" align="center">
  153. <img border="0" src="../../vod/img/2dian.gif" width="10" height="9"></td>
  154.                 <td width="64%"><a href="movie.asp?id=<%=rst("articleid")%>" target="_blank" class="left">
  155.                   <%content=rst("title")
  156.                             if len(content)>8 then content=left(content,8)&"..."
  157.                           response.write content
  158.                             %>
  159.                 </a> </td>
  160.                 <td align="center" width="22%"><%=rst("hits")%></td>
  161.               </tr>
  162.               </table>
  163.               <% 
  164.                         if i>=10 then exit do
  165.                         rst.movenext
  166.                         loop
  167.                         rst.close
  168.                         set rst=nothing
  169.                         %></TD></TR></TBODY></TABLE>
  170. <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
  171. <TBODY><TR><TD><IMG height=28 src="../../vod/img/t3.jpg" width=191></TD></TR></TBODY></TABLE>
  172. <TABLE cellSpacing=0 cellPadding=10 width="100%" border=0>
  173. <TBODY><TR><TD class=white-1 bgColor=#939393><table width="159" border="0" cellspacing="0" cellpadding="0">
  174.     <tr>
  175.       <td width="45" align="right"><div align="right" class="style1">
  176. <font color="#FFFFFF">QQ:</font></div></td>
  177.       <td width="105"><font color="#FFFFFF"><span class="style1">283356686</span></font></td>
  178.     </tr>
  179.     <tr>
  180.       <td align="right"><font color="#FFFFFF"><span class="style1">E-mail:</span></font></td>
  181.       <td><a href="mailto:succkey@163.com" class="style1">succkey@163.com</a></td>
  182.     </tr>
  183.   </table></TD></TR></TBODY></TABLE>
  184. <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
  185. <TBODY><TR><TD><IMG height=28 src="../../vod/img/t4.jpg" width=191></TD></TR></TBODY></TABLE>
  186. <TABLE cellSpacing=0 cellPadding=10 width="100%" border=0>
  187. <TBODY>
  188. <TR>
  189. <TD valign="top" bgColor=#939393 class=white-1>
  190. <IMG height=9 
  191. hspace=5 src="../../vod/img/2dian.gif" width=10 align=absMiddle 
  192. vspace=8>
  193.  <a href="../../help/help1.asp"><font size="2"><span style="text-decoration: none">Rip播放软件的安装?</span></font></a><font size="2"><BR>
  194. <IMG 
  195. height=9 hspace=5 src="../../vod/img/2dian.gif" width=10 
  196. align=absMiddle vspace=8> 
  197. <A 
  198. href="../../help/help2.asp"><span style="text-decoration: none">字幕相关介绍?</span></A><BR>
  199. <IMG 
  200. height=9 hspace=5 src="../../vod/img/2dian.gif" width=10 
  201. align=absMiddle vspace=8>
  202. <A 
  203. href="../../help/help3.asp"><span style="text-decoration: none">VobSub字幕时间调整?</span></A><BR>
  204. <IMG 
  205. height=9 hspace=5 src="../../vod/img/2dian.gif" width=10 
  206. align=absMiddle vspace=8>
  207. <A 
  208. href="../../help/help4.asp"><span style="text-decoration: none">Rip常见问题和方法?</span></A><BR>
  209. <IMG 
  210. height=9 hspace=5 src="../../vod/img/2dian.gif" width=10 
  211. align=absMiddle vspace=8>
  212. <A 
  213. href="../../help/help5.asp"><span style="text-decoration: none">Rip播放和插件的设置?</span></A><BR>
  214. <IMG 
  215. height=9 hspace=5 src="../../vod/img/2dian.gif" width=10
  216. align=absMiddle vspace=8>
  217. </font>
  218. <A 
  219. href="../../help/help6.asp"><span style="text-decoration: none">
  220. <font size="2">Rip播放的名词术语?</font></span></A><BR>
  221.   </TD>
  222. </TR>
  223. </TBODY></TABLE>
  224. <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
  225. <TBODY><TR><TD><IMG height=28 src="../../vod/img/t3.jpg" width=191></TD></TR></TBODY></TABLE>
  226. <TABLE cellSpacing=0 cellPadding=5 width="100%" border=0>
  227. <TBODY>
  228. <TR>
  229. <TD class=white-2 bgColor=#939393 height=181 valign="top"><div align="center">你对本站的哪方面最满意</div>
  230.   <table width="120" border="0" align="center" cellpadding="0" cellspacing="0"> 
  231. <form action="../../yijian.asp" method="post" name="yijian">
  232.       <tr>
  233.         <td><input type="radio" name="manyi" value="playspeed"><font color="#FFFFFF"><span class="style1">电影的播放速度</span></font></td>
  234.       </tr>
  235.       <tr>
  236.         <td><input name="manyi" type="radio" value="updatespeed"><font color="#FFFFFF"><span class="style1">电影的更新速度</span></font></td>
  237.       </tr>
  238.       <tr>
  239.         <td><input name="manyi" type="radio" value="movies_amount">
  240.             <font color="#FFFFFF">
  241.             <span class="style1"> 电影的数量</span></font></td>
  242.       </tr>
  243.       <tr>
  244.         <td><div align="center">
  245.             <input type="submit" value="提 交">
  246.         </div></td>
  247.       </tr></form>
  248.  
  249.     </table> </TD></TR></TBODY></TABLE></TD>
  250. <TD width=2></TD>
  251. <TD width=1 bgColor=#c6c6c6></TD>
  252. <TD vAlign=top width=783>
  253. <TABLE cellSpacing=0 cellPadding=0 width=783 border=0>
  254. <TBODY>
  255. <TR>
  256. <TD><A href="/bfqxz/RealPlayer.exe">
  257. <IMG height=60 src="../../vod/img/dl_01.jpg" width=179 border=0></A></TD>
  258. <TD><A href="/bfqxz/Windows Media Player.exe">
  259. <IMG height=60 src="../../vod/img/dl_02.jpg" width=171 border=0></A></TD>
  260. <TD><A href="/bfqxz/ffdshow.exe">
  261. <IMG height=60 src="../../vod/img/dl_03.jpg" width=168 border=0></A></TD>
  262. <TD><A href="/bfqxz/ie6setup.exe">
  263. <IMG height=60 src="../../vod/img/dl_04.jpg" width=160 border=0></A></TD>
  264. <TD><A href="#"><IMG height=60 src="../../vod/img/dl_05.jpg" width=105 border=0></A></TD></TR></TBODY></TABLE>
  265. <TABLE height=40 cellSpacing=0 cellPadding=0 width="100%" background=../../vod/img/5.gif border=0>
  266. <TBODY>
  267. <TR vAlign=top>
  268. <TD width=116>
  269. <img border="0" src="../../vod/img/18.gif" width="116" height="32"></TD>
  270. <TD align=right><IMG height=31 src="../../vod/img/7.gif" width=83></TD></TR></TBODY></TABLE>
  271. <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0><TBODY><TR align=right>
  272. <TD>
  273. <TABLE height=240 cellSpacing=0 cellPadding=0 width="100%" border=0 id="table1"><TBODY>
  274. <TR align=right>
  275. <TD>
  276. <table width="126" border="0" cellpadding="0" cellspacing="0">
  277. <tr><%
  278. sql="select articleid,domurl,title,hits,content from learning where firstbest=1 order by articleid desc"
  279. set rs=server.createobject("adodb.recordset")
  280. rs.open sql,conn,1,1
  281. b=0
  282. row_count=1
  283.                     %> <%
  284.           do while not rs.eof
  285.           b=b+1%>
  286. <td><div align="center">
  287. <table width="126" border="0" cellspacing="0" cellpadding="0">
  288. <tr height="119" align="center">
  289. <td width="3"><!--Blank--></td>
  290. <td width="123" background="../../images/commend_pic.gif"><table border="1" width="100%" cellpadding="0" style="border-collapse: collapse" bordercolor="#939393" id="table5">
  291. <tr>
  292. <td><table border="0" cellspacing="4" width="100%" cellpadding="0" id="table5">
  293. <tr>
  294. <td><a href="movie.asp?id=<%=rs("articleid")%>" target="_blank">
  295. <img border="0" src="<%if rs("domurl")="" then%>img/w.gif<%else%><%=rs("domurl")%><%end if%>" width="137" height="191"></a></td>
  296. </tr>
  297. </table></td>
  298. </tr>
  299. </table></td>
  300. </tr>
  301. <tr height="21" align="middle">
  302. <td width="5"><img src height=1 width=9></td>
  303. <td background="../../vod/img/8.gif"><table border="0" cellspacing="0" width="90%" cellpadding="0">
  304. <tr>
  305. <td height="22" width=74 align="center">
  306. <% if row_count mod 1 =0 then%>
  307.                               <%content=rs("title")
  308.                             if len(content)>11 then content=left(content,11)&"?-"
  309.                           response.write content
  310.                             %> 
  311. </td>
  312. <td>
  313. <p align="center"><a href="movie.asp?id=<%=rs("articleid")%>" target="_blank">
  314. <img src="../../vod/img/sort_play.gif" width="60" height="18" border="0"></a></td>
  315. </tr>
  316. </table></td>
  317. </tr>
  318. </table>
  319. </div></td>
  320.   <%end if%>
  321.                   <%row_count=row_count+1
  322.       if b>=5 then exit do
  323.       rs.movenext
  324.       loop
  325.       rs.close
  326.           set rs=nothing
  327.               %>
  328. </tr>
  329. </table>
  330. </TD>
  331. </TR></TBODY></TABLE>
  332. </TD>
  333. </TR></TBODY></TABLE>
  334. <TABLE height=40 cellSpacing=0 cellPadding=0 width="100%" background=../../vod/img/5.gif border=0>
  335. <TBODY>
  336. <TR vAlign=top>
  337. <TD width=146>
  338. <img border="0" src="../../vod/img/11.gif" width="116" height="32"></TD>
  339. <TD align=right>
  340. <table border="0" cellspacing="0" width="100%" cellpadding="0" id="table6">
  341. <tr>
  342. <td height="9"><img src height=9 width=1></td>
  343. </tr>
  344. <tr>
  345. <td><!--webbot
  346. bot="HTMLMarkup" startspan --><font color="#000000"><b><span class="样式3" lang="zh-cn">本站共收录有电影:</span>
  347.                         <%        
  348. function gettipnum1()
  349. dim tmprs1
  350. tmprs1=conn.execute("Select Count(articleid) from learning")
  351. gettipnum1=tmprs1(0)
  352. set tmprs1=nothing
  353. if isnull(gettipnum1) then gettipnum1=0
  354. end function
  355.                                 %><font color="#FF0000"><%=gettipnum1()%></font><span class="样式3">部</span>&nbsp; <span class="样式3">今天更新:</span><span lang="zh-cn">
  356.                               <%
  357.                              function todays()
  358. dim tmprs
  359. tmprs=conn.execute("Select count(articleid) from learning Where year(dateandtime)=year(date()) and month(dateandtime)=month(date()) and day(dateandtime)=day(date())")
  360. todays=tmprs(0)
  361. set tmprs=nothing
  362. if isnull(todays) then todays=0
  363. end function%><font color="#FF0000"><%=todays()%></font></b><span class="样式3">部</span></span>
  364.                                   <!--webbot bot="HTMLMarkup" endspan i-checksum="62826" -->
  365. </td>
  366. </tr>
  367. </table>
  368. </TD>
  369. <TD align=right width="158"><IMG height=31 src="../../vod/img/7.gif" width=83></TD></TR></TBODY></TABLE>
  370. <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0><TBODY>
  371. <TR>
  372.     <TD vAlign=top align=middle width=8>
  373.       <table width="591" border="0" align="center" cellpadding="0" cellspacing="0">
  374.         <tr>
  375.           <td colspan="2"><%
  376. dim sql
  377. dim rs
  378. if typeid="所有影片" then
  379.     sql="select * from learning order by articleid desc"
  380. else
  381.    sql="select * from learning where typeid='"&typeid&"' order by articleid desc"
  382. end if   
  383. set rs=server.createobject("adodb.recordset")
  384. rs.open sql,conn,1,1
  385.  if rs.eof and rs.bof then
  386.        response.write "<script>alert('该类还没有任何影片,要想看的话请联系管理员!')</Script><script Language=Javascript>location.href = '';</script>"
  387.        response.end
  388.    else
  389.   totalPut=rs.recordcount
  390.       totalPut=rs.recordcount
  391.       if currentpage<1 then
  392.           currentpage=1
  393.       end if
  394.       if (currentpage-1)*MaxPerPage>totalput then
  395.    if (totalPut mod MaxPerPage)=0 then
  396.      currentpage= totalPut  MaxPerPage
  397.    else
  398.       currentpage= totalPut  MaxPerPage + 1
  399.    end if
  400.       end if
  401.        if currentPage=1 then
  402.            showpage totalput,MaxPerPage,"mlist.asp"
  403.             showContent
  404.             showpage totalput,MaxPerPage,"mlist.asp"
  405.        else
  406.           if (currentPage-1)*MaxPerPage<totalPut then
  407.             rs.move  (currentPage-1)*MaxPerPage
  408.             dim bookmark
  409.             bookmark=rs.bookmark
  410.            showpage totalput,MaxPerPage,"mlist.asp"
  411.             showContent
  412.             showpage totalput,MaxPerPage,"mlist.asp"
  413.         else
  414.         currentPage=1
  415.           showpage totalput,MaxPerPage,"mlist.asp"
  416.            showContent
  417.            showpage1 totalput,MaxPerPage,"mlist.asp"
  418.       end if
  419.    end if
  420.    end if
  421.    sub showContent
  422. 'Split("Sun,Mon,Tue,Wed,Thu,Fri,Sat",",")
  423. BgImg1 = "06,04,08,09"
  424. BgImg2 = "12,11,14,15"
  425.        dim i
  426.    i=0
  427.                     %>
  428.             <%i=0
  429.           do while not rs.eof
  430. If i mod 4 = 0 Then MyBgImg = BgImg1 Else MyBgImg = BgImg2
  431. MyBgImg = Split(MyBgImg,",")
  432. %></td>
  433.         </tr>
  434.         <tr>
  435.           <td valign="top">
  436.             
  437.             <table border="0" cellspacing="3" width="100%" cellpadding="0" id="table8">
  438. <tr>
  439. <td>
  440. <table width="385" height="100%" border="0" cellspacing="1" cellpadding="5" bgcolor="#DBDBDB">
  441.               <tr>
  442.                 <td bgcolor="#ffffff" width="110"><a target="_blank" title="影片名称:<%=rs("title")%>
  443. 主演:<%content=rs("name")
  444.                           if len(content)>20 then content=left(content,20)&"…"
  445.                           response.write content
  446.                             %>
  447. 上传时间:<%=rs("dateandtime")%>
  448. 观看次数:<%=rs("hits")%>次
  449. " href="movie.asp?id=<%=rs("articleid")%>"><img border="0" height="152" src="<%if rs("domurl")="" then%>img/w.gif<%else%><%=rs("domurl")%><%end if%>" width="110"></a></td>
  450.                 <td bgcolor="#ffffff" valign="top">
  451.                   <table width="100%" height="100%" border="0" cellspacing="0" cellpadding="2">
  452.                     <tr>
  453.                       <td align="center" bgcolor="#E9E9E9"><span class="style2"></span></td>
  454.                       <td align="center" bgcolor="#E9E9E9"><div align="left"><span class="style2"> <strong>
  455.                         <span class="3dfont2"><a target="_blank" title="影片名称:<%=rs("title")%>
  456. 主演:<%content=rs("name")
  457.                           if len(content)>8 then content=left(content,8)&"?-"
  458.                           response.write content
  459.                             %>
  460. 上传时间:<%=rs("dateandtime")%>
  461. 观看次数:<%=rs("hits")%>次
  462. " href="movie.asp?id=<%=rs("articleid")%>">
  463.                         <%content=rs("title")
  464.                           if len(content)>13 then content=left(content,13)&""
  465.                           response.write content
  466.                             %>
  467.                         </a></span>                      </strong></a></span></div></td>
  468.                     </tr>
  469.                     <tr>
  470.                       <td colspan="2">类别: <%=rs("typeid")%></td>
  471.                     </tr>
  472.                     <tr>
  473.                       <td colspan="2">主演: 
  474.                         <%content=rs("name")
  475.                           if len(content)>20 then content=left(content,10)&"…"
  476.                           response.write content
  477.                             %></td>
  478.                     </tr>
  479.                     <tr>
  480.                       <td colspan="2">级别:
  481.                         <% if rs("canlook")=1 then%>  
  482.  普通电影  
  483.                     <%elseif rs("canlook")=3 then%>
  484.                     黄金电影   
  485.                     <%elseif rs("canlook")=0 then%>
  486.                     免费电影  
  487.                     <%end if%></td>
  488.                     </tr>
  489.                     <tr>
  490.                       <td colspan="2">观看:<%=rs("hits")%>次</td>
  491.                     </tr>
  492.                     <tr>
  493.                       <td width="10%" align="center"> </td>
  494.                       <td width="90%" align="center"><div align="left">
  495. <table border="0" cellspacing="5" cellpadding="0" id="table9">
  496. <tr>
  497. <td><a href="movie.asp?id=<%=rs("articleid")%>" target="_blank">
  498. <img src="../../vod/img/sort_play.gif" border="0"></a></td>
  499. <td><a href="movie.asp?id=<%=rs("articleid")%>" target="_blank">
  500. <img src="../../vod/img/sort_down.gif" width="60" height="18" border="0"></a></td>
  501. <td>
  502. <img src="../../vod/img/sort_sou.gif" border="0"></td>
  503. </tr>
  504. </table>
  505. </div></td>
  506.                     </tr>
  507.                 </table></td>
  508.             </table></td>
  509. </tr>
  510. </table>
  511.             
  512.             <%rs.movenext%></td>
  513.           <td><% If not rs.eof Then %>
  514.               <table border="0" width="100%">
  515. <tr>
  516. <td>
  517. <table width="385" height="100%" border="0" cellspacing="1" cellpadding="5" bgcolor="#DBDBDB">
  518.                 <tr>
  519.                   <td bgcolor="#ffffff" width="110"><a target="_blank" title="影片名称:<%=rs("title")%>
  520. 主演:<%content=rs("name")
  521.                           if len(content)>20 then content=left(content,20)&"…"
  522.                           response.write content
  523.                             %>
  524. 上传时间:<%=rs("dateandtime")%>
  525. 观看次数:<%=rs("hits")%>次
  526. " href="movie.asp?id=<%=rs("articleid")%>"><img border="0" height="152" src="<%if rs("domurl")="" then%>img/w.gif<%else%><%=rs("domurl")%><%end if%>" width="110"></a></td>
  527.                   <td bgcolor="#ffffff" valign="top">
  528.                     <table width="100%" height="100%" border="0" cellspacing="0" cellpadding="2">
  529.                       <tr>
  530.                         <td align="center" bgcolor="#E9E9E9"><span class="style2"></span></td>
  531.                         <td align="center" bgcolor="#E9E9E9"><div align="left"><span class="style2"> <strong> <span class="3dfont2"></span></strong></a><strong><span class="3dfont2"><a target="_blank" title="影片名称:<%=rs("title")%>
  532. 主演:<%content=rs("name")
  533.                           if len(content)>8 then content=left(content,8)&"?-"
  534.                           response.write content
  535.                             %>
  536. 上传时间:<%=rs("dateandtime")%>
  537. 观看次数:<%=rs("hits")%>次
  538. " href="movie.asp?id=<%=rs("articleid")%>">
  539.                             <%content=rs("title")
  540.                           if len(content)>13 then content=left(content,13)&""
  541.                           response.write content
  542.                             %>
  543.                         </a></span> </strong></span></div></td>
  544.                       </tr>
  545.                       <tr>
  546.                         <td colspan="2">类别: <%=rs("typeid")%></td>
  547.                       </tr>
  548.                       <tr>
  549.                         <td colspan="2">主演:
  550.                             <%content=rs("name")
  551.                           if len(content)>20 then content=left(content,10)&"…"
  552.                           response.write content
  553.                             %></td>
  554.                       </tr>
  555.                       <tr>
  556.                         <td colspan="2">级别:
  557.                             <% if rs("canlook")=1 then%>
  558.             普通电影
  559.             <%elseif rs("canlook")=3 then%>
  560.             黄金电影
  561.             <%elseif rs("canlook")=0 then%>
  562.             免费电影
  563.             <%end if%></td>
  564.                       </tr>
  565.                       <tr>
  566.                         <td colspan="2">观看:<%=rs("hits")%>次</td>
  567.                       </tr>
  568.                       <tr>
  569.                         <td width="10%" align="center"> </td>
  570.                         <td width="90%" align="center"><div align="left"><div align="left">
  571. <table border="0" cellspacing="5" cellpadding="0" id="table10">
  572. <tr>
  573. <td><a href="movie.asp?id=<%=rs("articleid")%>" target="_blank">
  574. <img src="../../vod/img/sort_play.gif" border="0"></a></td>
  575. <td><a href="movie.asp?id=<%=rs("articleid")%>" target="_blank">
  576. <img src="../../vod/img/sort_down.gif" width="60" height="18" border="0"></a></td>
  577. <td>
  578. <img src="../../vod/img/sort_sou.gif" border="0"></td>
  579. </tr>
  580. </table>
  581. </div></div></td>
  582.                       </tr>
  583.                   </table></td>
  584.               </table></td>
  585. </tr>
  586. </table>
  587.               <%rs.movenext%>
  588.           </td>
  589.         </tr>
  590.         <tr>
  591.           <% End If %>
  592.         </tr>
  593.         <tr>
  594.           <td colspan="2">
  595.             <% i=i+2
  596.       if i>=MaxPerPage then exit do
  597.    loop
  598.               %>
  599.           </td>
  600.         </tr>
  601.       </table>
  602.       <%
  603. end sub 
  604. function showpage(totalnumber,maxperpage,filename)
  605. dim n
  606. if totalnumber mod maxperpage=0 then
  607. n= totalnumber  maxperpage
  608. else
  609. n= totalnumber  maxperpage+1
  610. end if
  611. %>
  612.       <table border="0" cellspacing="0" height="25" width="659" background="../../images/top-bg3.gif">
  613.         <form method=Post action="<%=filename%>?typeid=<%=typeid%>">
  614.           <tr>
  615.             <td height="25"> &nbsp;&nbsp;
  616.             <font color="000000" class="fontshadow">〓 <%=typeid%> 〓 &nbsp;&nbsp;共有<font color="ff0000"><b><%=totalnumber%></b></font>部&nbsp;&nbsp;&nbsp;当前:第<font color="ff0000"><strong><%=CurrentPage%></strong></font>页/共<font color="ff0000"><strong><%=n%></strong></font>页
  617.             <td><div align="right">
  618.                 <%if CurrentPage<2 then%>
  619.                 <font color="888888">首页&nbsp;上一页&nbsp;&nbsp;&nbsp;
  620.                 <%else%>
  621.                 <a class=left href="<%=filename%>?typeid=<%=typeid%>&page=1&"><font color="000000">首页</font></a><font color="000000">&nbsp; <a class=left href="<%=filename%>?typeid=<%=typeid%>&page=<%=CurrentPage-1%>"><font color="000000">上一页</font></a><font color="000000">&nbsp;&nbsp;&nbsp;
  622.                 <%
  623. end if
  624. if n-currentpage<1 then
  625. %>
  626.                 <font color="888888">下一页&nbsp;尾页&nbsp;&nbsp;&nbsp;
  627.                 <%else%>
  628.                 <a class=left href="<%=filename%>?typeid=<%=typeid%>&page=<%=(CurrentPage+1)%>"><font color="000000">下一页</font></a><font color="000000">&nbsp; <a class=left href="<%=filename%>?typeid=<%=typeid%>&page=<%=n%>"><font color="000000">尾页</font></a><font color="000000">&nbsp;
  629.                 <%end if%>
  630.               </font></font></font></font></font></font></div>
  631.             <font color="888888"><font color="000000"><font color="000000"><font color="888888"><font color="000000"><font color="000000">
  632.             <td align="center"><select name="page" style="color:#000000;font-size: 9pt" onchange="javascript:submit()">
  633.                 <%for i = 1 to n%>
  634.                 <option value="<%=i%>" <%if cint(CurrentPage)=cint(i) then%> selected <%end if%>>第<%=i%>页</option>
  635.                 <%next%>
  636.             </select></td>
  637.           </font></font></font></font></font></font></font></tr>
  638.         </form>
  639.       </table>
  640.       <% 
  641. end function
  642. %>
  643.       <%
  644. sub gotopage
  645. end sub
  646. %>
  647. </TABLE>
  648. </td>
  649. </tr>
  650. </table>
  651. </td>
  652. </TR></TBODY></TABLE>
  653. </TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
  654. <TABLE height=8 cellSpacing=0 cellPadding=0 width=993 background=../../vod/img/20.gif border=0>
  655. <TBODY>
  656. <TR>
  657. <TD width=8 bgColor=#ffffff></TD>
  658. <TD><img src height=8 width=1></TD>
  659. <TD width=8 bgColor=#ffffff> </TD></TR></TBODY></TABLE>
  660. <TABLE height=97 cellSpacing=0 cellPadding=0 width=993 border=0>
  661. <TBODY>
  662. <TR>
  663. <TD align=right bgColor=#ffffff> </TD>
  664. <TD bgColor=#ffffff> </TD></TR></TBODY></TABLE>
  665. <TABLE height=8 cellSpacing=0 cellPadding=0 width=993 background=../../vod/img/20.gif border=0>
  666. <TBODY>
  667. <TR>
  668. <TD width=8 bgColor=#ffffff></TD>
  669. <TD height="9"><img src height=8 width=1></TD>
  670. <TD width=8 bgColor=#ffffff> </TD></TR></TBODY></TABLE>
  671. <TABLE cellSpacing=0 cellPadding=0 width=993 bgColor=#ffffff border=0>
  672. <TBODY>
  673. <TR>
  674. <TD align=middle height=34><!--#include file=bottom.asp--></TD>
  675. </TR>
  676. <TR>
  677. </TR></TBODY></TABLE>
  678. </BODY></HTML>