#LOCAL("CanSubmit", 0) #IF(NOT #Shop.DomainName)

{Notification}

{NotificationNoDomainName}

#ELSIF(#Shop.ClosedByMerchant)

{Notification}

{NotificationShopClosed}

#ELSIF(#Shop.LoginRequired)

{Notification}

{NotificationLoginRequired}

#ELSE #SET("CanSubmit", 1) #LOCAL("SitemapURL", #ProtocolAndServer . "/sitemap-xml") #LOCAL("MobileSitemapURL", #ProtocolAndServer . "/mobilesitemap-xml") #IF(#Error)

{RegistrationError}

#IF( #Error.Reason EQ "RegistrationMiss" )

{ContactProvider}

#ENDIF
#ELSIF(#RegistrationSuccess)

{SitemapRegistrationDone}

{SitemapRegistrationInfo}

{LinkGoogleWebmasterTools} {LinkBingWebmasterTools} {LinkYahooSiteExplorer}
#ELSE

{XMLSitemapInfo}
{WebmasterToolsInfo} {WebmasterToolsInfo2}

{LinkGoogleWebmasterTools} {LinkBingWebmasterTools} {LinkYahooSiteExplorer}
#ENDIF #IF(#Shop.UseMobileSF) #ENDIF

{XMLSitemap} #SitemapURL
{XMLSitemapForMobileDevices} #MobileSitemapURL

{XMLSitemapCreated} #IF(#SitemapFileInfo.LastChange)#SitemapFileInfo.LastChange[datetime] #ELSE --- #ENDIF

#ENDLOCAL #ENDLOCAL #ENDIF
#ENDLOCAL
#IF(#FUNCTION("MENU_COUNT", "RelatedTopic") > 0)

{RelatedTopics}

#ENDIF