#LOCAL("MainCategory", #MainCategory)#IF(#MainCategory)
#IF(#Shop.Categories.Child.SpecialOffers.ID == #MainCategory.ID)
{SpecialOffers}#ELSE
#LOOP(#MainCategory.PathFromSite)#NameOrAlias#ENDLOOP#ENDIF
#NameOrAlias
{AppointmentData}
#ENDIF#ENDLOCAL
#IF(#DEFINED(#INPUT.ViewAction) AND #INPUT.ViewAction EQ "ViewPaged")
#INCLUDE("Pager")
#ENDIF