#IF((#Shop.ClosedByMerchant AND NOT #INPUT.IsEditorModeEnabled) OR #Shop.ClosedByProvider) #INCLUDE("ShopClosedMessage") #ELSE #INCLUDE("Header") #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 "MobileSF-ViewLostPassword" OR #INPUT.ViewAction EQ "MobileSF-ViewChangeLostPassword" OR #INPUT.ViewAction EQ "MobileSF-ViewContactForm" OR #INPUT.ViewAction EQ "MobileSF-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 #SNIPPET("INC-LoginForm", "IsSimpleMode", 1)
#ENDIF #ENDLOCAL #ELSE #INCLUDE("Content") #ENDIF #INCLUDE("Footer") #ENDIF