<?php if (!empty($results)): ?>
    <?php foreach ($results as $item): ?>
        <div onclick="Choose(this);" bb-link="donasi/<?php echo $item->gd_url; ?>" class="item-result item-campaign" style="margin:0px;">
            <img src="assets/home/img/<?php echo $item->gd_foto; ?>" onerror="this.onerror=null;this.src='https://m.benihbaik.com/img/image_sementara/image-not-found.png'" class="thumb-camp">
            <h2 class="camp-title title-rowcut"><?php echo $item->gd_judul; ?></h2>
        </div>
    <?php endforeach; ?>
<?php else: ?>
    <div class='item-result'>
        <h2 style='text-align: center;color: #828282;font-weight: bold;'>Tidak Ditemukan</h2>
    </div>
<?php endif; ?>