list2.asp
上传用户:yjkj1008
上传日期:2020-10-17
资源大小:1496k
文件大小:20k
源码类别:

电子政务应用

开发平台:

HTML/CSS

  1. <%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
  2. <!--#include file="Connections/conn_news.asp" -->
  3. <%
  4. Dim rsmenu
  5. Dim rsmenu_numRows
  6. Set rsmenu = Server.CreateObject("ADODB.Recordset")
  7. rsmenu.ActiveConnection = MM_conn_news_STRING
  8. rsmenu.Source = "SELECT * FROM t_type"
  9. rsmenu.CursorType = 0
  10. rsmenu.CursorLocation = 2
  11. rsmenu.LockType = 1
  12. rsmenu.Open()
  13. rsmenu_numRows = 0
  14. %>
  15. <%
  16. Dim rsnlist__MMColParam
  17. rsnlist__MMColParam = "1"
  18. If (Request.QueryString("t_id") <> "") Then 
  19.   rsnlist__MMColParam = Request.QueryString("t_id")
  20. End If
  21. %>
  22. <%
  23. Dim rsnlist
  24. Dim rsnlist_numRows
  25. Set rsnlist = Server.CreateObject("ADODB.Recordset")
  26. rsnlist.ActiveConnection = MM_conn_news_STRING
  27. rsnlist.Source = "SELECT *  FROM t_news  WHERE n_tid = " + Replace(rsnlist__MMColParam, "'", "''") + " and n_check = true  ORDER BY n_date DESC"
  28. rsnlist.CursorType = 0
  29. rsnlist.CursorLocation = 2
  30. rsnlist.LockType = 1
  31. rsnlist.Open()
  32. rsnlist_numRows = 0
  33. %>
  34. <%
  35. Dim rstitle__MMColParam
  36. rstitle__MMColParam = "1"
  37. If (Request.QueryString("t_id") <> "") Then 
  38.   rstitle__MMColParam = Request.QueryString("t_id")
  39. End If
  40. %>
  41. <%
  42. Dim rstitle
  43. Dim rstitle_numRows
  44. Set rstitle = Server.CreateObject("ADODB.Recordset")
  45. rstitle.ActiveConnection = MM_conn_news_STRING
  46. rstitle.Source = "SELECT * FROM t_type WHERE t_id = " + Replace(rstitle__MMColParam, "'", "''") + ""
  47. rstitle.CursorType = 0
  48. rstitle.CursorLocation = 2
  49. rstitle.LockType = 1
  50. rstitle.Open()
  51. rstitle_numRows = 0
  52. %>
  53. <%
  54. Dim rsnst
  55. Dim rsnst_numRows
  56. Set rsnst = Server.CreateObject("ADODB.Recordset")
  57. rsnst.ActiveConnection = MM_conn_news_STRING
  58. rsnst.Source = "SELECT * FROM t_stype"
  59. rsnst.CursorType = 0
  60. rsnst.CursorLocation = 2
  61. rsnst.LockType = 1
  62. rsnst.Open()
  63. rsnst_numRows = 0
  64. %>
  65. <%
  66. Dim rsncom
  67. Dim rsncom_numRows
  68. Set rsncom = Server.CreateObject("ADODB.Recordset")
  69. rsncom.ActiveConnection = MM_conn_news_STRING
  70. rsncom.Source = "SELECT *  FROM t_news  WHERE n_commend = true and n_check = true  ORDER BY n_date DESC"
  71. rsncom.CursorType = 0
  72. rsncom.CursorLocation = 2
  73. rsncom.LockType = 1
  74. rsncom.Open()
  75. rsncom_numRows = 0
  76. %>
  77. <%
  78. Dim rssetup
  79. Dim rssetup_numRows
  80. Set rssetup = Server.CreateObject("ADODB.Recordset")
  81. rssetup.ActiveConnection = MM_conn_news_STRING
  82. rssetup.Source = "SELECT * FROM t_setup"
  83. rssetup.CursorType = 0
  84. rssetup.CursorLocation = 2
  85. rssetup.LockType = 1
  86. rssetup.Open()
  87. rssetup_numRows = 0
  88. %>
  89. <%
  90. Dim Repeat1__numRows
  91. Dim Repeat1__index
  92. Repeat1__numRows = -1
  93. Repeat1__index = 0
  94. rsmenu_numRows = rsmenu_numRows + Repeat1__numRows
  95. %>
  96. <%
  97. Dim Repeat2__numRows
  98. Dim Repeat2__index
  99. Repeat2__numRows = 20
  100. Repeat2__index = 0
  101. rsnlist_numRows = rsnlist_numRows + Repeat2__numRows
  102. %>
  103. <%
  104. Dim Repeat3__numRows
  105. Dim Repeat3__index
  106. Repeat3__numRows = -1
  107. Repeat3__index = 0
  108. rsnst_numRows = rsnst_numRows + Repeat3__numRows
  109. %>
  110. <%
  111. Dim Repeat4__numRows
  112. Dim Repeat4__index
  113. Repeat4__numRows = 10
  114. Repeat4__index = 0
  115. rsncom_numRows = rsncom_numRows + Repeat4__numRows
  116. %>
  117. <%
  118. '  *** Recordset Stats, Move To Record, and Go To Record: declare stats variables
  119. Dim rsnlist_total
  120. Dim rsnlist_first
  121. Dim rsnlist_last
  122. ' set the record count
  123. rsnlist_total = rsnlist.RecordCount
  124. ' set the number of rows displayed on this page
  125. If (rsnlist_numRows < 0) Then
  126.   rsnlist_numRows = rsnlist_total
  127. Elseif (rsnlist_numRows = 0) Then
  128.   rsnlist_numRows = 1
  129. End If
  130. ' set the first and last displayed record
  131. rsnlist_first = 1
  132. rsnlist_last  = rsnlist_first + rsnlist_numRows - 1
  133. ' if we have the correct record count, check the other stats
  134. If (rsnlist_total <> -1) Then
  135.   If (rsnlist_first > rsnlist_total) Then
  136.     rsnlist_first = rsnlist_total
  137.   End If
  138.   If (rsnlist_last > rsnlist_total) Then
  139.     rsnlist_last = rsnlist_total
  140.   End If
  141.   If (rsnlist_numRows > rsnlist_total) Then
  142.     rsnlist_numRows = rsnlist_total
  143.   End If
  144. End If
  145. %>
  146. <%
  147. ' *** Recordset Stats: if we don't know the record count, manually count them
  148. If (rsnlist_total = -1) Then
  149.   ' count the total records by iterating through the recordset
  150.   rsnlist_total=0
  151.   While (Not rsnlist.EOF)
  152.     rsnlist_total = rsnlist_total + 1
  153.     rsnlist.MoveNext
  154.   Wend
  155.   ' reset the cursor to the beginning
  156.   If (rsnlist.CursorType > 0) Then
  157.     rsnlist.MoveFirst
  158.   Else
  159.     rsnlist.Requery
  160.   End If
  161.   ' set the number of rows displayed on this page
  162.   If (rsnlist_numRows < 0 Or rsnlist_numRows > rsnlist_total) Then
  163.     rsnlist_numRows = rsnlist_total
  164.   End If
  165.   ' set the first and last displayed record
  166.   rsnlist_first = 1
  167.   rsnlist_last = rsnlist_first + rsnlist_numRows - 1
  168.   
  169.   If (rsnlist_first > rsnlist_total) Then
  170.     rsnlist_first = rsnlist_total
  171.   End If
  172.   If (rsnlist_last > rsnlist_total) Then
  173.     rsnlist_last = rsnlist_total
  174.   End If
  175. End If
  176. %>
  177. <%
  178. Dim MM_paramName 
  179. %>
  180. <%
  181. ' *** Move To Record and Go To Record: declare variables
  182. Dim MM_rs
  183. Dim MM_rsCount
  184. Dim MM_size
  185. Dim MM_uniqueCol
  186. Dim MM_offset
  187. Dim MM_atTotal
  188. Dim MM_paramIsDefined
  189. Dim MM_param
  190. Dim MM_index
  191. Set MM_rs    = rsnlist
  192. MM_rsCount   = rsnlist_total
  193. MM_size      = rsnlist_numRows
  194. MM_uniqueCol = ""
  195. MM_paramName = ""
  196. MM_offset = 0
  197. MM_atTotal = false
  198. MM_paramIsDefined = false
  199. If (MM_paramName <> "") Then
  200.   MM_paramIsDefined = (Request.QueryString(MM_paramName) <> "")
  201. End If
  202. %>
  203. <%
  204. ' *** Move To Record: handle 'index' or 'offset' parameter
  205. if (Not MM_paramIsDefined And MM_rsCount <> 0) then
  206.   ' use index parameter if defined, otherwise use offset parameter
  207.   MM_param = Request.QueryString("index")
  208.   If (MM_param = "") Then
  209.     MM_param = Request.QueryString("offset")
  210.   End If
  211.   If (MM_param <> "") Then
  212.     MM_offset = Int(MM_param)
  213.   End If
  214.   ' if we have a record count, check if we are past the end of the recordset
  215.   If (MM_rsCount <> -1) Then
  216.     If (MM_offset >= MM_rsCount Or MM_offset = -1) Then  ' past end or move last
  217.       If ((MM_rsCount Mod MM_size) > 0) Then         ' last page not a full repeat region
  218.         MM_offset = MM_rsCount - (MM_rsCount Mod MM_size)
  219.       Else
  220.         MM_offset = MM_rsCount - MM_size
  221.       End If
  222.     End If
  223.   End If
  224.   ' move the cursor to the selected record
  225.   MM_index = 0
  226.   While ((Not MM_rs.EOF) And (MM_index < MM_offset Or MM_offset = -1))
  227.     MM_rs.MoveNext
  228.     MM_index = MM_index + 1
  229.   Wend
  230.   If (MM_rs.EOF) Then 
  231.     MM_offset = MM_index  ' set MM_offset to the last possible record
  232.   End If
  233. End If
  234. %>
  235. <%
  236. ' *** Move To Record: if we dont know the record count, check the display range
  237. If (MM_rsCount = -1) Then
  238.   ' walk to the end of the display range for this page
  239.   MM_index = MM_offset
  240.   While (Not MM_rs.EOF And (MM_size < 0 Or MM_index < MM_offset + MM_size))
  241.     MM_rs.MoveNext
  242.     MM_index = MM_index + 1
  243.   Wend
  244.   ' if we walked off the end of the recordset, set MM_rsCount and MM_size
  245.   If (MM_rs.EOF) Then
  246.     MM_rsCount = MM_index
  247.     If (MM_size < 0 Or MM_size > MM_rsCount) Then
  248.       MM_size = MM_rsCount
  249.     End If
  250.   End If
  251.   ' if we walked off the end, set the offset based on page size
  252.   If (MM_rs.EOF And Not MM_paramIsDefined) Then
  253.     If (MM_offset > MM_rsCount - MM_size Or MM_offset = -1) Then
  254.       If ((MM_rsCount Mod MM_size) > 0) Then
  255.         MM_offset = MM_rsCount - (MM_rsCount Mod MM_size)
  256.       Else
  257.         MM_offset = MM_rsCount - MM_size
  258.       End If
  259.     End If
  260.   End If
  261.   ' reset the cursor to the beginning
  262.   If (MM_rs.CursorType > 0) Then
  263.     MM_rs.MoveFirst
  264.   Else
  265.     MM_rs.Requery
  266.   End If
  267.   ' move the cursor to the selected record
  268.   MM_index = 0
  269.   While (Not MM_rs.EOF And MM_index < MM_offset)
  270.     MM_rs.MoveNext
  271.     MM_index = MM_index + 1
  272.   Wend
  273. End If
  274. %>
  275. <%
  276. ' *** Move To Record: update recordset stats
  277. ' set the first and last displayed record
  278. rsnlist_first = MM_offset + 1
  279. rsnlist_last  = MM_offset + MM_size
  280. If (MM_rsCount <> -1) Then
  281.   If (rsnlist_first > MM_rsCount) Then
  282.     rsnlist_first = MM_rsCount
  283.   End If
  284.   If (rsnlist_last > MM_rsCount) Then
  285.     rsnlist_last = MM_rsCount
  286.   End If
  287. End If
  288. ' set the boolean used by hide region to check if we are on the last record
  289. MM_atTotal = (MM_rsCount <> -1 And MM_offset + MM_size >= MM_rsCount)
  290. %>
  291. <%
  292. ' *** Go To Record and Move To Record: create strings for maintaining URL and Form parameters
  293. Dim MM_keepNone
  294. Dim MM_keepURL
  295. Dim MM_keepForm
  296. Dim MM_keepBoth
  297. Dim MM_removeList
  298. Dim MM_item
  299. Dim MM_nextItem
  300. ' create the list of parameters which should not be maintained
  301. MM_removeList = "&index="
  302. If (MM_paramName <> "") Then
  303.   MM_removeList = MM_removeList & "&" & MM_paramName & "="
  304. End If
  305. MM_keepURL=""
  306. MM_keepForm=""
  307. MM_keepBoth=""
  308. MM_keepNone=""
  309. ' add the URL parameters to the MM_keepURL string
  310. For Each MM_item In Request.QueryString
  311.   MM_nextItem = "&" & MM_item & "="
  312.   If (InStr(1,MM_removeList,MM_nextItem,1) = 0) Then
  313.     MM_keepURL = MM_keepURL & MM_nextItem & Server.URLencode(Request.QueryString(MM_item))
  314.   End If
  315. Next
  316. ' add the Form variables to the MM_keepForm string
  317. For Each MM_item In Request.Form
  318.   MM_nextItem = "&" & MM_item & "="
  319.   If (InStr(1,MM_removeList,MM_nextItem,1) = 0) Then
  320.     MM_keepForm = MM_keepForm & MM_nextItem & Server.URLencode(Request.Form(MM_item))
  321.   End If
  322. Next
  323. ' create the Form + URL string and remove the intial '&' from each of the strings
  324. MM_keepBoth = MM_keepURL & MM_keepForm
  325. If (MM_keepBoth <> "") Then 
  326.   MM_keepBoth = Right(MM_keepBoth, Len(MM_keepBoth) - 1)
  327. End If
  328. If (MM_keepURL <> "")  Then
  329.   MM_keepURL  = Right(MM_keepURL, Len(MM_keepURL) - 1)
  330. End If
  331. If (MM_keepForm <> "") Then
  332.   MM_keepForm = Right(MM_keepForm, Len(MM_keepForm) - 1)
  333. End If
  334. ' a utility function used for adding additional parameters to these strings
  335. Function MM_joinChar(firstItem)
  336.   If (firstItem <> "") Then
  337.     MM_joinChar = "&"
  338.   Else
  339.     MM_joinChar = ""
  340.   End If
  341. End Function
  342. %>
  343. <%
  344. ' *** Move To Record: set the strings for the first, last, next, and previous links
  345. Dim MM_keepMove
  346. Dim MM_moveParam
  347. Dim MM_moveFirst
  348. Dim MM_moveLast
  349. Dim MM_moveNext
  350. Dim MM_movePrev
  351. Dim MM_urlStr
  352. Dim MM_paramList
  353. Dim MM_paramIndex
  354. Dim MM_nextParam
  355. MM_keepMove = MM_keepBoth
  356. MM_moveParam = "index"
  357. ' if the page has a repeated region, remove 'offset' from the maintained parameters
  358. If (MM_size > 1) Then
  359.   MM_moveParam = "offset"
  360.   If (MM_keepMove <> "") Then
  361.     MM_paramList = Split(MM_keepMove, "&")
  362.     MM_keepMove = ""
  363.     For MM_paramIndex = 0 To UBound(MM_paramList)
  364.       MM_nextParam = Left(MM_paramList(MM_paramIndex), InStr(MM_paramList(MM_paramIndex),"=") - 1)
  365.       If (StrComp(MM_nextParam,MM_moveParam,1) <> 0) Then
  366.         MM_keepMove = MM_keepMove & "&" & MM_paramList(MM_paramIndex)
  367.       End If
  368.     Next
  369.     If (MM_keepMove <> "") Then
  370.       MM_keepMove = Right(MM_keepMove, Len(MM_keepMove) - 1)
  371.     End If
  372.   End If
  373. End If
  374. ' set the strings for the move to links
  375. If (MM_keepMove <> "") Then 
  376.   MM_keepMove = MM_keepMove & "&"
  377. End If
  378. MM_urlStr = Request.ServerVariables("URL") & "?" & MM_keepMove & MM_moveParam & "="
  379. MM_moveFirst = MM_urlStr & "0"
  380. MM_moveLast  = MM_urlStr & "-1"
  381. MM_moveNext  = MM_urlStr & CStr(MM_offset + MM_size)
  382. If (MM_offset - MM_size < 0) Then
  383.   MM_movePrev = MM_urlStr & "0"
  384. Else
  385.   MM_movePrev = MM_urlStr & CStr(MM_offset - MM_size)
  386. End If
  387. %>
  388. <SCRIPT RUNAT=SERVER LANGUAGE=VBSCRIPT>
  389. function DoDateTime(str, nNamedFormat, nLCID)
  390. dim strRet
  391. dim nOldLCID
  392. strRet = str
  393. If (nLCID > -1) Then
  394. oldLCID = Session.LCID
  395. End If
  396. On Error Resume Next
  397. If (nLCID > -1) Then
  398. Session.LCID = nLCID
  399. End If
  400. If ((nLCID < 0) Or (Session.LCID = nLCID)) Then
  401. strRet = FormatDateTime(str, nNamedFormat)
  402. End If
  403. If (nLCID > -1) Then
  404. Session.LCID = oldLCID
  405. End If
  406. DoDateTime = strRet
  407. End Function
  408. </SCRIPT>
  409. <html>
  410. <head>
  411. <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
  412. <title>江西武宁<%=(rstitle.Fields.Item("t_name").Value)%>网:打造九江武宁第一门户网!</title><!--#include file="top.asp" -->
  413. <link href="config/beauty.css" rel="stylesheet" type="text/css">
  414. </head>
  415. <body bgcolor="#990000" background="pic_site/bgw.gif" leftmargin="0" topmargin="5" marginwidth="0" marginheight="0">
  416. <table width="760" border="0" align="center" cellpadding="0" cellspacing="0">
  417.   <tr>
  418.     <td height="1"><img src="pic_site/line_horz.gif" width="760" height="1"></td>
  419.   </tr>
  420. </table>
  421. <div align="center">
  422.   <center>
  423. <table width="760" height="29" border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse">
  424.   <tr> 
  425.     <td width="200" align="center" class="dot" height="29" bgcolor="#FFFFFF" rowspan="2"> 
  426.       <font color="<%=(rstitle.Fields.Item("top_bj").Value)%>"> 
  427.       <img border="0" src="<%=(rstitle.Fields.Item("ima").Value)%>"></font></td>
  428.     <td width="560" align="center" class="dot" height="24" bgcolor="<%=(rstitle.Fields.Item("top_bj").Value)%>" valign="top"> 
  429.       <p align="left"><img border="0" src="pic/jiao.gif" width="38" height="22"></td>
  430.   </tr>    
  431.   <tr>
  432.     <td width="560" align="center" class="dot" height="5" bgcolor="<%=(rstitle.Fields.Item("top_bj2").Value)%>">
  433.        </td>
  434.   </tr>
  435. </table>    
  436.   </center>
  437. </div>
  438. <table width="760" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" height="181">
  439.   <tr> 
  440.     <td width="200" valign="top" height="181"> </td>
  441.     <td height="181" valign="top"><table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#CCCCCC">
  442.         <tr> 
  443.           <form action="result.asp" method="get" name="form1">
  444.             <td align="center" bgcolor="#FFFFFF" > 
  445.               <font color="<%=(rstitle.Fields.Item("top_bj").Value)%>"> 
  446.               <input name="shuru" type="text" id="shuru23" size="20" style="border: 1px solid #000000; background-color: #E8E8E8"> 
  447.               <select name="fangshi" id="fangshi">
  448.                 <option value="n_title" selected>标题</option>
  449.                 <option value="n_author">作者</option>
  450.                 <option value="n_content">内容</option>
  451.               </select> 
  452.               <input type="submit" value="本站搜索" style="border: 1px solid #666666; background-color: #E8E8E8">
  453.               </font>
  454.             </td>
  455.           </form>
  456.         </tr>
  457.       </table>
  458.       <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
  459.         
  460.         
  461.         
  462.         
  463.         
  464.         <tr>
  465.           <td>
  466. <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
  467.               <tr> 
  468.                 <td width="20%"><table width="100%" height="20" border="0" align="center" cellpadding="0" cellspacing="0">
  469.                     <tr bgcolor="#999900"> 
  470.                       <td height="2" colspan="3" align="center"></td>
  471.                     </tr>
  472.                     <tr bgcolor="#F5F5F5"> 
  473.                       <td width="95%" height="18"><font color="<%=(rstitle.Fields.Item("top_bj").Value)%>">※<%=(rstitle.Fields.Item("t_name").Value)%></font></td>
  474.                     </tr>
  475.                   </table></td>
  476.               </tr>
  477.               <tr> 
  478.                 <td> <TABLE border=0 cellPadding=2 cellSpacing=0 width="100%">
  479.                     <TBODY>
  480.                       <% 
  481. While ((Repeat2__numRows <> 0) AND (NOT rsnlist.EOF)) 
  482. %><font color="<%=(rstitle.Fields.Item("top_bj").Value)%>"> </font>
  483.                       <TR> 
  484.                         <TD align=center width=10%><font color="<%=(rstitle.Fields.Item("top_bj").Value)%>"><img src="pic_site/arrow.gif" width="15" height="11"></font></TD>
  485.                         <TD width="70%"><a href="<%=(rsnlist.Fields.Item("n_tid").Value)%>/<%=(rsnlist.Fields.Item("n_fname").Value)%>" target="_blank"><%=(rsnlist.Fields.Item("n_title").Value)%></a><% If rsnlist("n_commend") = true Then %><font color="<%=(rstitle.Fields.Item("top_bj").Value)%>">[推荐]<% End If %><% If rsnlist("n_index") = true Then %>[首页]<% End If %>
  486.  </TD>
  487.                         <TD width="20%" align="right"><%= DoDateTime((rsnlist.Fields.Item("n_date").Value), 2, -1) %></TD>
  488.                       </TR>
  489.                       <% 
  490.   Repeat2__index=Repeat2__index+1
  491.   Repeat2__numRows=Repeat2__numRows-1
  492.   rsnlist.MoveNext()
  493. Wend
  494. %> </font>
  495.                     </TBODY>
  496.                   </TABLE></td>
  497.               </tr>
  498.             </table></td>
  499.         </tr>
  500.       </table><font color="<%=(rstitle.Fields.Item("top_bj").Value)%>"><br>
  501.       |
  502. <%
  503. TM_counter = 0
  504. For i = 1 to rsnlist_total Step MM_size
  505. TM_counter = TM_counter + 1
  506. TM_PageEndCount = i + MM_size - 1
  507. if TM_PageEndCount > rsnlist_total Then TM_PageEndCount = rsnlist_total
  508. if i <> MM_offset + 1 then
  509. Response.Write("<a href=""" & Request.ServerVariables("URL") & "?" & MM_keepMove & "offset=" & i-1 & """>")
  510. Response.Write(TM_counter & "</a>")
  511. else
  512. Response.Write("<b>" & TM_counter & "</b>")
  513. End if
  514. if(TM_PageEndCount <> rsnlist_total) then Response.Write(" | ")
  515. next
  516.  %>
  517.       | </font> </td>
  518.     <td width="170" valign="top" bgcolor="#FFF7F4" height="181"> 
  519.       <table width="98%" border="0" align="center" cellpadding="3" cellspacing="0">
  520.         <tr> 
  521.           <td bgcolor="<%=(rstitle.Fields.Item("top_bj").Value)%>">
  522.           <font color="<%=(rstitle.Fields.Item("top_bj").Value)%>">: 文章专题 ::.</font></td>
  523.         </tr>          <% 
  524. While ((Repeat3__numRows <> 0) AND (NOT rsnst.EOF)) 
  525. %><font color="<%=(rstitle.Fields.Item("top_bj").Value)%>"> </font>
  526.         <tr> 
  527.           <td><font color="<%=(rstitle.Fields.Item("top_bj").Value)%>">·</font><a href="listst.asp?s_id=<%=(rsnst.Fields.Item("s_id").Value)%>" target="_blank"><font color="<%=(rstitle.Fields.Item("top_bj").Value)%>"><%=(rsnst.Fields.Item("s_name").Value)%></font></a></td>
  528.         </tr>          <% 
  529.   Repeat3__index=Repeat3__index+1
  530.   Repeat3__numRows=Repeat3__numRows-1
  531.   rsnst.MoveNext()
  532. Wend
  533. %><font color="<%=(rstitle.Fields.Item("top_bj").Value)%>"> </font>
  534.       </table> 
  535.       <table width="98%" border="0" align="center" cellpadding="3" cellspacing="0">
  536.         <tr> 
  537.           <td bgcolor="<%=(rstitle.Fields.Item("top_bj").Value)%>">
  538.           <font color="<%=(rstitle.Fields.Item("top_bj").Value)%>">: 推荐新闻 ::.</font></td>
  539.         </tr>          <% 
  540. While ((Repeat4__numRows <> 0) AND (NOT rsncom.EOF)) 
  541. %><font color="<%=(rstitle.Fields.Item("top_bj").Value)%>"> </font>
  542.         <tr> 
  543.           <td><font color="<%=(rstitle.Fields.Item("top_bj").Value)%>">·</font><a href="<%=(rsncom.Fields.Item("n_tid").Value)%>/<%=(rsncom.Fields.Item("n_fname").Value)%>" target="_blank"><font color="<%=(rstitle.Fields.Item("top_bj").Value)%>"><%=(rsncom.Fields.Item("n_title").Value)%></font></a></td>
  544.     </tr>          <% 
  545.   Repeat4__index=Repeat4__index+1
  546.   Repeat4__numRows=Repeat4__numRows-1
  547.   rsncom.MoveNext()
  548. Wend
  549. %><font color="<%=(rstitle.Fields.Item("top_bj").Value)%>"> </font>
  550.     
  551.       </table></td>
  552.   </tr>
  553. </table>    
  554. <table width="760" border="0" align="center" cellpadding="0" cellspacing="0">    
  555.   <tr>    
  556.     <td><img src="pic_site/line_horz.gif" width="760" height="1"></td>    
  557.   </tr>    
  558. </table>    
  559. <table width="760" height="19" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#CC0000">    
  560.   <tr>    
  561.     <td align="center" bgcolor="<%=(rstitle.Fields.Item("top_bj").Value)%>" height="19">  </td>     
  562.   </tr>    
  563. </table>    
  564. <table width="center"><!--#include file="../end.asp" --></table></body>    
  565. </html>
  566. <%
  567. rsmenu.Close()
  568. Set rsmenu = Nothing
  569. %>
  570. <%
  571. rsnlist.Close()
  572. Set rsnlist = Nothing
  573. %>
  574. <%
  575. rstitle.Close()
  576. Set rstitle = Nothing
  577. %>
  578. <%
  579. rsnst.Close()
  580. Set rsnst = Nothing
  581. %>
  582. <%
  583. rsncom.Close()
  584. Set rsncom = Nothing
  585. %>
  586. <%
  587. rssetup.Close()
  588. Set rssetup = Nothing
  589. %>