%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
<% Dim SEO__MMColParam SEO__MMColParam = "/index.asp" If (JustFileName <> "") Then SEO__MMColParam = JustFileName End If %> <% Dim rsCSSMenu1 Dim rsCSSMenu1_cmd Dim rsCSSMenu1_numRows Set rsCSSMenu1_cmd = Server.CreateObject ("ADODB.Command") rsCSSMenu1_cmd.ActiveConnection = MM_CCommunity_DB_STRING rsCSSMenu1_cmd.CommandText = "SELECT * FROM menu_andover" rsCSSMenu1_cmd.Prepared = true Set rsCSSMenu1 = rsCSSMenu1_cmd.Execute rsCSSMenu1_numRows = 0 %> <% 'Begin DynCSSMenu1 Set DynCSSMenu1 = new MX_Menu2 DynCSSMenu1.Init "DynCSSMenu1" DynCSSMenu1.setQuery rsCSSMenu1 DynCSSMenu1.setPK "sort" DynCSSMenu1.setFK "parent_id" DynCSSMenu1.setNameField "label" DynCSSMenu1.setTitleField "label" 'URL parameters DynCSSMenu1.setLinkField "webpage" DynCSSMenu1.setTargetField "" 'Layout DynCSSMenu1.highlightCurrent true DynCSSMenu1.setLevel 2 DynCSSMenu1.setLayout "expandable" DynCSSMenu1.setSkin "ccleft" DynCSSMenu1.setAnimation "" DynCSSMenu1.setImgReplace false 'End DynCSSMenu1 %> <% Dim lsPath, arPath ' Obtain the virtual file path 'lsPath = Request.ServerVariables("SCRIPT_NAME") ' Split the path along the /s. This creates an ' one-dimensional array 'arPath = Split(lsPath, "/") ' The last item in the array contains the file name 'JustFileName =arPath(UBound(arPath,1)) 'response.write(justfilename) JustFileName =request.ServerVariables("URL") %> <% Dim SEO Dim SEO_cmd Dim SEO_numRows Set SEO_cmd = Server.CreateObject ("ADODB.Command") SEO_cmd.ActiveConnection = MM_CCommunity_DB_STRING SEO_cmd.CommandText = "SELECT * FROM SEO_Page_Info WHERE Webpage = ? and community='Andover'" SEO_cmd.Prepared = true SEO_cmd.Parameters.Append SEO_cmd.CreateParameter("param1", 200, 1, 255, SEO__MMColParam) ' adVarChar Set SEO = SEO_cmd.Execute SEO_numRows = 0 %>
Site Map FAQ Copyright notice • Disclaimer • Patent • Privacy Statement Patent Pending status awarded for unique business process The names and/or logos of the listed communities belong to the repective communities. Inclusion does not imply specific endorsement of services offered by CCommunity. | |||||||||||||||