<%@LANGUAGE="VBSCRIPT"%> <% Dim news__MMColParam news__MMColParam = "true" if (Request("MM_EmptyValue") <> "") then news__MMColParam = Request("MM_EmptyValue") %> <% set news = Server.CreateObject("ADODB.Recordset") news.ActiveConnection = MM_iis_STRING news.Source = "SELECT * FROM news WHERE hotline = " + Replace(news__MMColParam, "'", "''") + " ORDER BY dt DESC" news.CursorType = 0 news.CursorLocation = 2 news.LockType = 3 news.Open() news_numRows = 0 %> <% set company = Server.CreateObject("ADODB.Recordset") company.ActiveConnection = MM_iis_STRING company.Source = "SELECT * FROM company" company.CursorType = 0 company.CursorLocation = 2 company.LockType = 3 company.Open() company_numRows = 0 %> <% Dim Repeat1__numRows Repeat1__numRows = -1 Dim Repeat1__index Repeat1__index = 0 news_numRows = news_numRows + Repeat1__numRows %> <% ' *** Go To Record and Move To Record: create strings for maintaining URL and Form parameters ' create the list of parameters which should not be maintained MM_removeList = "&index=" If (MM_paramName <> "") Then MM_removeList = MM_removeList & "&" & MM_paramName & "=" MM_keepURL="":MM_keepForm="":MM_keepBoth="":MM_keepNone="" ' add the URL parameters to the MM_keepURL string For Each Item In Request.QueryString NextItem = "&" & Item & "=" If (InStr(1,MM_removeList,NextItem,1) = 0) Then MM_keepURL = MM_keepURL & NextItem & Server.URLencode(Request.QueryString(Item)) End If Next ' add the Form variables to the MM_keepForm string For Each Item In Request.Form NextItem = "&" & Item & "=" If (InStr(1,MM_removeList,NextItem,1) = 0) Then MM_keepForm = MM_keepForm & NextItem & Server.URLencode(Request.Form(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) if (MM_keepURL <> "") Then MM_keepURL = Right(MM_keepURL, Len(MM_keepURL) - 1) if (MM_keepForm <> "") Then MM_keepForm = Right(MM_keepForm, Len(MM_keepForm) - 1) ' 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 %> <% function repl(s) dim sTemp sTemp = s sTemp = replace(sTemp,Chr(13),"
") sTemp = replace(sTemp,Chr(32) & Chr(32),"  ") sTemp = replace(sTemp,Chr(9),"      ") sTemp = replace(sTemp, "(sm)", "SM") sTemp = replace(sTemp, "(SM)", "SM") sTemp = replace(sTemp, "(tm)", "™") sTemp = replace(sTemp, "(TM)", "™") sTemp = replace(sTemp, "(r)", "®") sTemp = replace(sTemp, "(R)", "®") sTemp = replace(sTemp, "(c)", "©") sTemp = replace(sTemp, "(C)", "©") repl = sTemp end function %> <% Dim Repeat2__numRows Repeat2__numRows = -1 Dim Repeat2__index Repeat2__index = 0 company_numRows = company_numRows + Repeat2__numRows %> :IIS:INVESTORS:

 

©2002 all rights reserved to IIS
Designed by Digimedia

<% news.Close() %> <% company.Close() %>