{assign var='comments' value=$myquery->get_comments($id,$type)} {if $comments}
{foreach from=$comments item=comment} {include file="$style_dir/blocks/comments/comment.html" comment=$comment type=$type} {/foreach} {else}
{lang code='no_comments' assign=no_comments} {$no_comments|sprintf:$object_type}
{/if} {if $comments}
{/if}