
{loaddata name="news" var=news limit=$settings.last_news_count|default:5}
{foreach from=$news item=n}
<div class="col-sm-6 col-lg-4">
                        <div class="blog-item">
                            <div class="blog-top">
                                <a href="{"?a=news#`$n.id`"|encurl}" target="_blank">
                                    <img src="assets/img/news.jpg" alt="Latest News">
                                </a>
                                <span>News #{$n.id}</span>
                            </div>
                            <div class="blog-bottom">
                                <ul>
                                    <li>
                                        <i class='bx bx-time-five'></i>
                                        {$n.d}
                                    </li>
                                </ul>
                                <h3>
                                    <a href="{"?a=news#`$n.id`"|encurl}" target="_blank">{$n.title|escape:html}</a>
                                </h3>
                                <img src="assets/img/blog1.png" alt="Blog">
                                <p><a href="#" target="_blank">By</a> Author</p>
                            </div>
                        </div>
                    </div>
                    

{/foreach}

