%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
<%
' *** Logout the current user.
MM_Logout = CStr(Request.ServerVariables("URL")) & "?MM_Logoutnow=1"
If (CStr(Request("MM_Logoutnow")) = "1") Then
Session.Contents.Remove("elpilar_admin")
Session.Contents.Remove("MM_UserAuthorization")
MM_logoutRedirectPage = "index.asp"
' redirect with URL parameters (remove the "MM_Logoutnow" query param).
if (MM_logoutRedirectPage = "") Then MM_logoutRedirectPage = CStr(Request.ServerVariables("URL"))
If (InStr(1, UC_redirectPage, "?", vbTextCompare) = 0 And Request.QueryString <> "") Then
MM_newQS = "?"
For Each Item In Request.QueryString
If (Item <> "MM_Logoutnow") Then
If (Len(MM_newQS) > 1) Then MM_newQS = MM_newQS & "&"
MM_newQS = MM_newQS & Item & "=" & Server.URLencode(Request.QueryString(Item))
End If
Next
if (Len(MM_newQS) > 1) Then MM_logoutRedirectPage = MM_logoutRedirectPage & MM_newQS
End If
Response.Redirect(MM_logoutRedirectPage)
End If
%>
<%
' *** Restrict Access To Page: Grant or deny access to this page
MM_authorizedUsers=""
MM_authFailedURL="conectar.asp"
MM_grantAccess=false
If Session("elpilar_admin") <> "" 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 Lo_Ultimo__MMColParam
Lo_Ultimo__MMColParam = "1"
If (Request("MM_EmptyValue") <> "") Then
Lo_Ultimo__MMColParam = Request("MM_EmptyValue")
End If
%>
<%
Dim Lo_Ultimo
Dim Lo_Ultimo_numRows
Set Lo_Ultimo = Server.CreateObject("ADODB.Recordset")
Lo_Ultimo.ActiveConnection = MM_datos_STRING
Lo_Ultimo.Source = "SELECT * FROM loultimo WHERE Id = " + Replace(Lo_Ultimo__MMColParam, "'", "''") + ""
Lo_Ultimo.CursorType = 0
Lo_Ultimo.CursorLocation = 2
Lo_Ultimo.LockType = 1
Lo_Ultimo.Open()
Lo_Ultimo_numRows = 0
%>
<%
Dim menu
Dim menu_numRows
Set menu = Server.CreateObject("ADODB.Recordset")
menu.ActiveConnection = MM_datos_STRING
menu.Source = "SELECT * FROM menu ORDER BY padre ASC"
menu.CursorType = 0
menu.CursorLocation = 2
menu.LockType = 1
menu.Open()
menu_numRows = 0
%>
<%
Dim Repeat1__numRows
Dim Repeat1__index
Repeat1__numRows = -1
Repeat1__index = 0
menu_numRows = menu_numRows + Repeat1__numRows
%>
Grupo Scout Ntra. Sra. del Pilar
MENU
<%
While ((Repeat1__numRows <> 0) AND (NOT menu.EOF))
%>