<div class="block xsml">
    <div class="title">فيديو </div>
    <div class="content">
        <ul  id="vertical-ticker4">
            <?php foreach ($videos_box as $vi) { ?>
                <?php if (isset($vi['vi_url']) and $vi['vi_url'] != "") { ?>
            <li><a href="<?php base_url() ?>patient/photos/album_photos" ><img src="http://img.youtube.com/vi/<?php echo $vi['vi_url']; ?>/default.jpg" /></a></li>
                <?php } else { ?>
                    <li><img src="<?php echo base_url(); ?>global/modules/admin/images/no-img.png"  /></li>
                    
                <?php } ?>   
            <?php } ?>
        </ul>
    </div>
</div>