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

电子政务应用

开发平台:

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)%>
  413. </title><!--#include file="../top1.asp" -->
  414. <link href="config/beauty.css" rel="stylesheet" type="text/css">
  415. </head>
  416. <body bgcolor="#990000" background="pic_site/bgw.gif" leftmargin="0" topmargin="5" marginwidth="0" marginheight="0">
  417. <table width="760" border="0" align="center" cellpadding="0" cellspacing="0">
  418.   <tr>
  419.     <td height="1"><img src="pic_site/line_horz.gif" width="760" height="1"></td>
  420.   </tr>
  421. </table>
  422. <div align="center">
  423.   <center>
  424. <table width="760" height="23" border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse">
  425.   <tr> 
  426.     <td width="760" align="center" class="dot" height="23" bgcolor="#FFFFFF" background="../PIC/bg.gif"> 
  427.        </td>
  428.   </tr>    
  429.   </table>    
  430.   </center>
  431. </div>
  432. <div align="center">
  433.   <center>
  434. <table width="760" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" height="410" style="border-collapse: collapse">
  435.   <tr> 
  436.     <td height="389" valign="top" width="561"><table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#CCCCCC">
  437.         </table>
  438.       <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
  439.         
  440.         
  441.         
  442.         
  443.         
  444.         <tr>
  445.           <td>
  446. <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
  447.               <tr> 
  448.                 <td width="20%">
  449.                 <table width="100%" height="25" border="0" align="center" cellpadding="0" cellspacing="0">
  450.                     <tr bgcolor="#F5F5F5"> 
  451.                       <td width="95%" height="41" bgcolor="#FFFFFF"> 
  452.       
  453.       <img border="0" src="<%=(rstitle.Fields.Item("ima").Value)%>" width="535" height="30"></td>
  454.                     </tr>
  455.                   </table></td>
  456.               </tr>
  457.               <tr> 
  458.                 <td> 
  459.                 <TABLE border=0 cellPadding=2 cellSpacing=0 width="100%" height="32">
  460.                     <TBODY>
  461.                       <% 
  462. While ((Repeat2__numRows <> 0) AND (NOT rsnlist.EOF)) 
  463. %>
  464.                       <TR> 
  465.                         <TD align=center width=10% height="28" valign="middle" background="../PIC/line1.gif">
  466.                         <img src="pic_site/arrow.gif" width="30" height="10"></font></TD>
  467.                         <TD width="70%" height="28" valign="middle" background="../PIC/line1.gif"><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 %>
  468.  </TD>  
  469.                       </TR>
  470.                       <% 
  471.   Repeat2__index=Repeat2__index+1
  472.   Repeat2__numRows=Repeat2__numRows-1
  473.   rsnlist.MoveNext()
  474. Wend
  475. %> 
  476.                     </TBODY>
  477.                   </TABLE></td>
  478.               </tr>
  479.             </table></td>
  480.         </tr>
  481.       </table><br>
  482. </td>
  483.     <td width="83" valign="top" bgcolor="#f7f7f7" height="410" rowspan="2"> 
  484.       <table width="98%" border="0" align="center" cellpadding="3" cellspacing="0" height="31">
  485.         <tr> 
  486.           <td  height="5">
  487.           <img border="0" src="../PIC/ss.jpg" width="194" height="34"></td>
  488.         </tr>          <% 
  489. While ((Repeat3__numRows <> 0) AND (NOT rsnst.EOF)) 
  490. %>
  491.         <% 
  492.   Repeat3__index=Repeat3__index+1
  493.   Repeat3__numRows=Repeat3__numRows-1
  494.   rsnst.MoveNext()
  495. Wend
  496. %>
  497.         <tr>
  498.           <td  height="14" valign="top">
  499.           <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" width="100%" id="AutoNumber1" height="30">
  500.             <tr>
  501.               <td width="96%" height="30" bgcolor="#D9E9F9" align="center">  
  502.               <form action="result.asp" method="get" name="form1">
  503.               <p align="left">
  504.               <font color="#4B97E6">输关键词:<input name="shuru" type="text" id="shuru23" size="12" style="border: 1px solid #4292E0; background-color: #FFFFFF" ><br> 
  505.               选择条件:</font><select name="fangshi" id="fangshi" style="color: #338CD9; background-color: #FFFFFF">
  506.                 <option value="n_title" selected>标题</option>
  507.                 <option value="n_author">作者</option>
  508.                 <option value="n_content">内容</option>
  509.               </select><br>  
  510.               &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  511.               <input type="submit" value="本站搜索" style="color: #FFFFFF; background-color: #4292E0" >
  512.               </p>
  513.               
  514.             </td>
  515.           </form></td>
  516.             </tr>
  517.           </table>
  518.           </td>
  519.         </tr>
  520.       </table> 
  521.       <div align="center">
  522.         <center> 
  523.       <table width="198" border="0" cellpadding="3" cellspacing="0" bgcolor="#FFFFFF" style="border-collapse: collapse" height="308">
  524.         <tr> 
  525.           <td  width="192" height="27">
  526.           <img border="0" src="../PIC/Index_10.jpg"></td>
  527.         </tr> <tr> 
  528.           <td width="192" height="332" bgcolor="#F7F7F7" valign="top">
  529.           <p align="center">
  530.           <iframe name=I1 marginwidth=0 
  531.       marginheight=0 src="../<%=(rstitle.Fields.Item("form").Value)%>" frameborder=0 width=176
  532.       scrolling=no height="332"></iframe></td>
  533.     </tr> 
  534.     
  535.       </table></center>
  536.       </div>
  537.     </td>
  538.   </tr>
  539.   <tr>
  540.     <td height="21" valign="top" width="561">
  541.     <p align="right"> 分页:      |
  542. <%
  543. TM_counter = 0
  544. For i = 1 to rsnlist_total Step MM_size
  545. TM_counter = TM_counter + 1
  546. TM_PageEndCount = i + MM_size - 1
  547. if TM_PageEndCount > rsnlist_total Then TM_PageEndCount = rsnlist_total
  548. if i <> MM_offset + 1 then
  549. Response.Write("<a href=""" & Request.ServerVariables("URL") & "?" & MM_keepMove & "offset=" & i-1 & """>")
  550. Response.Write(TM_counter & "</a>")
  551. else
  552. Response.Write("<b>" & TM_counter & "</b>")
  553. End if
  554. if(TM_PageEndCount <> rsnlist_total) then Response.Write(" | ")
  555. next
  556.  %>
  557.       |  </td>
  558.     </tr>
  559. </table>    
  560.   </center>
  561. </div>
  562. <table width="760" border="0" align="center" cellpadding="0" cellspacing="0">    
  563.   <tr>    
  564.     <td><img src="pic_site/line_horz.gif" width="760" height="1"></td>    
  565.   </tr>    
  566. </table>    
  567. <table width="center"><!--#include file="../end.asp" --></table></body>   
  568. </html>
  569. <%
  570. rsmenu.Close()
  571. Set rsmenu = Nothing
  572. %>
  573. <%
  574. rsnlist.Close()
  575. Set rsnlist = Nothing
  576. %>
  577. <%
  578. rstitle.Close()
  579. Set rstitle = Nothing
  580. %>
  581. <%
  582. rsnst.Close()
  583. Set rsnst = Nothing
  584. %>
  585. <%
  586. rsncom.Close()
  587. Set rsncom = Nothing
  588. %>
  589. <%
  590. rssetup.Close()
  591. Set rssetup = Nothing
  592. %>