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

家庭/个人应用

开发平台:

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>
  24. <!--
  25. function MM_openBrWindow(theURL,winName,features) { //v2.0
  26.   mediaWindow = window.open(theURL,winName,features);
  27.   mediaWindow.focus();
  28. }
  29. //-->
  30. </SCRIPT>
  31. <script language="javascript">kstatus();function kstatus(){self.status="<%=rs("Description")%>";setTimeout("kstatus()",0);}</script>
  32. <SCRIPT language=JavaScript1.2> 
  33. <!-- 
  34. function Show(divid) { 
  35. divid.filters.revealTrans.apply(); 
  36. divid.style.visibility = "visible"; 
  37. divid.filters.revealTrans.play(); 
  38. function Hide(divid) { 
  39. divid.filters.revealTrans.apply(); 
  40. divid.style.visibility = "hidden"; 
  41. divid.filters.revealTrans.play(); 
  42. //--> 
  43. </SCRIPT>
  44. <script>
  45. function OpenWindow(htmurl,widths,heights)
  46. {
  47.    var paramet = 'toolbar=no,resizable=no,scrollbars=no,width='+ widths + ',height=' + heights;
  48.    newWindow = window.open(htmurl,"yule21",paramet);
  49.    newWindow.focus();
  50. }
  51. </script>
  52.  <script>
  53. IEver=navigator.appVersion.substring(navigator.appVersion.indexOf('MSIE')+5,navigator.appVersion.indexOf(';',17));
  54. if(IEver=="6.0")
  55.     {
  56.       ie6 = true;
  57.       width_add = 10; 
  58.       height_add = 29;
  59.       hand_add = -14;
  60.     }
  61. else
  62.     {
  63.       ie6 = false;
  64.       width_add = 10;
  65.       height_add = 29;
  66.       hand_add = 14;
  67.     }
  68. function OpenWindow(PlayerURL)
  69. {
  70.   if (ie6)
  71. newwindow=window.open('','','fullscreen=0,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=-1');
  72.   else
  73. newwindow=window.open('','','fullscreen=0,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=-1');
  74. newwindow.moveTo(100,100);
  75. newwindow.resizeTo(440+width_add,428+height_add+hand_add);
  76. newwindow.focus();
  77. newwindow.location=PlayerURL;
  78. }
  79. function play(id)
  80. {
  81.     OpenWindow('look.asp?id1='+id);
  82. }
  83. </script></HEAD>
  84. <BODY >
  85. <!--#include file=top.asp-->
  86. <TABLE cellSpacing=0 cellPadding=0 width=993 border=0>
  87. <TBODY>
  88. <TR>
  89. <TD bgColor=#7d7d7d height=1></TD></TR></TBODY></TABLE>
  90. <TABLE cellSpacing=0 cellPadding=0 width=993 border=0>
  91. <TBODY>
  92. <TR>
  93. <TD bgColor=#ffffff height=2></TD></TR></TBODY></TABLE>
  94. <TABLE cellSpacing=0 cellPadding=0 width=993 bgColor=#ffffff border=0>
  95. <TBODY>
  96. <TR>
  97. <TD vAlign=top align=middle>
  98. <TABLE cellSpacing=0 cellPadding=0 width=977 border=0>
  99. <TBODY>
  100. <TR>
  101. <TD background=img/2.gif height=8></TD></TR></TBODY></TABLE>
  102. <TABLE cellSpacing=1 cellPadding=0 width=977 bgColor=#b7b7b7 border=0>
  103. <TBODY>
  104. <TR>
  105. <TD bgColor=#ffffff>
  106. <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
  107. <TBODY>
  108. <TR>
  109. <TD>
  110. <TABLE height=94 cellSpacing=0 cellPadding=1 width="100%" border=0>
  111. <TBODY>
  112. <TR>
  113. <TD align=right width=189><IMG height=90 src="img/channel_title_movie.gif" width=188></TD>
  114. <TD>
  115. <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>
  116. <PARAM NAME="movie" VALUE="img/banner_780x90.swf">
  117. <PARAM NAME="quality" VALUE="High">
  118.  
  119. <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>
  120. <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
  121. <TBODY>
  122. <TR>
  123. <TD background=img/1.jpg height=12></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
  124. <TABLE cellSpacing=0 cellPadding=0 width=977 border=0>
  125. <TBODY>
  126. <TR>
  127. <TD height=2></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
  128. <TABLE cellSpacing=0 cellPadding=0 width=993 bgColor=#ffffff border=0>
  129. <TBODY>
  130. <TR>
  131. <TD vAlign=top align=middle height=173>
  132. <TABLE height=36 cellSpacing=0 cellPadding=0 width=977 border=0>
  133. <TBODY>
  134. <TR>
  135. <TD vAlign=top width=191 height=25>
  136. <!--#include file=left.asp--></TD>
  137. <TD width=2 valign="top"></TD>
  138. <TD width=1 bgColor=#c6c6c6 valign="top"></TD>
  139. <TD vAlign=top width=783>
  140. <TABLE cellSpacing=0 cellPadding=0 width=783 border=0>
  141. <TBODY>
  142. <TR>
  143. <TD><A href="#"><IMG height=60 src="img/dl_01.jpg" width=179 border=0></A></TD>
  144. <TD><A href="#"><IMG height=60 src="img/dl_02.jpg" width=171 border=0></A></TD>
  145. <TD><A href="#"><IMG height=60 src="img/dl_03.jpg" width=168 border=0></A></TD>
  146. <TD><A href="#"><IMG height=60 src="img/dl_04.jpg" width=160 border=0></A></TD>
  147. <TD><A href="#"><IMG height=60 src="img/dl_05.jpg" width=105 border=0></A></TD></TR></TBODY></TABLE>
  148. <TABLE height=40 cellSpacing=0 cellPadding=0 width="100%" background=img/5.gif border=0>
  149. <TBODY>
  150. <TR>
  151. <TD width=116 valign="top">
  152. <img border="0" src="img/19.gif" width="116" height="32"></TD>
  153. <TD align=right><TABLE height=24 cellSpacing=0 cellPadding=0 border=0>
  154. <TBODY>
  155. <TR>
  156. <TD width=2><img src height=1 width=2></TD>
  157. </TR></TBODY></TABLE></TD>
  158. <TD align=right valign="top"><IMG height=31 src="img/7.gif" width=83></TD></TR></TBODY></TABLE>
  159. <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0><TBODY><TR align=right>
  160. <TD>
  161. <%
  162. articleid=request("id")
  163. if isnumeric(articleid)=false then
  164. response.redirect "error.asp"
  165. end if
  166.    %>
  167. <%
  168.    dim sql
  169.    dim rs
  170.    articleid=request("id")
  171.    set rs=server.createobject("adodb.recordset")
  172.    sql="update learning set hits=hits+31 where articleID="&articleid
  173.    rs.open sql,conn,1,3
  174.    sql="select * from learning where articleid="&articleid
  175.    rs.open sql,conn,1,1
  176.    title=rs("title")
  177.    ittype=rs("typeid")
  178.  %>
  179. <table border="0" cellspacing="0" width="100%" cellpadding="0" id="table8">
  180. <tr>
  181. <td width="205">
  182. <table border="0" cellspacing="4" cellpadding="0" id="table9" width="100%">
  183. <tr>
  184. <td align="center">
  185. <table border="1" cellpadding="0" style="border-collapse: collapse" bordercolor="#808080" id="table10">
  186. <tr>
  187. <td>
  188. <table border="0" cellpadding="0" id="table11">
  189. <tr>
  190. <td>
  191. <img src="<%if rs("domurl")="" then%>img/w.gif<%else%><%=rs("domurl")%><%end if%>" width="187" height="239"></td>
  192. </tr>
  193. </table>
  194. </td>
  195. </tr>
  196. </table>
  197. </td>
  198. </tr>
  199. </table>
  200. </td>
  201. <td valign="top">
  202. <table border="0" cellpadding="4" width="578" bordercolor="#808080" id="table12" cellspacing="3">
  203. <tr>
  204. <td bgcolor="#F3F3F1" width="294"><b>影片名称:《<%=title%>》</b></td>
  205. <td bgcolor="#F3F3F1" width="259" rowspan="9" align="center">
  206. <iframe scrolling="no" width="212" height="242" src="http://sh2.is686.com/link/sc/2_11_2.php?u=e0825&type=2&w=2&h=11&fc=0066FF&bgc=ffffff&bdc=0066FF&al=center&tw=212&th=242" frameborder="0"></iframe>
  207. <script language='javascript'>
  208. var agt=navigator.userAgent.toLowerCase();
  209. if((location.href.substr(0,6)=='https:')||(location.href.substr(0,6)=='HTTPS:')) {p='https';} data = '&agt=' + escape(agt) + '&r=' + escape(document.referrer) +'&tu=' + escape(document.location) + '&aN=' + escape(navigator.appName) + '&lg=' + escape(navigator.systemLanguage) + '&OS=' + escape(navigator.platform) + '&aV=' + escape(navigator.appVersion);
  210. if(navigator.appVersion.substring(0,1)>'3') {data = data + '&cd=' + screen.colorDepth + '&p=' + escape(screen.width+ 'x'+screen.height) + '&je=' + navigator.javaEnabled();};
  211. var cuser="e0825";
  212. if (document.cookie.indexOf("is686_cookie_"+cuser)<0){
  213. var Then = new Date();
  214. Then.setTime(Then.getTime() + 24*60*60*1000);
  215. document.cookie='is686_cookie_'+cuser+'=yes;expires='+ Then.toGMTString();
  216. document.write('<iframe height=0 width=0 src="http://c3.is686.com/count/counter.php?cu='+cuser + data + '"></iframe>');
  217. }</script>
  218. </td>
  219. </tr>
  220. <tr>
  221. <td bgcolor="#EFEFED" width="294"><b>主要演员:<%content=rs("name")
  222.                           if len(content)>18 then content=left(content,18)&"…"
  223.                           response.write content
  224.                             %></b></td>
  225. </tr>
  226. <tr>
  227. <td bgcolor="#F3F3F1" width="294"><b>观看次数:<%=rs("hits")%>次</b></td>
  228. </tr>
  229. <tr>
  230. <td height="22" bgcolor="#EFEFED" width="294"><b>影片分类:<%=ittype%></b></td>
  231. </tr>
  232. <tr>
  233. <td bgcolor="#F3F3F1" width="294"><b>推荐程度::<SPAN class=xinxin><img border="0" src="img/<%=rs("softlevel")%>STAR.GIF"></SPAN></b></td>
  234. </tr>
  235. <tr>
  236. <td bgcolor="#EFEFED" width="294"><b>影片格式:<span 
  237.                                 id=lblFormat>
  238.                                   <% if rs("movietype")="rm" then%>
  239.                                   <img src="IMG/real.gif" border="0">
  240.                                   <%elseif rs("movietype")="md" then%>
  241.                                   <img src="IMG/media.gif" border="0">
  242.                                   <%elseif rs("movietype")="mov" then%>
  243.                                   <img src="IMG/lookmov.gif" border="0">
  244.                                   <%end if%>
  245.                                   </span></b></td>
  246. </tr>
  247. <tr>
  248. <td bgcolor="#F3F3F1" width="294"><b>影片长度:<%=rs("howlong")%>      分钟 </b></td>
  249. </tr>
  250. <tr>
  251. <td bgcolor="#F3F3F1" width="294"><b>加入时间:<%=rs("dateandtime")%></b></td>
  252. </tr>
  253. <tr>
  254. <td bgcolor="#F3F3F1" width="294"> 
  255. <input type="button" name="Submit2" value="报告错误" class="input" onClick="window.open('admin/sendeoff.asp?title=<%=title%>','film','scrollbars=no,resizable=no,width=460,height=380,menubar=no,top=168,left=168')">
  256.                               <input type="button" name="Submit2" value="发表评论" class="input" onClick="window.open('addre.asp?id=<%=rs("articleid")%>')">
  257.                             <input type="button" name="Submit3" value="查看评论" class="input" onClick="window.open('re.asp?id=<%=rs("articleid")%>')"></td>
  258. </tr>
  259. </table>
  260. </td>
  261. </tr>
  262. </table>
  263. </TD>
  264. </TR></TBODY></TABLE>
  265. <table border="0" cellpadding="0" width="783" id="table13" cellspacing="4">
  266. <tr>
  267. <td width="767" colspan="3" background="img/2.gif" height="8"> </td>
  268. </tr>
  269. <tr>
  270. <td width="69"> </td>
  271. <td width="93"><img src="images/online.gif" width="82" height="23"></td>
  272. <td width="605" height="24"><%
  273.                   
  274. sql="select * from movieurl where nameid='"&articleid&"'"
  275. set rsurl=server.createobject("adodb.recordset")
  276. if rs("onlinelook")=1 then
  277. rsurl.open sql,conn,1,1
  278. if rsurl.eof then
  279. response.write "暂停该影片的在线播放,想看该片的朋友稍后或下载后再观看!"
  280. else
  281. no=rsurl.recordcount
  282. do while not rsurl.eof
  283. for c=1 to no
  284. if len(c)=1 then
  285. response.write "<a class='real' href=""javascript:play('"&rsurl("id")&"&id2="&articleid&"')"">&nbsp;&nbsp;"&c&"&nbsp;</a>"
  286. else
  287. response.write "<a class='real' href=""javascript:play('"&rsurl("id")&"&id2="&articleid&"')"">&nbsp;"&c&"&nbsp;</a>"
  288. if c mod 15=0 then
  289. response.write "<br>"
  290. end if
  291. end if
  292. rsurl.movenext
  293. if rsurl.eof then exit do
  294. next
  295. loop
  296. end if
  297. rsurl.close
  298. else
  299. response.write "暂停该影片的在线播放,想看该片的朋友稍后或下载后再观看!"
  300. end if%></td>
  301. </tr>
  302. <tr>
  303. <td width="69"> </td>
  304. <td width="93"><img src="images/download.gif" width="82" height="23"></td>
  305. <td width="605" height="24"><u>点击此处下载<%=title%></u>&nbsp; 
  306. <span lang="zh-cn">
  307. <a target="_blank" href="http://www.baidu.com/s?tn=e0825&ct=&lm=&z=&rn=&word=<%=title%> 千年免费电影&_si.x=14&_si.y=10">点此查看其他站相关资料</a></span></td>
  308. </tr>
  309. <tr>
  310. <td width="69"> </td>
  311. <td width="93"><img src="images/fuwu.gif"></td>
  312. <td width="586">
  313. <table border="0" cellpadding="0" cellspacing="3" id="table14">
  314. <tr>
  315. <td height="24"><a target=blank href=http://wpa.qq.com/msgrd?V=1&Uin=45223&Site=www.1000n.com&Menu=yes><img border="0" SRC=http://wpa.qq.com/pa?p=1:45223:1 alt="'与站长联系!"></a></td>
  316. <td><a target=blank href=http://wpa.qq.com/msgrd?V=1&Uin=4484578&Site=www.1000n.com&Menu=yes><img border='0' src=http://wpa.qq.com/pa?p=0:4484578:0 alt='与客服人员联系!'></a></td>
  317. <td><a target=blank href=http://wpa.qq.com/msgrd?V=1&Uin=64611990&Site=www.1000n.com&Menu=yes><img border='0' src=http://wpa.qq.com/pa?p=0:64611990:0 alt='与技术部联系!'></a></td>
  318. <td><a target=blank href=http://wpa.qq.com/msgrd?V=1&Uin=3396510&Site=www.1000n.com&Menu=yes><img border='0' src=http://wpa.qq.com/pa?p=0:3396510:0 alt='与客服人员联系!'></a></td>
  319. </tr>
  320. </table>
  321. </td>
  322. </tr>
  323. <tr>
  324. <td width="767" colspan="3" background="img/2.gif" height="8">     <TABLE cellSpacing=10 cellPadding=0 width="95%" align=center border=0>
  325.         <TBODY>
  326.           <TR>
  327.                 <TD>内容简介:<BR>&nbsp;&nbsp;&nbsp;&nbsp;<%content=rs("content")
  328.                           if len(content)>191 then content=left(content,191)&"……"
  329.                           response.write content
  330.                             %></TD></TR>
  331.         </TBODY>
  332.       </TABLE></td>
  333. </tr>
  334. <tr>
  335. <td width="767" colspan="3"><script language=javascript src="http://b.keyrun.com/pcode.php?username=e0825&repl=1&adsuser=55230&adsid=110&iw=760&ih=80"></script></td>
  336. </tr>
  337. <tr>
  338. <td width="767" colspan="3"><iframe align="center" width="760" height="100" src="http://code4.caiku.com//760x100.asp?uid=2765&style=2" frameborder="no" border="0" marginwidth="0" marginheight="0" scrolling="no"></iframe></td>
  339. </tr>
  340. <tr>
  341. <td width="767" colspan="3"> </td>
  342. </tr>
  343. </table>
  344. </TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
  345. <!--#include file=bottom.asp-->
  346. </BODY></HTML>