<?php if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly ?>
<?php if (!empty($byor_diamond['certlink']) && $byor_diamond['lab'] != "IGI") { ?>
    <div class="certificate-popup modal fade position-fixed" id="certificate-modal" tabindex="-1" aria-hidden="true">
        <div class="modal-dialog">
            <div class="kirb-modal-content">
                <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
                <iframe src="<?php echo esc_url($byor_diamond['certlink']); ?>" width="100%" height="95%"></iframe>
            </div>
        </div>
    </div>
<?php } ?>