<div class="col">
  <div class="card h-100 shadow-sm">
    <div class="card-header">
      <h5 class="card-title lh-base text-truncate"><?= htmlspecialchars($comment->title) ?></h5>
      <h6 class="card-subtitle mb-2 text-muted"><?= htmlspecialchars($comment->name) ?></h6>
    </div>
    <div class="card-body">
      <p class="card-text"><?= nl2br(htmlspecialchars($comment->comment)) ?></p>
    </div>
    <div class="card-footer">
      <small class="text-muted">
        <?php echo date("d.m.Y H:i", $comment->time) ?>
      </small>
    </div>
  </div>
</div>