<?php if (sizeof($this->comments) > 0) { ?>
<div class="maintxt">
<ul>

<?php foreach ($this->comments AS $key => $val) { ?>
<li><div class="title"><span class="name"><?php echo $val['user_name']; ?></span> • <span class="time"><?php echo date_friendly($val['time']); ?></span></div>
<div><?php echo nl2br($val['message']); ?></div>
</li>
<?php } ?>

</ul>
</div>
<?php } ?>