{foreach $comments as $comment}

{$comment->memberName}

{$comment->comment} {if $userId == $comment->memberid} {/if}


{foreach $comment->childs as $relatedComment}

{$relatedComment->memberName} {if $userId == $relatedComment->memberid} {/if}

{$relatedComment->comment}


{/foreach}
{/foreach}