<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%> <% Dim RSridian Dim RSridian_numRows Set RSridian = Server.CreateObject("ADODB.Recordset") RSridian.ActiveConnection = MM_czws_STRING RSridian.Source = "SELECT FORUM_ID, TOPIC_ID, T_SUBJECT FROM FORUM_TOPICS WHERE FORUM_ID = 36 ORDER BY TOPIC_ID desc" RSridian.CursorType = 0 RSridian.CursorLocation = 2 RSridian.LockType = 1 RSridian.Open() RSridian_numRows = 0 %> <% Dim RSgonggao Dim RSgonggao_numRows Set RSgonggao = Server.CreateObject("ADODB.Recordset") RSgonggao.ActiveConnection = MM_czws_STRING RSgonggao.Source = "SELECT FORUM_ID, TOPIC_ID, T_SUBJECT FROM FORUM_TOPICS WHERE FORUM_ID = 21 ORDER BY TOPIC_ID desc" RSgonggao.CursorType = 0 RSgonggao.CursorLocation = 2 RSgonggao.LockType = 1 RSgonggao.Open() RSgonggao_numRows = 0 %> <% Dim RSjijiu Dim RSjijiu_numRows Set RSjijiu = Server.CreateObject("ADODB.Recordset") RSjijiu.ActiveConnection = MM_czws_STRING RSjijiu.Source = "SELECT * FROM FORUM_TOPICS WHERE FORUM_ID = 13 ORDER BY TOPIC_ID desc" RSjijiu.CursorType = 0 RSjijiu.CursorLocation = 2 RSjijiu.LockType = 1 RSjijiu.Open() RSjijiu_numRows = 0 %> <% Dim RSyixue Dim RSyixue_numRows Set RSyixue = Server.CreateObject("ADODB.Recordset") RSyixue.ActiveConnection = MM_czws_STRING RSyixue.Source = "SELECT * FROM FORUM_TOPICS WHERE FORUM_ID = 14 ORDER BY TOPIC_ID desc" RSyixue.CursorType = 0 RSyixue.CursorLocation = 2 RSyixue.LockType = 1 RSyixue.Open() RSyixue_numRows = 0 %> <% Dim RShuli Dim RShuli_numRows Set RShuli = Server.CreateObject("ADODB.Recordset") RShuli.ActiveConnection = MM_czws_STRING RShuli.Source = "SELECT * FROM FORUM_TOPICS WHERE FORUM_ID = 15 ORDER BY TOPIC_ID desc" RShuli.CursorType = 0 RShuli.CursorLocation = 2 RShuli.LockType = 1 RShuli.Open() RShuli_numRows = 0 %> <% Dim RSrichang Dim RSrichang_numRows Set RSrichang = Server.CreateObject("ADODB.Recordset") RSrichang.ActiveConnection = MM_czws_STRING RSrichang.Source = "SELECT * FROM FORUM_TOPICS WHERE FORUM_ID = 16 ORDER BY TOPIC_ID desc" RSrichang.CursorType = 0 RSrichang.CursorLocation = 2 RSrichang.LockType = 1 RSrichang.Open() RSrichang_numRows = 0 %> <% Dim RSyongyao Dim RSyongyao_numRows Set RSyongyao = Server.CreateObject("ADODB.Recordset") RSyongyao.ActiveConnection = MM_czws_STRING RSyongyao.Source = "SELECT * FROM FORUM_TOPICS WHERE FORUM_ID = 4 ORDER BY TOPIC_ID desc" RSyongyao.CursorType = 0 RSyongyao.CursorLocation = 2 RSyongyao.LockType = 1 RSyongyao.Open() RSyongyao_numRows = 0 %> <% Dim RSyinshi Dim RSyinshi_numRows Set RSyinshi = Server.CreateObject("ADODB.Recordset") RSyinshi.ActiveConnection = MM_czws_STRING RSyinshi.Source = "SELECT * FROM FORUM_TOPICS WHERE FORUM_ID = 1 ORDER BY TOPIC_ID desc" RSyinshi.CursorType = 0 RSyinshi.CursorLocation = 2 RSyinshi.LockType = 1 RSyinshi.Open() RSyinshi_numRows = 0 %> <% Dim RSzyzy Dim RSzyzy_numRows Set RSzyzy = Server.CreateObject("ADODB.Recordset") RSzyzy.ActiveConnection = MM_czws_STRING RSzyzy.Source = "SELECT * FROM FORUM_TOPICS WHERE FORUM_ID = 17 ORDER BY TOPIC_ID desc" RSzyzy.CursorType = 0 RSzyzy.CursorLocation = 2 RSzyzy.LockType = 1 RSzyzy.Open() RSzyzy_numRows = 0 %> <% Dim RSrcwoman Dim RSrcwoman_numRows Set RSrcwoman = Server.CreateObject("ADODB.Recordset") RSrcwoman.ActiveConnection = MM_czws_STRING RSrcwoman.Source = "SELECT * FROM FORUM_TOPICS WHERE FORUM_ID = 18 ORDER BY TOPIC_ID desc" RSrcwoman.CursorType = 0 RSrcwoman.CursorLocation = 2 RSrcwoman.LockType = 1 RSrcwoman.Open() RSrcwoman_numRows = 0 %> <% Dim RSrcchild Dim RSrcchild_numRows Set RSrcchild = Server.CreateObject("ADODB.Recordset") RSrcchild.ActiveConnection = MM_czws_STRING RSrcchild.Source = "SELECT * FROM FORUM_TOPICS WHERE FORUM_ID = 46 ORDER BY TOPIC_ID desc" RSrcchild.CursorType = 0 RSrcchild.CursorLocation = 2 RSrcchild.LockType = 1 RSrcchild.Open() RSrcchild_numRows = 0 %> <% Dim Recordset1 Dim Recordset1_numRows Set Recordset1 = Server.CreateObject("ADODB.Recordset") Recordset1.ActiveConnection = MM_czws_STRING Recordset1.Source = "SELECT FORUM_ID, TOPIC_ID, T_SUBJECT FROM FORUM_TOPICS WHERE FORUM_ID = 60 ORDER BY TOPIC_ID desc" Recordset1.CursorType = 0 Recordset1.CursorLocation = 2 Recordset1.LockType = 1 Recordset1.Open() Recordset1_numRows = 0 %> <% Dim Repeat1__numRows Dim Repeat1__index Repeat1__numRows = 6 Repeat1__index = 0 RSridian_numRows = RSridian_numRows + Repeat1__numRows %> <% Dim Repeat4__numRows Dim Repeat4__index Repeat4__numRows = 6 Repeat4__index = 0 RSyixue_numRows = RSyixue_numRows + Repeat4__numRows %> <% Dim Repeat5__numRows Dim Repeat5__index Repeat5__numRows = 8 Repeat5__index = 0 RShuli_numRows = RShuli_numRows + Repeat5__numRows %> <% Dim Repeat6__numRows Dim Repeat6__index Repeat6__numRows = 12 Repeat6__index = 0 RSrichang_numRows = RSrichang_numRows + Repeat6__numRows %> <% Dim Repeat10__numRows Dim Repeat10__index Repeat10__numRows = 10 Repeat10__index = 0 RSrcwoman_numRows = RSrcwoman_numRows + Repeat10__numRows %> <% Dim Repeat11__numRows Dim Repeat11__index Repeat11__numRows = 12 Repeat11__index = 0 RSrcchild_numRows = RSrcchild_numRows + Repeat11__numRows %> <% Dim Repeat2__numRows Dim Repeat2__index Repeat2__numRows = 8 Repeat2__index = 0 Recordset1_numRows = Recordset1_numRows + Repeat2__numRows %> <% Dim Repeat9__numRows Dim Repeat9__index Repeat9__numRows = 10 Repeat9__index = 0 RSzyzy_numRows = RSzyzy_numRows + Repeat9__numRows %> <% Dim Repeat8__numRows Dim Repeat8__index Repeat8__numRows = 10 Repeat8__index = 0 RSyinshi_numRows = RSyinshi_numRows + Repeat8__numRows %> <% Dim Repeat7__numRows Dim Repeat7__index Repeat7__numRows = 6 Repeat7__index = 0 RSyongyao_numRows = RSyongyao_numRows + Repeat7__numRows %> <% Dim Repeat3__numRows Dim Repeat3__index Repeat3__numRows = 8 Repeat3__index = 0 RSjijiu_numRows = RSjijiu_numRows + Repeat3__numRows %> <% Dim MM_paramName %> <% ' *** Go To Record and Move To Record: create strings for maintaining URL and Form parameters Dim MM_keepNone Dim MM_keepURL Dim MM_keepForm Dim MM_keepBoth Dim MM_removeList Dim MM_item Dim MM_nextItem ' create the list of parameters which should not be maintained MM_removeList = "&index=" If (MM_paramName <> "") Then MM_removeList = MM_removeList & "&" & MM_paramName & "=" End If MM_keepURL="" MM_keepForm="" MM_keepBoth="" MM_keepNone="" ' add the URL parameters to the MM_keepURL string For Each MM_item In Request.QueryString MM_nextItem = "&" & MM_item & "=" If (InStr(1,MM_removeList,MM_nextItem,1) = 0) Then MM_keepURL = MM_keepURL & MM_nextItem & Server.URLencode(Request.QueryString(MM_item)) End If Next ' add the Form variables to the MM_keepForm string For Each MM_item In Request.Form MM_nextItem = "&" & MM_item & "=" If (InStr(1,MM_removeList,MM_nextItem,1) = 0) Then MM_keepForm = MM_keepForm & MM_nextItem & Server.URLencode(Request.Form(MM_item)) End If Next ' create the Form + URL string and remove the intial '&' from each of the strings MM_keepBoth = MM_keepURL & MM_keepForm If (MM_keepBoth <> "") Then MM_keepBoth = Right(MM_keepBoth, Len(MM_keepBoth) - 1) End If If (MM_keepURL <> "") Then MM_keepURL = Right(MM_keepURL, Len(MM_keepURL) - 1) End If If (MM_keepForm <> "") Then MM_keepForm = Right(MM_keepForm, Len(MM_keepForm) - 1) End If ' a utility function used for adding additional parameters to these strings Function MM_joinChar(firstItem) If (firstItem <> "") Then MM_joinChar = "&" Else MM_joinChar = "" End If End Function %> 常州市卫生信息网:患者之家
 
 
 
江苏省常州市卫生局版权所有
常州市晋陵中路552号 || 电子信箱:jsczwsj@pub.cz.jsinfo.net
电话:0519-6600473
<% RSridian.Close() Set RSridian = Nothing %> <% RSgonggao.Close() Set RSgonggao = Nothing %> <% RSjijiu.Close() Set RSjijiu = Nothing %> <% RSyixue.Close() Set RSyixue = Nothing %> <% RShuli.Close() Set RShuli = Nothing %> <% RSrichang.Close() Set RSrichang = Nothing %> <% RSyongyao.Close() Set RSyongyao = Nothing %> <% RSyinshi.Close() Set RSyinshi = Nothing %> <% RSzyzy.Close() Set RSzyzy = Nothing %> <% RSrcwoman.Close() Set RSrcwoman = Nothing %> <% RSrcchild.Close() Set RSrcchild = Nothing %> <% Recordset1.Close() Set Recordset1 = Nothing %>