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

家庭/个人应用

开发平台:

ASP/ASPX

  1. <!--#include file="articleconn.asp"-->
  2. <HTML><HEAD>
  3. <%set rs=conn.execute("select * from [home]")%>
  4. <TITLE><%=rs("homes")%></TITLE>
  5. <META http-equiv=Content-Type content="text/html; charset=gb2312">
  6. <LINK href="img/style.css" type=text/css rel=stylesheet>
  7. <style>
  8. <!--
  9. .style3 {
  10. font-family: "宋体";
  11. font-size: 12px;
  12. }
  13. .style1 {color: #FFFFFF}
  14. -->
  15. </style>
  16. </head>
  17. <body>
  18. <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0><TBODY><TR align=right>
  19. <TD>
  20. </TD>
  21. </TR></TBODY></TABLE>
  22. <!--#include file=top.asp-->
  23. <TABLE cellSpacing=0 cellPadding=0 width=993 border=0>
  24. <TBODY>
  25. <TR>
  26. <TD bgColor=#7d7d7d height=1></TD></TR></TBODY></TABLE>
  27. <TABLE cellSpacing=0 cellPadding=0 width=993 border=0>
  28. <TBODY>
  29. <TR>
  30. <TD bgColor=#ffffff height=2></TD></TR></TBODY></TABLE>
  31. <TABLE cellSpacing=0 cellPadding=0 width=993 bgColor=#ffffff border=0>
  32. <TBODY>
  33. <TR>
  34. <TD vAlign=top align=middle>
  35. <TABLE cellSpacing=0 cellPadding=0 width=977 border=0>
  36. <TBODY>
  37. <TR>
  38. <TD background=img/2.gif height=8></TD></TR></TBODY></TABLE>
  39. <TABLE cellSpacing=1 cellPadding=0 width=977 bgColor=#b7b7b7 border=0>
  40. <TBODY>
  41. <TR>
  42. <TD bgColor=#ffffff>
  43. <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
  44. <TBODY>
  45. <TR>
  46. <TD>
  47. <TABLE height=94 cellSpacing=0 cellPadding=1 width="100%" border=0>
  48. <TBODY>
  49. <TR>
  50. <TD align=right width=189><IMG height=90 src="img/channel_title_movie.gif" width=188></TD>
  51. <TD>
  52. <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>
  53. <PARAM NAME="movie" VALUE="img/banner_780x90.swf">
  54. <PARAM NAME="quality" VALUE="High">
  55.  
  56. <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>
  57. <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
  58. <TBODY>
  59. <TR>
  60. <TD background=img/1.jpg height=12></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
  61. <TABLE cellSpacing=0 cellPadding=0 width=977 border=0>
  62. <TBODY>
  63. <TR>
  64. <TD height=2></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
  65. <TABLE cellSpacing=0 cellPadding=0 width=993 bgColor=#ffffff border=0>
  66. <TBODY>
  67. <TR>
  68. <TD vAlign=top align=middle>
  69. <TABLE height=36 cellSpacing=0 cellPadding=0 width=977 border=0>
  70. <TBODY>
  71. <TR>
  72. <TD vAlign=top width=977 height=9>
  73. </TD>
  74. </TR>
  75. <TR>
  76. <TD vAlign=top width=977 height=8 background="img/20.gif">
  77. <img src height=8 width=1></TD>
  78. </TR>
  79. <TR>
  80. <TD vAlign=top width=977 height=4>
  81. <table border="1" width="100%" cellspacing="0" cellpadding="0" style="border-collapse: collapse" bordercolor="#C0C0C0">
  82. <tr>
  83. <td>
  84. <TABLE cellPadding=0 width="100%" border=0 id="table1" bordercolorlight="#E1DFDF" bordercolordark="#E1DFDF" bordercolor="#CDCDCD" cellspacing="5"><TBODY>
  85. <TR align=right>
  86. <TD>
  87. <div align="center">
  88. <table width="126" border="0" cellpadding="0" cellspacing="0">
  89. <%
  90. sql="select * from learning where where='大陆' and typeid<>'搞笑片段' order by articleid desc"
  91. set rs=server.createobject("adodb.recordset")
  92. rs.open sql,conn,1,1
  93. row_count=1
  94. %>
  95. <%
  96. rs.pagesize=20
  97. if request.querystring("page_no")="" then
  98.     page_no=1
  99. else
  100. page_no=cint(request.querystring("page_no"))
  101. end if
  102. rs.absolutepage=page_no
  103. for i=1 to 5
  104. %>
  105. <tr>
  106. <%
  107. for j=1 to 6
  108. if not rs.eof then
  109. %>
  110. <td align="right">
  111. <div align="center">
  112. <table width="126" border="0" cellspacing="0" cellpadding="0">
  113. <tr height="119" align="center">
  114. <td width="3"><!--Blank--></td>
  115. <td width="123" background="images/commend_pic.gif"><table border="1" width="100%" cellpadding="0" style="border-collapse: collapse" bordercolor="#939393" id="table5">
  116. <tr>
  117. <td height="196"><table border="0" cellspacing="4" width="100%" cellpadding="0" id="table5">
  118. <tr>
  119. <td><a href="movie.asp?id=<%=rs("articleid")%>" target="_blank">
  120. <img border="0" src="<%if rs("domurl")="" then%>img/w.gif<%else%><%=rs("domurl")%><%end if%>" width="140" height="194"></a></td>
  121. </tr>
  122. </table></td>
  123. </tr>
  124. </table></td>
  125. </tr>
  126. <tr height="21" align="middle">
  127. <td width="5"><img src height=1 width=9></td>
  128. <td background="img/8.gif"><table border="0" cellspacing="0" width="90%" cellpadding="0">
  129. <tr>
  130. <td height="22" width=109 align="center">
  131. <% if row_count mod 1 =0 then%>
  132.                               <%content=rs("title")
  133.                             if len(content)>10 then content=left(content,10)&"?-"
  134.                           response.write content
  135.                             %> 
  136. </td>
  137. <td>
  138. <p align="center"><a href="movie.asp?id=<%=rs("articleid")%>" target="_blank">
  139. <img src="img/sort_play1.gif" width="18" height="18" border="0" alt="播放"></a></td>
  140. </tr>
  141. </table></td>
  142. </tr>
  143. </table>
  144. </div>
  145. </td>
  146. <%end if%>
  147. <%
  148. row_count=row_count+1
  149. rs.movenext
  150. end if
  151. next
  152. %>
  153. </tr>
  154. <%
  155. next
  156. %>
  157. </table>
  158. </div>
  159. </TD>
  160. </TR></TBODY></TABLE></td>
  161. </tr>
  162. </table>
  163. </TD>
  164. </TR>
  165. <TR>
  166. <TD vAlign=top width=977 height=8>
  167. </TD>
  168. </TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
  169. <TABLE height=8 cellSpacing=0 cellPadding=0 width=993 background=img/20.gif border=0>
  170. <TBODY>
  171. <TR>
  172. <TD width=8 bgColor=#ffffff></TD>
  173. <TD><img src height=8 width=1></TD>
  174. <TD width=8 bgColor=#ffffff> </TD></TR></TBODY></TABLE>
  175. <TABLE cellSpacing=0 cellPadding=0 width=993 border=0>
  176. <TBODY>
  177. <TR>
  178. <TD align=right bgColor=#ffffff>
  179. <table border="0" width="100%" cellspacing="7" cellpadding="0">
  180. <tr>
  181. <td>
  182. <img alt="欢迎与本站友情连接~" src="http://www.1000n.com/logo.gif" border="0"></td>
  183. <td> </td>
  184. <td> </td>
  185. <td> </td>
  186. <td> </td>
  187. <td> </td>
  188. <td> </td>
  189. <td> </td>
  190. <td> </td>
  191. <td> </td>
  192. </tr>
  193. <tr>
  194. <td> </td>
  195. <td> </td>
  196. <td> </td>
  197. <td> </td>
  198. <td> </td>
  199. <td> </td>
  200. <td> </td>
  201. <td> </td>
  202. <td> </td>
  203. <td> </td>
  204. </tr>
  205. </table>
  206. </TD>
  207. </TR></TBODY></TABLE>
  208. <TABLE height=8 cellSpacing=0 cellPadding=0 width=993 background=img/20.gif border=0>
  209. <TBODY>
  210. <TR>
  211. <TD width=8 bgColor=#ffffff></TD>
  212. <TD height="9"><img src height=8 width=1></TD>
  213. <TD width=8 bgColor=#ffffff> </TD></TR></TBODY></TABLE>
  214. <!--#include file=bottom.asp-->