<div class="card">
    <div class="card-body">
        <h5 class="h5">Recent Posts</h5>
        <hr>
        <div class="list-group list-group-flush">
            <?php for($i=0; $i < $limit; $i++): ?>
            <div class="media mb-3">
                <div class="media-body">
                    <h6 class="mt-0 mb-1 h6">Komunitas Codeigniter Indonesia Mengadakan Meetup</h6>
                    <small class="text-secondary">23 Sep 2020 · baca 2 menit</small>
                </div>
                <img class="rounded ml-3" src="https://i.pinimg.com/1200x/1c/34/8b/1c348b87bf4a28af63cf8c82e7ae0082.jpg" width="60" height="60">
            </div>
            <?php endfor; ?>
        </div>
    </div>
</div>