%@LANGUAGE="VBSCRIPT"%> <% ' *** Restrict Access To Page: Grant or deny access to this page MM_authorizedUsers="" MM_authFailedURL="index.asp" MM_grantAccess=false If Session("MM_Username") <> "" Then If (true Or CStr(Session("MM_UserAuthorization"))="") Or _ (InStr(1,MM_authorizedUsers,Session("MM_UserAuthorization"))>=1) Then MM_grantAccess = true End If End If If Not MM_grantAccess Then MM_qsChar = "?" If (InStr(1,MM_authFailedURL,"?") >= 1) Then MM_qsChar = "&" MM_referrer = Request.ServerVariables("URL") if (Len(Request.QueryString()) > 0) Then MM_referrer = MM_referrer & "?" & Request.QueryString() MM_authFailedURL = MM_authFailedURL & MM_qsChar & "accessdenied=" & Server.URLEncode(MM_referrer) Response.Redirect(MM_authFailedURL) End If %> <% Dim rs_calendar__MMColParam rs_calendar__MMColParam = "1" If (Request.QueryString("CalendarID") <> "") Then rs_calendar__MMColParam = Request.QueryString("CalendarID") End If %> <% Dim rs_calendar Dim rs_calendar_numRows Set rs_calendar = Server.CreateObject("ADODB.Recordset") rs_calendar.ActiveConnection = MM_conRemax_STRING rs_calendar.Source = "SELECT * FROM intra_calendar WHERE CalendarID = " + Replace(rs_calendar__MMColParam, "'", "''") + "" rs_calendar.CursorType = 0 rs_calendar.CursorLocation = 2 rs_calendar.LockType = 1 rs_calendar.Open() rs_calendar_numRows = 0 %> <% Dim Repeat1__numRows Dim Repeat1__index Repeat1__numRows = -1 Repeat1__index = 0 rs_calendar_numRows = rs_calendar_numRows + Repeat1__numRows %>
![]() |
||||||||||||||||||||||||||
|
||||||||||||||||||||||||||