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

电子政务应用

开发平台:

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("s_id")  <> "") Then 
  19.   rsnlist__MMColParam = Request.QueryString("s_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_sid = " + 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("s_id") <> "") Then 
  38.   rstitle__MMColParam = Request.QueryString("s_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_stype WHERE s_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><%=(rssetup.Fields.Item("st_title").Value)%>:</title><!--#include file="../top1.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 height="85" BORDER=0 align="center" CELLPADDING=0 CELLSPACING=0 bgcolor="#FFFFFF">
  417.   <TR> 
  418.   </TR>
  419. </TABLE>
  420. <table width="760" height="1" border="0" align="center" cellpadding="0" cellspacing="0" background="pic_site/tbg.gif">
  421.   <tr> 
  422.   </tr>    
  423. </table>    
  424. <table width="760" height="25" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF"> 
  425.   <tr>     
  426.   </tr>    
  427. </table>    
  428. <table width="760" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" height="259">
  429.   <tr> 
  430.     <td width="200" valign="top" height="259" rowspan="2">
  431.     <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" width="100%" id="AutoNumber1" height="526">
  432.       <tr>
  433.         <td width="100%" height="22">
  434.         <p align="center"><img border="0" src="../PIC/Index_10.jpg"></td>
  435.       </tr>
  436.       <tr>
  437.         <td width="100%" height="504" valign="top" bgcolor="#F7F7F7">
  438.         <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" width="190" id="AutoNumber2">
  439.           <tr>
  440.             <td width="1">
  441.             <p align="center">     
  442.             <td height="200" width="91" rowspan="3" valign="top">
  443.     <table cellSpacing="0" cellPadding="3" width="100%" border="0">
  444.       <tr>
  445.         <td><img height="5" src="../PIC/Dot2.gif" width="3">&nbsp;<a href="listst.asp?s_id=3">武宁县志</a></td>
  446.       </tr>
  447.     </table>
  448.     <link href="style/css.css" type="text/css" rel="stylesheet">
  449.     <table cellSpacing="0" cellPadding="3" width="100%" border="0">
  450.       <tr>
  451.         <td><img height="5" src="../PIC/Dot2.gif" width="3">&nbsp;<a href="listst.asp?s_id=4">今日武宁</a></td>
  452.       </tr>
  453.     </table>
  454.     <link href="style/css.css" type="text/css" rel="stylesheet">
  455.     <table cellSpacing="0" cellPadding="3" width="100%" border="0">
  456.       <tr>
  457.         <td><img height="5" src="../PIC/Dot2.gif" width="3">&nbsp;<a href="listst.asp?s_id=5">武宁人文</a></td>
  458.       </tr>
  459.     </table>
  460.     <link href="style/css.css" type="text/css" rel="stylesheet">
  461.     <table cellSpacing="0" cellPadding="3" width="100%" border="0">
  462.       <tr>
  463.         <td><img height="5" src="../PIC/Dot2.gif" width="3">&nbsp;<a href="listst.asp?s_id=6">矿产资源</a></td>
  464.       </tr>
  465.     </table>
  466.     <link href="style/css.css" type="text/css" rel="stylesheet">
  467.     <table cellSpacing="0" cellPadding="3" width="100%" border="0">
  468.       <tr>
  469.         <td><img height="5" src="../PIC/Dot2.gif" width="3">&nbsp;<a href="listst.asp?s_id=7">县计委</a></td>
  470.       </tr>
  471.     </table>
  472.     <link href="style/css.css" type="text/css" rel="stylesheet">
  473.     <table cellSpacing="0" cellPadding="3" width="100%" border="0">
  474.       <tr>
  475.         <td><img height="5" src="../PIC/Dot2.gif" width="3">&nbsp;<a href="listst.asp?s_id=8">县经贸委</a></td>
  476.       </tr>
  477.     </table>
  478.     <link href="style/css.css" type="text/css" rel="stylesheet">
  479.     <table cellSpacing="0" cellPadding="3" width="100%" border="0">
  480.       <tr>
  481.         <td><img height="5" src="../PIC/Dot2.gif" width="3">&nbsp;<a href="listst.asp?s_id=9">外经贸局</a></td>
  482.       </tr>
  483.     </table>
  484.     <link href="style/css.css" type="text/css" rel="stylesheet">
  485.     <table cellSpacing="0" cellPadding="3" width="100%" border="0">
  486.       <tr>
  487.         <td><img height="5" src="../PIC/Dot2.gif" width="3">&nbsp;<a href="listst.asp?s_id=10">县质监局</a></td>
  488.       </tr>
  489.     </table>
  490.     <link href="style/css.css" type="text/css" rel="stylesheet">
  491.     <table cellSpacing="0" cellPadding="3" width="100%" border="0">
  492.       <tr>
  493.         <td><img height="5" src="../PIC/Dot2.gif" width="3">&nbsp;<a href="listst.asp?s_id=11">供电公司</a></td>
  494.       </tr>
  495.     </table>
  496.     <link href="style/css.css" type="text/css" rel="stylesheet">
  497.     <table cellSpacing="0" cellPadding="3" width="100%" border="0">
  498.       <tr>
  499.         <td><img height="5" src="../PIC/Dot2.gif" width="3">&nbsp;<a href="listst.asp?s_id=12">县工商局</a></td>
  500.       </tr>
  501.     </table>
  502.     <link href="style/css.css" type="text/css" rel="stylesheet">
  503.     <table cellSpacing="0" cellPadding="3" width="100%" border="0">
  504.       <tr>
  505.         <td><img height="5" src="../PIC/Dot2.gif" width="3">&nbsp;<a href="listst.asp?s_id=13">县地税局</a></td>
  506.       </tr>
  507.     </table>
  508.     <link href="style/css.css" type="text/css" rel="stylesheet">
  509.     <table cellSpacing="0" cellPadding="3" width="100%" border="0">
  510.       <tr>
  511.         <td><img height="5" src="../PIC/Dot2.gif" width="3">&nbsp;<a href="listst.asp?s_id=14">县国税局</a></td>
  512.       </tr>
  513.     </table>
  514.     <link href="style/css.css" type="text/css" rel="stylesheet">
  515.     <table cellSpacing="0" cellPadding="3" width="100%" border="0">
  516.       <tr>
  517.         <td><img height="5" src="../PIC/Dot2.gif" width="3">&nbsp;<a href="listst.asp?s_id=15">县建设局</a></td>
  518.       </tr>
  519.     </table>
  520.     <link href="style/css.css" type="text/css" rel="stylesheet">
  521.     <table cellSpacing="0" cellPadding="3" width="100%" border="0">
  522.       <tr>
  523.         <td><img height="5" src="../PIC/Dot2.gif" width="3">&nbsp;<a href="listst.asp?s_id=16">县房管局</a></td>
  524.       </tr>
  525.     </table>
  526.     <link href="style/css.css" type="text/css" rel="stylesheet">
  527.     <table cellSpacing="0" cellPadding="3" width="100%" border="0">
  528.       <tr>
  529.         <td><img height="5" src="../PIC/Dot2.gif" width="3">&nbsp;<a href="listst.asp?s_id=17">县城管局</a></td>
  530.       </tr>
  531.     </table>
  532.     <link href="style/css.css" type="text/css" rel="stylesheet">
  533.     <table cellSpacing="0" cellPadding="3" width="100%" border="0">
  534.       <tr>
  535.         <td><img height="5" src="../PIC/Dot2.gif" width="3">&nbsp;<a href="listst.asp?s_id=18">县公安局</a></td>
  536.       </tr>
  537.     </table>
  538.     <link href="style/css.css" type="text/css" rel="stylesheet">
  539.     <table cellSpacing="0" cellPadding="3" width="100%" border="0">
  540.       <tr>
  541.         <td><img height="5" src="../PIC/Dot2.gif" width="3">&nbsp;<a href="listst.asp?s_id=19">县物价局</a></td>
  542.       </tr>
  543.     </table>
  544.     <link href="style/css.css" type="text/css" rel="stylesheet">
  545.     <table cellSpacing="0" cellPadding="3" width="100%" border="0">
  546.       <tr>
  547.         <td><img height="5" src="../PIC/Dot2.gif" width="3">&nbsp;<a href="listst.asp?s_id=20">人民法院</a></td>
  548.       </tr>
  549.     </table>
  550.     <link href="style/css.css" type="text/css" rel="stylesheet">
  551.     <table cellSpacing="0" cellPadding="3" width="100%" border="0">
  552.       <tr>
  553.         <td><img height="5" src="../PIC/Dot2.gif" width="3">&nbsp;<a href="listst.asp?s_id=21">县检察院</a></td>
  554.       </tr>
  555.     </table>
  556.     <link href="style/css.css" type="text/css" rel="stylesheet">
  557.     <table cellSpacing="0" cellPadding="3" width="100%" border="0">
  558.       <tr>
  559.         <td><img height="5" src="../PIC/Dot2.gif" width="3">&nbsp;<a href="listst.asp?s_id=22">交警大队</a></td>
  560.       </tr>
  561.     </table>
  562.     <link href="style/css.css" type="text/css" rel="stylesheet">
  563.     <table cellSpacing="0" cellPadding="3" width="100%" border="0">
  564.       <tr>
  565.         <td><img height="5" src="../PIC/Dot2.gif" width="3">&nbsp;<a href="listst.asp?s_id=31">广电局</a></td>
  566.       </tr>
  567.     </table>
  568.     <link href="style/css.css" type="text/css" rel="stylesheet">
  569.     <table cellSpacing="0" cellPadding="3" width="100%" border="0">
  570.       <tr>
  571.         <td><img height="5" src="../PIC/Dot2.gif" width="3">&nbsp;<a href="listst.asp?s_id=24">县林业局</a></td>
  572.       </tr>
  573.     </table>
  574.     <link href="style/css.css" type="text/css" rel="stylesheet">
  575.     <table cellSpacing="0" cellPadding="3" width="89" border="0" height="23">
  576.       <tr>
  577.         <td height="17" width="83"><img height="5" src="../PIC/Dot2.gif" width="3">&nbsp;<a href="listst.asp?s_id=25">消防中队</a></td>
  578.       </tr>
  579.     </table>
  580.     <link href="style/css.css" type="text/css" rel="stylesheet">
  581.     <link href="style/css.css" type="text/css" rel="stylesheet">
  582.     </td>
  583.     </td>
  584.     <td height="264" width="99" rowspan="3" valign="top">
  585.     <table cellSpacing="0" cellPadding="3" width="101" border="0">
  586.       <tr>
  587.         <td width="95"><img height="5" src="../PIC/Dot2.gif" width="3">&nbsp;<a href="listst.asp?s_id=27">县运管所</a></td>
  588.       </tr>
  589.       <tr>
  590.         <td width="95"><img height="5" src="../PIC/Dot2.gif" width="3">&nbsp;<a href="listst.asp?s_id=26">县交通局</a></td>
  591.       </tr>
  592.     </table>
  593.     <link href="style/css.css" type="text/css" rel="stylesheet">
  594.     <table cellSpacing="0" cellPadding="3" width="100%" border="0">
  595.       <tr>
  596.         <td><img height="5" src="../PIC/Dot2.gif" width="3">&nbsp;<a href="listst.asp?s_id=28">县卫生局</a></td>
  597.       </tr>
  598.     </table>
  599.     <link href="style/css.css" type="text/css" rel="stylesheet">
  600.     <table cellSpacing="0" cellPadding="3" width="100%" border="0">
  601.       <tr>
  602.         <td><img height="5" src="../PIC/Dot2.gif" width="3">&nbsp;<a href="listst.asp?s_id=29">县医保局</a></td>
  603.       </tr>
  604.     </table>
  605.     <link href="style/css.css" type="text/css" rel="stylesheet">
  606.     <table cellSpacing="0" cellPadding="3" width="100%" border="0">
  607.       <tr>
  608.         <td><img height="5" src="../PIC/Dot2.gif" width="3">&nbsp;<a href="listst.asp?s_id=30">煤矿安全局</a></td>
  609.       </tr>
  610.     </table>
  611.     <link href="style/css.css" type="text/css" rel="stylesheet">
  612.     <table cellSpacing="0" cellPadding="3" width="100%" border="0">
  613.       <tr>
  614.         <td><img height="5" src="../PIC/Dot2.gif" width="3">&nbsp;<a href="listst.asp?s_id=23">人事劳动局</a></td>
  615.       </tr>
  616.     </table>
  617.     <link href="style/css.css" type="text/css" rel="stylesheet">
  618.     <table cellSpacing="0" cellPadding="3" width="100%" border="0">
  619.       <tr>
  620.         <td><img height="5" src="../PIC/Dot2.gif" width="3">&nbsp;<a href="listst.asp?s_id=32">中央文件</a></td>
  621.       </tr>
  622.     </table>
  623.     <link href="style/css.css" type="text/css" rel="stylesheet">
  624.     <table cellSpacing="0" cellPadding="3" width="100%" border="0">
  625.       <tr>
  626.         <td><img height="5" src="../PIC/Dot2.gif" width="3">&nbsp;<a href="listst.asp?s_id=33">省市文件</a></td>
  627.       </tr>
  628.     </table>
  629.     <link href="style/css.css" type="text/css" rel="stylesheet">
  630.     <table cellSpacing="0" cellPadding="3" width="100%" border="0">
  631.       <tr>
  632.         <td><img height="5" src="../PIC/Dot2.gif" width="3">&nbsp;<a href="listst.asp?s_id=34">县乡文件</a></td>
  633.       </tr>
  634.     </table>
  635.     <link href="style/css.css" type="text/css" rel="stylesheet">
  636.     <table cellSpacing="0" cellPadding="3" width="100%" border="0">
  637.       <tr>
  638.         <td><img height="5" src="../PIC/Dot2.gif" width="3">&nbsp;<a href="listst.asp?s_id=35">法律法规</a></td>
  639.       </tr>
  640.     </table>
  641.     <link href="style/css.css" type="text/css" rel="stylesheet">
  642.     <table cellSpacing="0" cellPadding="3" width="100%" border="0">
  643.       <tr>
  644.         <td><img height="5" src="../PIC/Dot2.gif" width="3">&nbsp;<a href="listst.asp?s_id=36">县长之窗</a></td>
  645.       </tr>
  646.     </table>
  647.     <link href="style/css.css" type="text/css" rel="stylesheet">
  648.     <table cellSpacing="0" cellPadding="3" width="100%" border="0">
  649.       <tr>
  650.         <td><img height="5" src="../PIC/Dot2.gif" width="3">&nbsp;<a href="listst.asp?s_id=37">政务公开</a></td>
  651.       </tr>
  652.     </table>
  653.     <link href="style/css.css" type="text/css" rel="stylesheet">
  654.     <table cellSpacing="0" cellPadding="3" width="100%" border="0">
  655.       <tr>
  656.         <td><img height="5" src="../PIC/Dot2.gif" width="3">&nbsp;<a href="listst.asp?s_id=38">县乡活动</a></td>
  657.       </tr>
  658.     </table>
  659.     <link href="style/css.css" type="text/css" rel="stylesheet">
  660.     <table cellSpacing="0" cellPadding="3" width="100%" border="0">
  661.       <tr>
  662.         <td><img height="5" src="../PIC/Dot2.gif" width="3">&nbsp;<a href="listst.asp?s_id=39">政府采购</a></td>
  663.       </tr>
  664.     </table>
  665.     <link href="style/css.css" type="text/css" rel="stylesheet">
  666.     <table cellSpacing="0" cellPadding="3" width="100%" border="0">
  667.       <tr>
  668.         <td><img height="5" src="../PIC/Dot2.gif" width="3">&nbsp;<a href="listst.asp?s_id=40">招商政策</a></td>
  669.       </tr>
  670.     </table>
  671.     <link href="style/css.css" type="text/css" rel="stylesheet">
  672.     <table cellSpacing="0" cellPadding="3" width="100%" border="0">
  673.       <tr>
  674.         <td><img height="5" src="../PIC/Dot2.gif" width="3">&nbsp;<a href="listst.asp?s_id=41">招商动态</a></td>
  675.       </tr>
  676.     </table>
  677.     <link href="style/css.css" type="text/css" rel="stylesheet">
  678.     <table cellSpacing="0" cellPadding="3" width="100%" border="0">
  679.       <tr>
  680.         <td><img height="5" src="../PIC/Dot2.gif" width="3">&nbsp;<a href="listst.asp?s_id=42">工业项目</a></td>
  681.       </tr>
  682.     </table>
  683.     <link href="style/css.css" type="text/css" rel="stylesheet">
  684.     <table cellSpacing="0" cellPadding="3" width="100%" border="0">
  685.       <tr>
  686.         <td><img height="5" src="../PIC/Dot2.gif" width="3">&nbsp;<a href="listst.asp?s_id=43">农业项目</a></td>
  687.       </tr>
  688.     </table>
  689.     <link href="style/css.css" type="text/css" rel="stylesheet">
  690.     <table cellSpacing="0" cellPadding="3" width="100%" border="0">
  691.       <tr>
  692.         <td><img height="5" src="../PIC/Dot2.gif" width="3">&nbsp;<a href="listst.asp?s_id=44">旅游项目</a></td>
  693.       </tr>
  694.     </table>
  695.     <link href="style/css.css" type="text/css" rel="stylesheet">
  696.     <table cellSpacing="0" cellPadding="3" width="100%" border="0">
  697.       <tr>
  698.         <td><img height="5" src="../PIC/Dot2.gif" width="3">&nbsp;<a href="listst.asp?s_id=45">交通项目</a></td>
  699.       </tr>
  700.     </table>
  701.     <link href="style/css.css" type="text/css" rel="stylesheet">
  702.     <table cellSpacing="0" cellPadding="3" width="100%" border="0">
  703.       <tr>
  704.         <td><img height="5" src="../PIC/Dot2.gif" width="3">&nbsp;<a href="listst.asp?s_id=46">矿产项目</a></td>
  705.       </tr>
  706.     </table>
  707.     <link href="style/css.css" type="text/css" rel="stylesheet">
  708.     <table cellSpacing="0" cellPadding="3" width="99" border="0">
  709.       <tr>
  710.         <td width="93"><img height="5" src="../PIC/Dot2.gif" width="3">&nbsp;<a href="listst.asp?s_id=47">市政项目</a></td>
  711.       </tr>
  712.     </table>
  713.     <link href="style/css.css" type="text/css" rel="stylesheet">
  714.     <table cellSpacing="0" cellPadding="3" width="100%" border="0" height="22">
  715.       <tr>
  716.         <td height="16"><img height="5" src="../PIC/Dot2.gif" width="3">&nbsp;<a href="listst.asp?s_id=48">其他类项目</a></td>
  717.       </tr>
  718.     </table>
  719.     </td>
  720. </td>
  721.           </tr>
  722.         </table>
  723.         </td>
  724.       </tr>
  725.     </table>
  726.     </td>
  727.     <td height="505" valign="top">
  728.       <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
  729.         
  730.         
  731.         
  732.         
  733.         
  734.         <tr>
  735.           <td>
  736. <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
  737.               <tr> 
  738.                 <td width="20%"><table width="100%" height="20" border="0" align="center" cellpadding="0" cellspacing="0">
  739.                     <tr> 
  740.                       <td height="28" background="../PIC/bg000.gif" width="100%">
  741.                       <font color="#FF9966"><b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<%=(rstitle.Fields.Item("s_name").Value)%></b></font></td>
  742.                      
  743.                     </tr>
  744.                   </table></td>
  745.               </tr>
  746.               <tr> 
  747.                 <td> 
  748.                 <TABLE border=0 cellPadding=2 cellSpacing=0 width="100%" height="27">
  749.                     <TBODY>
  750.                       <% 
  751. While ((Repeat2__numRows <> 0) AND (NOT rsnlist.EOF)) 
  752. %>
  753.                       <TR> 
  754.                         <TD align=center width=10% height="23" background="../PIC/line1.gif">
  755.                         <img border="0" src="../PIC/fw.gif"></TD>
  756.                         <TD width="70%" height="28" 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 %>[推荐]<% End If %><% If rsnlist("n_index") = true Then %>[首页]<% End If %>
  757.  </TD>
  758.                         
  759.                       </TR>
  760.                       <% 
  761.   Repeat2__index=Repeat2__index+1
  762.   Repeat2__numRows=Repeat2__numRows-1
  763.   rsnlist.MoveNext()
  764. Wend
  765. %>
  766.                     </TBODY>
  767.                   </TABLE></td>
  768.               </tr>
  769.             </table></td>
  770.         </tr>
  771.       </table><br>
  772. </td>
  773.     <td width="170" valign="top" bgcolor="#FFF7F4" height="259" rowspan="2"> 
  774.       <table width="98%" border="0" align="center" cellpadding="3" cellspacing="0" height="43">
  775.         <tr> 
  776.           <td height="19" valign="top">
  777.           <img border="0" src="../PIC/rd.jpg" width="177" height="31"></td>
  778.         </tr>          <% 
  779. While ((Repeat4__numRows <> 0) AND (NOT rsncom.EOF)) 
  780. %>
  781.         <tr> 
  782.           <td height="12">·<a href="<%=(rsncom.Fields.Item("n_tid").Value)%>/<%=(rsncom.Fields.Item("n_fname").Value)%>" target="_blank"><%=(rsncom.Fields.Item("n_title").Value)%></a></td>
  783.     </tr>          <% 
  784.   Repeat4__index=Repeat4__index+1
  785.   Repeat4__numRows=Repeat4__numRows-1
  786.   rsncom.MoveNext()
  787. Wend
  788. %>
  789.     
  790.       </table></td>
  791.   </tr>
  792.   <tr>
  793.     <td height="24" valign="middle">
  794.     <p align="right">分页:      |
  795. <%
  796. TM_counter = 0
  797. For i = 1 to rsnlist_total Step MM_size
  798. TM_counter = TM_counter + 1
  799. TM_PageEndCount = i + MM_size - 1
  800. if TM_PageEndCount > rsnlist_total Then TM_PageEndCount = rsnlist_total
  801. if i <> MM_offset + 1 then
  802. Response.Write("<a href=""" & Request.ServerVariables("URL") & "?" & MM_keepMove & "offset=" & i-1 & """>")
  803. Response.Write(TM_counter & "</a>")
  804. else
  805. Response.Write("<b>" & TM_counter & "</b>")
  806. End if
  807. if(TM_PageEndCount <> rsnlist_total) then Response.Write(" | ")
  808. next
  809.  %>
  810.       | </td>
  811.     </tr>
  812. </table>    
  813. <!--#include file="../end.asp" --></body>    
  814. </html>
  815. <%
  816. rsmenu.Close()
  817. Set rsmenu = Nothing
  818. %>
  819. <%
  820. rsnlist.Close()
  821. Set rsnlist = Nothing
  822. %>
  823. <%
  824. rstitle.Close()
  825. Set rstitle = Nothing
  826. %>
  827. <%
  828. rsnst.Close()
  829. Set rsnst = Nothing
  830. %>
  831. <%
  832. rsncom.Close()
  833. Set rsncom = Nothing
  834. %>
  835. <%
  836. rssetup.Close()
  837. Set rssetup = Nothing
  838. %>