<?php
    defined('BASEPATH') OR exit('No direct script access allowed');
?>
<li <?= isset($hidden) && $hidden ? 'style="display:none"' : '' ?>>
    <div class="well comment-well">
        <div class="d-inline-block mr-2">
            <a href="<?= base_url('user/' . $author['username']) ?>" target="_blank">
                <img src="<?= $author['profile_picture'] ?>" alt="">
            </a>
        </div>
        <div class="d-inline-block mr-2">
            <div class="content" style="padding-top:5px">
                <h3>
                    <small>von
                        <a href="<?= base_url('user/' . $author['username']) ?>" target="_blank">
                            <?= $author['displayname'] ?>
                        </a>
                           /
                        <?= date('d.m.Y H:i \\U\\h\\r', strtotime($date_created)) ?></small>
                </h3>
                <p class="comment">
                    <?= $comment ?>
                </p>
            </div>
        </div>
    </div>
</li>