<ul class="imgFader rslides">
    <?php foreach ($last_news as $ln) { ?>
        <li><a href="<?= base_url() . "news/show/" . $ln['ne_id']; ?>" >
                <!--<img src="<?= base_url(); ?>global/site/data/7.PNG" alt=""/>-->


                <?php if ($ln['ne_img'] != "" && file_exists(PUBPATH . "global/uploads/" . $ln['ne_img'])) { ?>
                    <img src="<?php echo base_url(); ?>global/uploads/<?php echo $ln['ne_img']; ?>" alt="" width="70px" height="60px" />
                <?php } elseif ($ln['ne_link_img'] != "" && check_img_url($ln['ne_link_img'])) { ?>
                    <img src="<?php echo $ln['ne_link_img'] ?>" alt="" width="70px" height="60px" />
                <?php } else { ?>
                    <img src="<?php echo base_url(); ?>global/modules/admin/images/no-img.png" alt="" width="70px" height="60px" />
                <?php } ?>  
                <span><?= $ln['ne_new_title']; ?></span></a></li>
    <?php } ?>
</ul>    



