#INCLUDE("Content-BreadCrumb") #IF(#DEFINED(#ImageMedium))
#BLOCK("InlineEditor", "image", #Object, "ImageMedium")#NameOrAlias#ENDBLOCK
#ELSIF(#INPUT.IsEditorMode)
#BLOCK("InlineEditor", "image", #Object, "ImageMedium")#NameOrAlias#ENDBLOCK
#ENDIF #BLOCK("InlineEditor", "text", #Object, "Name", "Tag=h1")

#NameOrAlias

#ENDBLOCK #BLOCK("InlineEditor", "html", #Object, "Text", "Tag=div")
#Text[0]
#ENDBLOCK #LOCAL("ViewAddThreadAllowed", 1) #IF(NOT #FUNCTION("ISACTIONALLOWED", "ViewAddThread") AND (NOT #DEFINED(#Session.User) OR #Session.User.IsAnonymous)) {LoginToAddEntry}    {RegisterNow} #ELSIF(#FUNCTION("ISACTIONALLOWED", "ViewAddThread") AND NOT #INPUT.IsEditorMode AND NOT #TooManyReplies) {AddEntry} #ENDIF #IF(#INPUT.IsEditorMode)
#ENDIF #IF(NOT #FUNCTION("ISACTIONALLOWED", "ViewAddThread") OR #TooManyReplies) #SET("ViewAddThreadAllowed", 0)
#IF(NOT #DEFINED(#Session.User) OR #Session.User.IsAnonymous) #IF(#TooManyReplies) {TooManyReplies} #ELSIF(#Thread.Forum.WritePermissionFor EQ #Shop.Child.Groups.Child.Merchants.ID) {LoginRequiredNoteAdmin} #ELSE {LoginRequiredNote} #ENDIF #ELSE {AddEntriesNotAllowedForGroup} #ENDIF
#ENDIF #IF(#COUNT(#Pager.Items)) #LOOP(#Pager.Items) #LOCAL("IsFirstItem", #Pager.ItemOffset == 0 AND #ItemNo == 0)
#IF(#User) #IF(#User.IsMerchant OR NOT #DEFINED(#User.BillingAddress)) #User.NameOrAlias #ELSE #WITH(#User.BillingAddress) #IF(#DisplayName)#DisplayName#ELSE#FullName#ENDIF #ENDWITH #ENDIF #ELSE {Guest} #ENDIF
#CreationDate[datetime]
#IF(#Spam == 0 AND #FUNCTION("ISACTIONALLOWED", "ReportSpam") AND #ViewAddThreadAllowed)
#ELSIF (#Spam == 1 AND #DEFINED(#Session.User) AND #Session.User.IsMerchant) {MarkedAsSpam} #ENDIF
#Message[preline]
#ENDLOCAL #ENDLOOP #ELSE {NoEntries} #ENDIF
#IF(#Pager.CountOfPages > 1)#INCLUDE("Pager")#ENDIF
#ENDLOCAL