movie不点广告版.asp
上传用户:qyswxdl
上传日期:2013-06-01
资源大小:1373k
文件大小:12k
源码类别:

家庭/个人应用

开发平台:

ASP/ASPX

  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  2. <!--#include file="articleconn.asp"-->
  3.   
  4. <HTML><HEAD><%set rs=conn.execute("select * from [home]")%>
  5. <title><%=rs("homes")%></title>
  6. <META http-equiv=Content-Type content="text/html; charset=gb2312"><LINK 
  7. href="css/css.css" type=text/css rel=stylesheet>
  8. <SCRIPT language=javascript>
  9. <!--
  10. function MM_openBrWindow(theURL,winName,features) { //v2.0
  11.   mediaWindow = window.open(theURL,winName,features);
  12.   mediaWindow.focus();
  13. }
  14. //-->
  15. </SCRIPT>
  16. <SCRIPT language=JavaScript><!-- 
  17. if (top.location != location) top.location.href = location.href;
  18. self.moveTo(0,0);
  19. self.resizeTo(screen.availWidth,screen.availHeight);
  20. // --></SCRIPT>
  21. <SCRIPT language=JavaScript1.2> 
  22. <!-- 
  23. function Show(divid) { 
  24. divid.filters.revealTrans.apply(); 
  25. divid.style.visibility = "visible"; 
  26. divid.filters.revealTrans.play(); 
  27. function Hide(divid) { 
  28. divid.filters.revealTrans.apply(); 
  29. divid.style.visibility = "hidden"; 
  30. divid.filters.revealTrans.play(); 
  31. //--> 
  32. </SCRIPT>
  33. <script>
  34. function OpenWindow(htmurl,widths,heights)
  35. {
  36.    var paramet = 'toolbar=no,resizable=no,scrollbars=no,width='+ widths + ',height=' + heights;
  37.    newWindow = window.open(htmurl,"yule21",paramet);
  38.    newWindow.focus();
  39. }
  40. </script>
  41.  <script>
  42. IEver=navigator.appVersion.substring(navigator.appVersion.indexOf('MSIE')+5,navigator.appVersion.indexOf(';',17));
  43. if(IEver=="6.0")
  44.     {
  45.       ie6 = true;
  46.       width_add = 10; 
  47.       height_add = 29;
  48.       hand_add = -14;
  49.     }
  50. else
  51.     {
  52.       ie6 = false;
  53.       width_add = 10;
  54.       height_add = 29;
  55.       hand_add = 14;
  56.     }
  57. function OpenWindow(PlayerURL)
  58. {
  59.   if (ie6)
  60. newwindow=window.open('','','fullscreen=0,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=-1');
  61.   else
  62. newwindow=window.open('','','fullscreen=0,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=-1');
  63. newwindow.moveTo(100,100);
  64. newwindow.resizeTo(440+width_add,428+height_add+hand_add);
  65. newwindow.focus();
  66. newwindow.location=PlayerURL;
  67. }
  68. function play(id)
  69. {
  70.     OpenWindow('look.asp?id1='+id);
  71. }
  72. </script>
  73. <script language="javascript">kstatus();function kstatus(){self.status="<%=rs("Description")%>";setTimeout("kstatus()",0);}</script>
  74. <SCRIPT language=JavaScript><!-- 
  75. if (top.location != location) top.location.href = location.href;
  76. self.moveTo(0,0);
  77. self.resizeTo(screen.availWidth,screen.availHeight);
  78. // --></SCRIPT>
  79. <SCRIPT language=JavaScript1.2> 
  80. <!-- 
  81. function Show(divid) { 
  82. divid.filters.revealTrans.apply(); 
  83. divid.style.visibility = "visible"; 
  84. divid.filters.revealTrans.play(); 
  85. function Hide(divid) { 
  86. divid.filters.revealTrans.apply(); 
  87. divid.style.visibility = "hidden"; 
  88. divid.filters.revealTrans.play(); 
  89. //--> 
  90. </SCRIPT>
  91. <script>
  92. function OpenWindow(htmurl,widths,heights)
  93. {
  94.    var paramet = 'toolbar=no,resizable=no,scrollbars=no,width='+ widths + ',height=' + heights;
  95.    newWindow = window.open(htmurl,"yule21",paramet);
  96.    newWindow.focus();
  97. }
  98. </script>
  99.  <script>
  100. IEver=navigator.appVersion.substring(navigator.appVersion.indexOf('MSIE')+5,navigator.appVersion.indexOf(';',17));
  101. if(IEver=="6.0")
  102.     {
  103.       ie6 = true;
  104.       width_add = 10; 
  105.       height_add = 29;
  106.       hand_add = -14;
  107.     }
  108. else
  109.     {
  110.       ie6 = false;
  111.       width_add = 10;
  112.       height_add = 29;
  113.       hand_add = 14;
  114.     }
  115. function OpenWindow(PlayerURL)
  116. {
  117.   if (ie6)
  118. newwindow=window.open('','','fullscreen=0,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=-1');
  119.   else
  120. newwindow=window.open('','','fullscreen=0,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=-1');
  121. newwindow.moveTo(100,100);
  122. newwindow.resizeTo(440+width_add,428+height_add+hand_add);
  123. newwindow.focus();
  124. newwindow.location=PlayerURL;
  125. }
  126. function play(id)
  127. {
  128.     OpenWindow('look.asp?id1='+id);
  129. }
  130. </script>
  131.   <style type="text/css">
  132. <!--
  133. .style1 {color: #FF0000}
  134. .样式3 {color: #929C49}
  135. .样式4 {color: #000000}
  136. -->
  137.   </style>
  138. </HEAD>
  139. <BODY bgcolor="#ffffff" topmargin="0" leftmargin="0">
  140. <TABLE width="776" border=0 align=center cellPadding=0 cellSpacing=0>
  141.   <TBODY>
  142.     <TR>
  143.       <TD><div align="center">
  144.         <!--#include file=top.asp-->
  145.       </div></TD>
  146.     </TR>
  147.   </TBODY>
  148. </TABLE>
  149. <table width="776" height="90" border="0" align="center" cellpadding="0" cellspacing="0">
  150.   <tr>
  151.     <td height="3"></td>
  152.   </tr>
  153. </table>
  154. <div align="center"></div>
  155. <table width="776" border="0" align="center" cellpadding="0" cellspacing="0">
  156.   <tr align="center">
  157.     
  158.     <td width="2"></td>
  159.   
  160.     <td valign="top">
  161.       <table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
  162.         <tr>
  163.           <td bgcolor="#FFA200" height="5"></td>
  164.         </tr>
  165.         <tr>
  166.           <td height="4"></td>
  167.         </tr>
  168.         <tr>
  169.           <td>
  170.             <table width="100%" border="0" cellspacing="0" cellpadding="0">
  171.               <tr align="center"><%
  172. articleid=request("id")
  173. if isnumeric(articleid)=false then
  174. response.redirect "error.asp"
  175. end if
  176.    %>
  177. <%
  178.    dim sql
  179.    dim rs
  180.    articleid=request("id")
  181.    set rs=server.createobject("adodb.recordset")
  182.    sql="update learning set hits=hits+55 where articleID="&articleid
  183.    rs.open sql,conn,1,3
  184.    sql="select * from learning where articleid="&articleid
  185.    rs.open sql,conn,1,1
  186.    title=rs("title")
  187.    ittype=rs("typeid")
  188.  %>
  189.                 <td width="12"></td>
  190.                 <td width="412">
  191.                   <table width="100%"  border="0" cellspacing="0" cellpadding="0">
  192.                     <tr>
  193.                       <td width="17%"><strong> &nbsp;&nbsp;影片名称:</strong></td>
  194.                       <td width="83%"><b>
  195.                         <%=title%></b></td>
  196.                     </tr>
  197.                     <tr>
  198.                       <td><strong> &nbsp;&nbsp;主要演员:</strong></td>
  199.                       <td><font face="宋体">
  200.                         <%content=rs("name")
  201.                           if len(content)>18 then content=left(content,18)&"…"
  202.                           response.write content
  203.                             %>
  204.                       </font></td>
  205.                     </tr>
  206.                     <tr>
  207.                       <td><strong>&nbsp;&nbsp;观看次数:</strong> </td>
  208.                       <td><span class="样式4"><%=rs("hits")%> </span>次                                              </td>
  209.                     </tr>
  210.                   </table>
  211.                   <table width="100%" height="100%" border="0" cellspacing="0" cellpadding="4">
  212.                     <tr>
  213.                       <td valign="top">
  214.                         <table width="100%"  border="0" cellspacing="0" cellpadding="0">
  215.                           <tr>
  216.                             <td width="194"><table width="100%" border="0" cellspacing="0" cellpadding="2">
  217.                               <tr>
  218.                                 <td width="34%" height="5" align="center" background="../../img/show_line_top.gif"></td>
  219.                                 <td width="66%" align="center" background="images/show_line_top.gif"></td>
  220.                               </tr>
  221.                               <tr>
  222.                                 <td><strong>影片分类:</strong> </td>
  223.                                 <td><%=ittype%></td>
  224.                               </tr>
  225.                               <tr>
  226.                                 <td><strong>推荐程度:</strong></td>
  227.                                 <td><SPAN class=xinxin><img border="0" src="img/<%=rs("softlevel")%>STAR.GIF"></SPAN></td>
  228.                               </tr>
  229.                               <tr>
  230.                                 <td><strong>影片格式:</strong></td>
  231.                                 <td><font face="宋体"><span 
  232.                                 id=lblFormat>
  233.                                   <% if rs("movietype")="rm" then%>
  234.                                   <img src="IMG/real.gif" border="0">
  235.                                   <%elseif rs("movietype")="md" then%>
  236.                                   <img src="IMG/media.gif" border="0">
  237.                                   <%elseif rs("movietype")="mov" then%>
  238.                                   <img src="IMG/lookmov.gif" border="0">
  239.                                   <%end if%>
  240.                                   </span></font></td>
  241.                               </tr>
  242.                               <tr>
  243.                                 <td><strong>影片长度:</strong></td>
  244.                                 <td><font face="宋体"><span 
  245.                                 id=lblTimeslice>
  246.                                   <%=rs("howlong")%>      分钟 </span></font></td>
  247.                               </tr>
  248.                               <tr>
  249.                                 <td><strong>加入时间:</strong></td>
  250.                                 <td><font face="宋体">
  251.                                   <%=rs("dateandtime")%></font></td>
  252.                               </tr>
  253.                               <tr>
  254.                                 <td height="5" align="center" background="../../img/show_line_top.gif"></td>
  255.                                 <td align="center" background="images/show_line_top.gif"></td>
  256.                               </tr>
  257.                             </table></td>
  258.                             <td width="210"><div align="center">
  259.                               <%
  260. set rsad=server.createobject("adodb.recordset")
  261. sqlad="select * from indexad"
  262. rsad.open sqlad,conn,1,1
  263. %>
  264.                               <%=rsad("centerad")%></div></td>
  265.                           </tr>
  266.                         </table>
  267.                         <table width="100%"  border="0" cellspacing="1" cellpadding="0">
  268.                           <tr>
  269.                             <td width="91%"><strong>点播每集:</strong>需花&nbsp;<img border=0 src=img/<%=rs("count")%>.gif> 影币 </td>
  270.                           </tr>
  271.                           <tr>
  272.                             <td>
  273.                               <input type="button" name="Submit2" value="报告该片有错误" class="input" onClick="window.open('sendeoff.asp?title=<%=title%>','film','scrollbars=no,resizable=no,width=460,height=380,menubar=no,top=168,left=168')">
  274.                               &nbsp;
  275.                             <input type="button" name="Submit2" value="发表评论" class="input" onClick="window.open('fbpl.asp?id=<%=rs("articleid")%>')"></td>
  276.                           </tr>
  277.                         </table></td>
  278.                   </table>
  279.               </tr>
  280.               </table></td>
  281.         </tr>
  282.         <tr>
  283.           <td colspan="3">
  284.             <table width="100%" border="0" cellspacing="0" cellpadding="4">
  285.               <tr>
  286.                 <td colspan="2"><img src="images/show_intro.gif" width="79" height="22" border="0"> </td>
  287.               </tr>
  288.               <tr>
  289.                 <td colspan="2" bgcolor="#E493DE" height="5"></td>
  290.               </tr>
  291.               <tr>
  292.                 <td valign="top" width="35"> </td>
  293.                 <td valign="top"><font face="宋体"><SPAN 
  294.                                 id=lblBrief>
  295.                   <b>本片建议下载后播放</b><br />
  296. &nbsp;&nbsp;&nbsp;&nbsp;
  297. </SPAN></font>
  298.                   <font face="宋体"><SPAN>
  299.                   <%content=rs("content")
  300.                           if len(content)>191 then content=left(content,191)&"……"
  301.                           response.write content
  302.                             %>
  303.                   <br />
  304.                   <br />
  305.                   <br />
  306.                   <br />
  307.                   <br />
  308.                   <br />
  309.                   </SPAN></font></td>
  310.               </tr>
  311.           </table></td>
  312.         </tr>
  313.     </table></td>
  314.   </tr>
  315. </table>
  316. <div align="center">
  317.   <table width="776" border="0" cellspacing="0" cellpadding="0">
  318.     <tr>
  319.       <td height="3"><!--Blank--></td>
  320.     </tr>
  321.     <tr>
  322.       <td height="38"><div align="center">
  323.         </div>
  324.           <!--Blank--></td>
  325.     </tr>
  326.   </table>
  327. </div>
  328. </BODY>