<div class="block xsml">
    <div class="title">صور منتجات</div>
    <div class="content">
        <ul  id="vertical-ticker3">

            <?php foreach ($photos_box as $ph) { ?>
                <?php if ($ph['ph_url'] != null) { ?>
                    <?php if (file_exists(PUBPATH . "global/uploads/" . $ph['ph_url'])) { ?>
                        <li><a><img src="<?= base_url() ?>global/uploads/<?= $ph['ph_url'] ?>" alt="" /></a></li>
                        <?php
                    }
                } else {
                    ?>
                    <li><img alt="" src="<?= base_url() ?>global/site/data/images(1).jpg"/></li>
                    <li><img alt="" src="<?= base_url() ?>global/site/data/images(1).jpg"/></li>
                    <li><img alt="" src="<?= base_url() ?>global/site/data/images(1).jpg"/></li>
                <?php } ?>
            <?php } ?>

        </ul>
    </div>
</div>
