<div class="col-lg-12">
    <div class="row">
        <?php
        foreach ($lpbj as $l) {
        ?>
            <div class="col-xxl-4 col-md-4" style="cursor:pointer;" <?php echo "onclick='apprv(\"" . $l['token'] . "\")'" ?>>
                <div class="card info-card sales-card">
                    <div class="card-body">
                        <h5 class="card-title">Req by <span>| <?= $l['req']; ?></span>
                            <?php
                            if ($l['sts_urgent'] == 1) {
                            ?>
                                <span class="badge rounded-pill bg-danger" style="float:right;color:white;">Urgent</span>
                            <?php } ?>
                        </h5>
                        <div class="d-flex align-items-center">
                            <div class="ps-3">
                                <h6><?= $l['kd_lpbj']; ?></h6>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        <?php } ?>
    </div>
</div>