<% DirectoryOffset = "_config/" %> <% ' Script Purpose: controller for to display components for installed modules ' Copyright (c) 2006 Lucky Marble Solutions Corp. ' ' This script may be used only under license from Lucky Marble Solutions Corp. ' ' Lucky Marble Solutions Corp ' www.luckymarble.com ' admin@luckymarble.com ' define passed parameters moduleStr = Request.querystring("module") componentStr = Request.querystring("component") ' if a module has been specified then display it If moduleStr <> "" Then GlobalIncludeFile("_config/master_includes.asp") ' include the component IncludeFileName = "_config/@" & moduleStr & "/" & componentStr & ".asp" IncludeFile(IncludeFileName) If Request.QueryString("bypass") = "1" Then Response.Write ComponentOutput Else %> document.write("<%=ComponentOutput%>") <% End If ' otherwise, redirect to administrative area Else Response.Redirect "_config/index.asp" End If %>