<div class="singleComment">
	<a name="comment<?= $comment->id ?>"></a>
	<img src="/img/avatars/<?= $comment->RefUser->id ?>.jpg" class="avatar"/>
	<div class="info">
		<a href="/user/<?= $comment->RefUser->id ?>"><b><?= $comment->RefUser->nick ?></b></a>&nbsp;
		<?= date('H:i d-m-Y',$comment->addDate) ?>
		<?php if ($comment->answerTo): ?>
			(<a href="#comment<?= $comment->answerTo ?>" title="Посмотреть комментарий">ответ на <span class="glyphicon glyphicon-hand-up"></span></a>)
		<?php endif; ?>
		<a href="#commentForm" title="Ответить" onclick="reply(<?= $comment->id ?>, '<?= $comment->RefUser->nick ?>');return false;" class="anchor"><span class="glyphicon glyphicon-share-alt"></span></a>
		<a href="#comment<?= $comment->id ?>" title="Ссылка на комментарий" class="anchor">#</a>
		<?php if (App::$user && $comment->userId == App::$user->id): ?>
			<a href="/comments/del/id/<?= $comment->id ?>" title="Удалить комментарий" class="anchor"><span class="glyphicon glyphicon-trash"></span></a>
		<?php endif; ?>
	</div>
	<br/>
	<?= Helper::replaceLinks($comment->html, 'html') ?><br/>
	<br style="clear: both;">
</div>
