#IF((#Shop.ClosedByMerchant AND NOT #INPUT.IsEditorModeEnabled) OR #Shop.ClosedByProvider) #INCLUDE("ShopClosedMessage") #ELSE #IF(#Style.HeaderIsVisible)
#INCLUDE("Header")
#ENDIF #IF(#Style.LeftIsVisible) #ENDIF #IF(#Style.RightIsVisible) #ENDIF
#IF(#Style.TopIsVisible) #ENDIF
#IF(#Shop.LoginRequired AND (NOT #Session.User OR #Session.User.IsAnonymous OR #Shop.ID != #Session.User.Parent.Parent.ID)) #LOCAL("ShopPath",#Shop.Path) #IF(#INPUT.ViewAction EQ "ViewLostPassword" OR #INPUT.ViewAction EQ "ViewChangeLostPassword" OR #INPUT.ViewAction EQ "ViewContactForm" OR #INPUT.ViewAction EQ "SF-ViewLogin" OR #Path EQ #ShopPath."/Categories/TermsAndConditions" OR #Path EQ #ShopPath."/Categories/PrivacyPolicy" OR #Path EQ #ShopPath."/Categories/Imprint") #INCLUDE("Content") #ELSE
#IF(#Shop.CustomerMustLoginMessage) #Shop.CustomerMustLoginMessage[0] #ELSE {PleaseLogin} #ENDIF
#ENDIF #ENDLOCAL #ELSE #INCLUDE("Content") #ENDIF
#IF(#Style.BottomIsVisible) #ENDIF
#IF(#Style.FooterIsVisible) #ENDIF #ENDIF