#INCLUDE("Content-BreadCrumb") #IF(#ISACTIONALLOWED("RSS", #Object, #System.Child.Groups.Child.Everyone.Object)) {RSSFeed} #ENDIF #IF(#TooManyReplies)
{TooManyReplies}
#ELSIF(#Thread.IsClosed)
{NoFurtherRepliesAllowed}
#ELSE #IF(NOT #FUNCTION("ISACTIONALLOWED", "AddReply")) #IF(NOT #DEFINED(#Session.User) OR #Session.User.IsAnonymous) {LoginAndAddReply} {RegisterNow} #ELSE
{ReplyNotAllowedForGroup}
#ENDIF #ENDIF #ENDIF
#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
#IF(#Spam==1) #ENDIF
#CreationDate[datetime]
#IF(#Spam == 0 AND #FUNCTION("ISACTIONALLOWED", "ReportSpam") AND #FUNCTION("ISACTIONALLOWED", "AddReply"))
#ELSIF (#Spam == 1 AND #DEFINED(#Session.User) AND #Session.User.IsMerchant) {MarkedAsSpam} #ENDIF
#BLOCK("InlineEditor", "text", #Object, "Subject", "Tag=h3")

#IF(#Subject)#Subject#ELSE({NoSubject})#ENDIF

#ENDBLOCK
#BLOCK("InlineEditor", "text", #Object, "Message", "Tag=div")
#Message[preline]
#ENDBLOCK
#IF(#FUNCTION("ISACTIONALLOWED", "AddReply")) #ENDIF
#ENDLOCAL #ENDLOOP
#IF(#Pager.CountOfPages > 1)#INCLUDE("Pager")#ENDIF
#IF(#PreviousThread) << {PreviousThread} #ENDIF #IF(#NextThread) {NextThread} >> #ENDIF
#IF(#FUNCTION("ISACTIONALLOWED", "AddReply")) #IF(NOT #Thread.IsClosed AND NOT #TooManyReplies)
{Reply}
#ENDIF #ENDIF