<div class="layout-section">
    <div class="layout-heading mb-3 text-muted d-flex align-items-center">
        <h3 class="fs-lg fw-bold mb-0">
            <?php echo $this->translate('Comments');?>
        </h3>
    </div>
    <?php if(isset($Comments)) { ?>
    <?php foreach($Comments as $Comment) { ?>
    <form method="post" name="remove" data-id="<?php echo $Comment['comment_id'];?>" action="<?php echo user($Listing['id'],$Listing['username']);?>" class="row mb-3">
        <input type="hidden" name="_TOKEN" value="<?php echo $Token;?>">
        <input type="hidden" name="_ACTION" value="remove">
        <input type="hidden" name="_ID" value="<?php echo $Comment['comment_id'];?>">
        <div class="col-auto">
            <div class="w-100px">
                <?php echo picture(GAME_FOLDER,'thumb-'.$Comment['image'],'img-fluid rounded-3',$Comment['title'],GAME_X.','.GAME_Y);?>
            </div>
        </div>
        <div class="col">
            <div class="fs-xs text-muted mb-1">
                <?php echo dating($Comment['created']);?>
            </div>
            <div class="h5 mb-1">
                <?php echo $Comment['title'];?>
            </div>
            <div class="fs-sm text-muted">
                <?php echo $Comment['comment'];?>
            </div>
        </div>
        <div class="col-lg-auto">
            <button type="submit" class="btn rounded-pill btn-sm fs-xs btn-danger">Remove</button>
        </div>
    </form>
    <?php } ?>
    <div class="text-center mt-4">
        <?php echo $Pagination;?>
    </div>
    <?php } ?>
</div>