<% ' Fruibile - L'elemento CMS Open Source che mancava ' Copyright (C) 2002-2006 Roberto Scano ' ' Licensed under the terms of the GNU Lesser General Public License: ' http://www.opensource.org/licenses/lgpl-license.php ' ' For further information visit: ' http://www.fruibile.it/ ' ' File Author: ' Roberto Scano (mail@robertoscano.info) %> <% 'controllo sicurezza -------------- if Session("WEBGODLogin") <> "W3C_VALIDATOR" then If session("strutture")<> 1 Then response.Redirect "/backoffice/noentry.asp" end if end if '---------------------------------- 'Prevent your website from cross website attacks --------- refererUrl = Cstr(Request.ServerVariables("HTTP_REFERER")) serverName = Cstr(Request.ServerVariables("SERVER_NAME")) refererName = mid(refererUrl,8,len(serverName)) if refererName <> serverName then response.Redirect "/backoffice/noentry.asp" response.end end if '--------------------------------------------------------- %> <% percorso = " " & DICLanguage(142) & "" percorso = percorso & " / " & DICLanguage(154) lastpage = Request.ServerVariables("HTTP_REFERER") %>

<%=DICLanguage(142)%>

<% if Session("supervisor") = true then aggiunta_sql = "" aggiunta_where_sql = "" else aggiunta_sql = " and office_id=" & Session("Office_ID") aggiunta_where_sql = " where office_id=" & Session("Office_ID") end if Function getChildPath(intID) sql = "Select * from " & application("prefix") & "strutture where parentid =" & intID & " and area=" & testoID & " and visibile=1" & aggiunta_sql & " order by title_it" Set objRS2 = conn.execute(sql) if not objRS2.eof and not objrs2.bof then strCategory2 = "" & vbcrlf getChildPath = strCategory2 end if Set objRS2 = nothing End Function Function getMap(intCatID) sql = "Select * from " & application("prefix") & "strutture where parentid =" & intCatID & " and visibile=1" & aggiunta_sql & " order by title_" & Session("Language") Set objRS = conn.execute(sql) if not objRS.eof and not objrs.bof then strCategory = "" & vbcrlf getMap = strCategory end if Set objRS = nothing End Function stringa =getMap(0) %> <%if len(stringa) > 1 then%>

<%=DICLanguage(175)%><%=DICLanguage(0)%>

<%=stringa%> <%end if%>
<%=DICLanguage(20)%>

<%=DICLanguage(152)%>

<%=DICLanguage(9)%>

" class="bottone" /> " /> " />