File size: 842B
<?php foreach ($comments as $data): ?>
<div class="b">
<i class="fa fa-comment"></i> <b><a href="/blog/blog?act=comments&id=<?=$data['relate_id']?>"><?=$data['title']?></a></b> (<?=$data['comments']?>)
<?php if (is_admin()): ?>
— <a href="/blog/active?act=del&id=<?=$data['id']?>&uz=<?=$data['user']?>&page=<?=$page['current']?>&uid=<?=$_SESSION['token']?>">Удалить</a>
<?php endif; ?>
</div>
<div>
<?=App::bbCode($data['text'])?>
<br />
Написал: <?=nickname($data['user'])?> <small>(<?=date_fixed($data['time'])?>)</small><br />
<?php if (is_admin() || empty($config['anonymity'])): ?>
<span class="data">(<?=$data['brow']?>, <?=$data['ip']?>)</span>
<?php endif; ?>
</div>
<?php endforeach; ?>