<!-- img Start -->
    <?php 
    foreach ($branch_image as $fa) {
        ?>

        <?php if ($fa['ph_url'] != null) { ?>
            <?php if (file_exists(PUBPATH . "global/uploads/" . $fa['ph_url'])) { ?>
                    <img src="<?= base_url() ?>global/uploads/<?php echo $fa['ph_url'] ?>" alt=""/>

            <?php } else {
                ?>
         <img src="<?= base_url() ?>global/site/images/ramzya/<?= $fa['pt_img'] ?>"  />

                <?php
            }
        } else {
            ?>
                <img src="<?= base_url() ?>global/site/images/ramzya/<?= $fa['pt_img'] ?>"/>

        <?php } ?>

            <?php
 }
        ?>
<!-- img end -->







