#IF(NOT #Shop.LoginRequired OR (#Session.User AND NOT #Session.User.IsAnonymous AND #Shop.ID == #Session.User.Parent.Parent.ID)) #INCLUDE("Content") #ELSE #LOCAL("ShopPath",#Shop.Path) #LOCAL("ViewAction", #INPUT.ViewAction) #IF(#ViewAction EQ "ViewLostPassword" OR #ViewAction EQ "ViewChangeLostPassword" OR #ViewAction EQ "SF-ViewLogin" OR #ViewAction EQ "ViewRegistrationRedirect" OR #Path EQ #ShopPath."/Categories/TermsAndConditions" OR #Path EQ #ShopPath."/Categories/PrivacyPolicy" OR #Path EQ #ShopPath."/Categories/ContactForm" OR #Path EQ #ShopPath."/Categories/Imprint") #INCLUDE("Content") #ELSE #INCLUDE("LoginRequired") #ENDIF #ENDLOCAL #ENDLOCAL #ENDIF