{if $comments_data.items}
	{foreach item=item from=$comments_data.items key=key}
			<div id="comm_{$item.object_id}" class="comment_wrapper">
				{if $item.type.object_img==1}
				<div class="comments_left">
					{if $item.user_data.profile_link}<a href="{$item.user_data.profile_link}">{/if}
						<img src="{$item.user_data.icon}" class="imgcanvas" alt="{$item.user_data.nickname}">
					{if $item.user_data.profile_link}</a>{/if}
				</div>
				{/if}
				<div class="comments_right">
					{if $item.user_data.profile_link}<a class="float_left" href="{$item.user_data.profile_link}">{/if}
					<span class="float_left">{$item.user_data.nickname}&nbsp;</span>
					{if $item.user_data.profile_link}</a>{/if}
					<span class="float_left">({$item.date_created})&nbsp;&nbsp;</span>
					{if $item.delete_link_owner || $item.type.moderation_author!=0 && $item.object_id==$user_id}
						<a class="float_left" href="#" onclick="javascript: comment.DeleteComment(this, '{$item.id}'); return false;">{$lang.button.delete}</a>
					{/if}
					{if $item.type.rating==1}
					<div class="float_right">
						<a href="#" id="commru_{$item.object_id}" onclick="javascript: comment.saveRating({$item.id}, 1); return false;" title="{$lang.section.comment_like}">{$lang.section.comment_like}&nbsp;</a>&nbsp;
						<span id="commr_{$item.id}" title="{$item.rating}">{if $item.rating!=0}{$item.rating}{/if}</span>
					</div>
					{/if}
					<br/>
					{$item.comment}
				</div>
			</div>
	{/foreach}
{/if}