#IF(#Shop.DomainName AND NOT #HasCreatedInitialShortURLs)
#ENDIF
#IF(NOT #IsPageCacheUsed)
#ENDIF
#IF(#Shop.Logo)
#ENDIF
{Welcome}
#IF(#Shop.MerchantWelcomeText) #Shop.MerchantWelcomeText[0]#ENDIF
#LOCAL("MessageCount", 0)
#IF(NOT #MailFrom)#SET("MessageCount", #MessageCount+1)#ENDIF
#IF(NOT #IsPageCacheUsed)#SET("MessageCount", #MessageCount+1)#ENDIF
#IF(#Shop.DomainName AND NOT #HasCreatedInitialShortURLs)#SET("MessageCount", #MessageCount+1)#ENDIF
#IF(#FUNCTION("MENU_COUNT", "StartPageMessageCenterMenu") > 0) #SET("MessageCount", #MessageCount+#FUNCTION("MENU_COUNT", "StartPageMessageCenterMenu")) #ENDIF
#IF(#MessageCount)
#IF(#MessageCount > 1)
{CurrentSystemMessages}
#ENDIF
#IF(NOT #MailFrom)
#ENDIF
#IF(#Shop.DomainName AND NOT #HasCreatedInitialShortURLs)
{ShortUrlCreationInProgress}
#ENDIF
#IF(NOT #IsPageCacheUsed)
{CacheInactive}
{CachingNotActive}
{More}
#ENDIF
#MENU("StartPageMessageCenterMenu")
#INCLUDE(#Template)
#ENDMENU
#ENDIF
#ENDLOCAL
#IF(#System.ScheduledDowntimeStart)
#LOCAL("DateTimeStart",#System.ScheduledDowntimeStart[datetime])
#LOCAL("DateTimeEnd",#System.ScheduledDowntimeEnd[datetime])
#ENDLOCAL
#ENDLOCAL
#ENDIF
#LOCAL("CurrentShop",#Shop)
#LOOP(#Session.User.MBOWidgets)
#INCLUDE("WidgetBase")
#ENDLOOP
#ENDLOCAL
#MENU("StartPageMenu")
#INCLUDE(#Template)
#REM#ENDREM
#ENDMENU
#REM Performance: Avoid fetching the shop attribute 'NextSteps' multiple times! #ENDREM
#LOCAL("Steps", #NextSteps)
#MENU("NextStepsMenu")
#INCLUDE(#Template)
#ENDMENU
#ENDLOCAL