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

家庭/个人应用

开发平台:

ASP/ASPX

  1. <!--#include file="articleconn.asp"-->
  2. <HTML><HEAD>
  3. <meta http-equiv="Content-Language" content="en-gb">
  4. <%set rs=conn.execute("select * from [home]")%>
  5. <TITLE>万众电影</TITLE>
  6. <META http-equiv=Content-Type content="text/html; charset=gb2312">
  7. <LINK href="img/style.css" type=text/css rel=stylesheet>
  8. <META content="MSHTML 6.00.2800.1505" name=GENERATOR>
  9. <script language="JavaScript">
  10. <!--
  11. function checkinput()
  12. {
  13. if (document.search.keyword.value=="")
  14.  {
  15. alert("请输入想查询的内容!");
  16. document.search.keyword.focus();
  17. return false;
  18.  }
  19.  return true;
  20. }
  21. -->
  22. </script>
  23. <script language="javascript">kstatus();function kstatus(){self.status="<%=rs("Description")%>";setTimeout("kstatus()",0);}</script>
  24. <style type="text/css">
  25. <!--
  26. .style1 {color: #FFFFFF}
  27. .style3 {
  28. font-family: "宋体";
  29. font-size: 12px;
  30. }
  31. -->
  32. </style>
  33. </HEAD>
  34. <BODY >
  35. <!--#include file=top.asp-->
  36. <TABLE cellSpacing=0 cellPadding=0 width=993 border=0>
  37. <TBODY>
  38. <TR>
  39. <TD bgColor=#7d7d7d height=1></TD></TR></TBODY></TABLE>
  40. <TABLE cellSpacing=0 cellPadding=0 width=993 border=0>
  41. <TBODY>
  42. <TR>
  43. <TD bgColor=#ffffff height=2></TD></TR></TBODY></TABLE>
  44. <TABLE cellSpacing=0 cellPadding=0 width=993 bgColor=#ffffff border=0>
  45. <TBODY>
  46. <TR>
  47. <TD vAlign=top align=middle>
  48. <TABLE cellSpacing=0 cellPadding=0 width=977 border=0>
  49. <TBODY>
  50. <TR>
  51. <TD background=img/2.gif height=8></TD></TR></TBODY></TABLE>
  52. <TABLE cellSpacing=1 cellPadding=0 width=977 bgColor=#b7b7b7 border=0>
  53. <TBODY>
  54. <TR>
  55. <TD bgColor=#ffffff>
  56. <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
  57. <TBODY>
  58. <TR>
  59. <TD>
  60. <TABLE height=94 cellSpacing=0 cellPadding=1 width="100%" border=0>
  61. <TBODY>
  62. <TR>
  63. <TD align=right width=189><IMG height=90 src="img/channel_title_movie.gif" width=188></TD>
  64. <TD>
  65. <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>
  66. <PARAM NAME="movie" VALUE="img/banner_780x90.swf">
  67. <PARAM NAME="quality" VALUE="High">
  68.  
  69. <embed src="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>
  70. <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
  71. <TBODY>
  72. <TR>
  73. <TD background=img/1.jpg height=12></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
  74. <TABLE cellSpacing=0 cellPadding=0 width=977 border=0>
  75. <TBODY>
  76. <TR>
  77. <TD height=2></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
  78. <TABLE cellSpacing=0 cellPadding=0 width=993 bgColor=#ffffff border=0>
  79. <TBODY>
  80. <TR>
  81. <TD vAlign=top align=middle height=173>
  82. <TABLE height=36 cellSpacing=0 cellPadding=0 width=977 border=0>
  83. <TBODY>
  84. <TR>
  85. <TD vAlign=top width=191 height=25>
  86. <!--#include file=left.asp--></TD>
  87. <TD width=2 valign="top"></TD>
  88. <TD width=1 bgColor=#c6c6c6 valign="top"></TD>
  89. <TD vAlign=top width=783>
  90. <TABLE cellSpacing=0 cellPadding=0 width=783 border=0>
  91. <TBODY>
  92. <TR>
  93. <TD><A href="/bfqxz/RealPlayer.exe"><IMG height=60 src="img/dl_01.jpg" width=179 border=0></A></TD>
  94. <TD><A href="/bfqxz/Windows Media Player.exe"><IMG height=60 src="img/dl_02.jpg" width=171 border=0></A></TD>
  95. <TD><A href="/bfqxz/ffdshow.exe"><IMG height=60 src="img/dl_03.jpg" width=168 border=0></A></TD>
  96. <TD><A href="/bfqxz/ie6setup.exe"><IMG height=60 src="img/dl_04.jpg" width=160 border=0></A></TD>
  97. <TD><A href="help/help.asp"><IMG height=60 src="img/dl_05.jpg" width=105 border=0></A></TD></TR></TBODY></TABLE>
  98. <TABLE height=40 cellSpacing=0 cellPadding=0 width="100%" background=img/5.gif border=0>
  99. <TBODY>
  100. <TR>
  101. <TD width=116 valign="top"><img border="0" src="img/18.gif" width="116" height="32"></TD>
  102. <TD align=right><TABLE height=24 cellSpacing=0 cellPadding=0 border=0>
  103. <TBODY>
  104. <TR>
  105. <TD align=middle width=70 
  106. background=img/sub_bg.gif><a target="_blank" href="maindalu.asp">大陆剧场</a></TD>
  107. <TD width=2><img src height=1 width=2></TD>
  108. <TD align=middle width=70 
  109. background=img/sub_bg.gif><a target="_blank" href="mainoumei.asp">欧美剧场</a></TD>
  110. <TD width=2><img src height=1 width=2></TD>
  111. <TD align=middle width=70 
  112. background=img/sub_bg.gif><a target="_blank" href="maingangtai.asp">港台剧场</a></TD>
  113. <TD width=2><img src height=1 width=2></TD>
  114. <TD align=middle width=70 
  115. background=img/sub_bg.gif><a target="_blank" href="mainrihan.asp">日韩剧场</a></TD>
  116. <TD align=middle width=70 
  117. background=img/sub_bg.gif><a target="_blank" href="mainqita.asp">其他影片</a></TD>
  118. <TD width=2><img src height=1 width=2></TD>
  119. </TR></TBODY></TABLE></TD>
  120. <TD align=right valign="top"><IMG height=31 src="img/7.gif" width=83></TD></TR></TBODY></TABLE>
  121. <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0><TBODY><TR align=right>
  122. <TD>
  123. <TABLE height=240 cellSpacing=0 cellPadding=0 width="100%" border=0 id="table1"><TBODY>
  124. <TR align=right>
  125. <TD>
  126. <table width="126" border="0" cellpadding="0" cellspacing="0">
  127. <tr> <%
  128. sql="select articleid,domurl,title,hits,content from learning where firstbest=1 and typeid<>'搞笑片段' order by articleid desc"
  129. set rs=server.createobject("adodb.recordset")
  130. rs.open sql,conn,1,1
  131. b=0
  132. row_count=1
  133. %> <%
  134. do while not rs.eof
  135. b=b+1%>
  136. <td><div align="center">
  137. <table width="126" border="0" cellspacing="0" cellpadding="0">
  138. <tr height="119" align="center">
  139. <td width="3"><!--Blank--></td>
  140. <td width="123" background="images/commend_pic.gif"><table border="1" width="100%" cellpadding="0" style="border-collapse: collapse" bordercolor="#939393" id="table5">
  141. <tr>
  142. <td><table border="0" cellspacing="4" width="100%" cellpadding="0" id="table5">
  143. <tr>
  144. <td><a href="movie.asp?id=<%=rs("articleid")%>" target="_blank">
  145. <img border="0" src="<%if rs("domurl")="" then%>img/w.gif<%else%><%=rs("domurl")%><%end if%>" width="137" height="191"></a></td>
  146. </tr>
  147. </table></td>
  148. </tr>
  149. </table></td>
  150. </tr>
  151. <tr height="21" align="middle">
  152. <td width="5"><img src height=1 width=9></td>
  153. <td background="img/8.gif"><table border="0" cellspacing="0" width="90%" cellpadding="0">
  154. <tr>
  155. <td height="22" width=109 align="center">
  156. <% if row_count mod 1 =0 then%>
  157.                               <%content=rs("title")
  158.                             if len(content)>11 then content=left(content,11)&"?-"
  159.                           response.write content
  160.                             %> 
  161. </td>
  162. <td>
  163. <p align="center"><a href="movie.asp?id=<%=rs("articleid")%>" target="_blank">
  164. <img src="img/sort_play1.gif" width="18" height="18" border="0" alt="播放"></a></td>
  165. </tr>
  166. </table></td>
  167. </tr>
  168. </table>
  169. </div></td>
  170. <%end if%>
  171. <%row_count=row_count+1
  172. if b>=5 then exit do
  173. rs.movenext
  174. loop
  175. rs.close
  176. set rs=nothing
  177. %>
  178. </tr>
  179. </table>
  180. </TD>
  181. </TR></TBODY></TABLE>
  182. </TD>
  183. </TR></TBODY></TABLE>
  184. <TABLE height=40 cellSpacing=0 cellPadding=0 width="100%" background=img/5.gif border=0>
  185. <TBODY>
  186. <TR vAlign=top>
  187. <TD width=146><img border="0" src="img/6.gif" width="116" height="32"></TD>
  188. <TD align=right width="73%">
  189. <table border="0" cellspacing="0" width="100%" cellpadding="0" id="table6">
  190. <tr>
  191. <td height="9"><img src height=9 width=1></td>
  192. </tr>
  193. <tr>
  194. <td>
  195. <table border="0" cellpadding="0" cellspacing="0" width="100%" id="table10">
  196. <tr>
  197. <td><!--webbotbot="HTMLMarkup" startspan -->
  198. <font color="#000000"><b><span class="样式3" lang="zh-cn">本站共收录有电影:</span>
  199.                         <%        
  200. function gettipnum1()
  201. dim tmprs1
  202. tmprs1=conn.execute("Select Count(articleid) from learning")
  203. gettipnum1=tmprs1(0)
  204. set tmprs1=nothing
  205. if isnull(gettipnum1) then gettipnum1=0
  206. end function
  207.                                 %><font color="#FF0000"><%=gettipnum1()%></font><span class="样式3">部</span>&nbsp; <span class="样式3">今天更新:</span><span lang="zh-cn">
  208.                               <%
  209.                              function todays()
  210. dim tmprs
  211. tmprs=conn.execute("Select count(articleid) from learning Where year(dateandtime)=year(date()) and month(dateandtime)=month(date()) and day(dateandtime)=day(date())")
  212. todays=tmprs(0)
  213. set tmprs=nothing
  214. if isnull(todays) then todays=0
  215. end function%><font color="#FF0000"><%=todays()%></font></b><b>部</b></span>
  216. &nbsp;<b>当前在线人数:</b><font color="#FF0000"><b><script src="http://www.1000n.com/tongji/count.asp?style=2"></script></b></font>
  217. <!--webbot bot="HTMLMarkup" endspan --></td>
  218. </tr>
  219. </table>
  220. </td>
  221. </tr>
  222. </table>
  223.  </TD>
  224. <TD align=right width="95"><IMG height=31 src="img/7.gif" width=83></TD></TR></TBODY></TABLE>
  225. <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0><TBODY>
  226. <%  
  227. dim t  
  228. t=0  
  229. sql="select articleid,title,domurl,typeid,dateandtime,best from learning where typeid<>'搞笑片段' order by articleid desc"  
  230. set rs=server.createobject("adodb.recordset")  
  231. rs.open sql,conn,1,1
  232. for i=1 to 2
  233. %>
  234. <TR align=right>
  235. <%
  236. for j=1 to 5  
  237. if not rs.eof then  
  238. %>
  239. <td height="240" align="center"><div align="right">
  240.   <table width="126" border="0" cellspacing="0" cellpadding="0">
  241. <tr height="119" align="center">
  242. <td width="3"><!--Blank--></td>
  243. <td width="123" background="images/commend_pic.gif"><table border="1" width="100%" cellpadding="0" style="border-collapse: collapse" bordercolor="#939393" id="table5">
  244. <tr>
  245. <td><table border="0" cellspacing="4" width="100%" cellpadding="0" id="table5">
  246. <tr>
  247. <td><a href="movie.asp?id=<%=rs("articleid")%>" target="_blank">
  248. <img border="0" src="<%if rs("domurl")="" then%>img/w.gif<%else%><%=rs("domurl")%><%end if%>" width="137" height="191"></a></td>
  249. </tr>
  250. </table></td>
  251. </tr>
  252. </table></td>
  253. </tr>
  254. <tr height="21" align="middle">
  255. <td width="5"><img src height=1 width=9></td>
  256. <td background="img/8.gif"><table border="0" cellspacing="0" width="90%" cellpadding="0">
  257. <tr>
  258. <td height="22" width=109 align="center">
  259. <% if row_count mod 1 =0 then%>
  260.                               <%content=rs("title")
  261.                             if len(content)>11 then content=left(content,11)&"?-"
  262.                           response.write content
  263.                             %> 
  264. </td>
  265. <td>
  266. <p align="center"><a href="movie.asp?id=<%=rs("articleid")%>" target="_blank">
  267. <img src="img/sort_play1.gif" width="18" height="18" border="0" alt="播放"></a></td>
  268. </tr>
  269. </table></td>
  270. </tr>
  271. </table>
  272. </div></td>
  273. <%end if%>
  274. <%row_count=row_count+1
  275. rs.movenext
  276. end if
  277. next
  278. %>
  279. </TR>
  280. <%
  281. next
  282. rs.close
  283. set rs=nothing
  284. %>
  285. </TBODY></TABLE>
  286. <TABLE height=40 cellSpacing=0 cellPadding=0 width="100%" background=img/5.gif border=0>
  287. <TBODY>
  288. <TR>
  289. <TD width=146 valign="top"><img border="0" src="img/13.gif" width="116" height="32"></TD>
  290. <TD align=right>
  291. <TABLE height=24 cellSpacing=0 cellPadding=0 border=0 id="table9">
  292. <TBODY>
  293. <TR>
  294. <TD align=middle width=50 
  295. background=img/sub_bg1.gif><a target="main" href="main.asp?Hits_Page=1">1页</a></TD>
  296. <TD width=2><img src height=1 width=2></TD>
  297. <TD align=middle width=50 
  298. background=img/sub_bg1.gif><a target="main" href="main.asp?Hits_Page=2">2页</a></TD>
  299. <TD width=2><img src height=1 width=2></TD>
  300. <TD align=middle width=50 
  301. background=img/sub_bg1.gif><a target="main" href="main.asp?Hits_Page=3">3页</a></TD>
  302. <TD width=2><img src height=1 width=2></TD>
  303. <TD align=middle width=50 
  304. background=img/sub_bg1.gif><a target="main" href="main.asp?Hits_Page=4">4页</a></TD>
  305. <TD width=2><img src height=1 width=2></TD>
  306. <TD align=middle width=50 
  307. background=img/sub_bg1.gif><a target="main" href="main.asp?Hits_Page=5">5页</a></TD>
  308. <TD width=2><img src height=1 width=2></TD>
  309. <TD align=middle width=50 
  310. background=img/sub_bg1.gif><a target="main" href="main.asp?Hits_Page=6">6页</a></TD>
  311. <TD width=2><img src height=1 width=2></TD>
  312. <TD align=middle width=50 
  313. background=img/sub_bg1.gif><a target="main" href="main.asp?Hits_Page=7">7页</a></TD>
  314. <TD width=2><img src height=1 width=2></TD>
  315. </TR></TBODY></TABLE>
  316. </TD>
  317. <TD align=right width="158" valign="top"><IMG height=31 src="img/7.gif" width=83></TD></TR></TBODY></TABLE>
  318. <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0><TBODY>
  319. <TR align=right>
  320. <td>
  321. <table border="0" cellpadding="0" width="100%" cellspacing="0" id="table8">
  322. <tr>
  323. <td align="center" height="8"></td>
  324. </tr>
  325. <tr>
  326. <td>
  327. <p align="right">
  328. <iframe name="main" width="774" frameborder=0 src="main.asp" id="web" height=500 scrolling="no" align="top" ></iframe>
  329. </td>
  330. </tr>
  331. <tr>
  332. <td align="center"></td>
  333. </tr>
  334. </table>
  335. </td>
  336. </TR></TBODY></TABLE>
  337. </TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
  338. <!--#include file=bottom.asp-->
  339. </BODY>
  340. </HTML>