echo t($term->name);
?>
<span class="ttg"></span></h3>
                            <ul class="clearfix">
                                <?php 
foreach ($articles as $article) {
    ?>
                                    <li>
                                        <article class="entry-item">
                                            <div class="entry-thumb">
                                                <a href="<?php 
    echo url("node/{$article->nid}");
    ?>
">
                                                    <?php 
    echo footmali_output_image('article_teaser', $article->field_image);
    ?>
                                                </a>
                                            </div>
                                            <div class="entry-content">
                                                <div class="content-top">
                                                    <h4 class="entry-title" itemscope="" itemtype="http://schema.org/Article">
                                                        <a itemprop="name" href="<?php 
    echo url("node/{$article->nid}");
    ?>
"><?php 
    echo $article->title;
    ?>
</a>
                                                    </h4>
                                                </div>
if (count($top_articles) > 0) {
    ?>
    <div class="widget kopa-article-list-widget article-list-1">
        <ul class="clearfix">
            <?php 
    foreach ($top_articles as $top_article) {
        ?>
                <li>
                    <article class="entry-item">
                        <div class="entry-thumb">
                            <a href="<?php 
        echo drupal_get_path_alias("node/{$top_article->nid}");
        ?>
">
                                <?php 
        echo footmali_output_image('article_page', $top_article->field_image);
        ?>
                            </a>
                        </div>
                        <div class="entry-content">
                            <div class="content-top">
                                <h4 class="entry-title"><a href="<?php 
        echo drupal_get_path_alias("node/{$top_article->nid}");
        ?>
"><?php 
        echo $top_article->title;
        ?>
</a></h4>
                            </div>
                            <p><?php 
        echo footmali_trim_paragraph($top_article->body[LANGUAGE_NONE][0]['value'], 140) . '...';
    <div class="owl-carousel sync1">
        <?php 
if (count($featured_articles) > 0) {
    ?>
            <?php 
    foreach ($featured_articles as $featured_article) {
        ?>
                <div class="item">
                    <article class="entry-item">
                        <div class="entry-thumb">
                            <a href="<?php 
        echo drupal_get_path_alias("node/{$featured_article->nid}");
        ?>
">
                                <?php 
        echo footmali_output_image('homepage_highlight_carousel', $featured_article->field_image);
        ?>
                            </a>
                            <div class="thumb-hover"></div>
                        </div>
                        <div class="entry-content">
                            <p><span><b><?php 
        echo format_date($featured_article->created, 'medium', 'j F Y');
        ?>
</b></span></p>
                            <h4 class="entry-title">
                                <a href="<?php 
        echo drupal_get_path_alias("node/{$featured_article->nid}");
        ?>
"><?php 
        echo $featured_article->title;
        ?>
				                            </div>
				                            <div class="r-content">
				                                <h5><?php 
        echo strlen($home_team->title) < 15 ? $home_team->title : $home_team_short_name;
        ?>
</h5>
				                            </div>
				                        </a>
				                        <a class="r-side right" href="/<?php 
        echo drupal_get_path_alias('node/' . $away_team->nid);
        ?>
">
				                            <div class="r-thumb">
				                                <?php 
        echo count($away_team->field_image) > 0 ? footmali_output_image('fixture_result_team_logo', $away_team->field_image) : $team_logo;
        ?>
				                            </div>
				                            <div class="r-content">
				                                <h5><?php 
        echo strlen($away_team->title) < 15 ? $away_team->title : $away_team_short_name;
        ?>
</h5>
				                            </div>
				                        </a>
				                        <p><b><?php 
        echo $round;
        ?>
: </b><?php 
        echo $match_date;
        ?>
            <ul class="clearfix item-list-entry mb-20">
              <?php 
    foreach ($top_articles as $top_article) {
        ?>
                <?php 
        if ($top_article->type == 'article') {
            ?>
                <li>
                    <article class="entry-item">
                        <div class="entry-thumb">
                            <a href="<?php 
            echo drupal_get_path_alias("node/{$top_article->nid}");
            ?>
">
                              <?php 
            echo footmali_output_image('content_carrousel_thumb', $top_article->field_image);
            ?>
                            </a>
                        </div>
                        <div class="entry-content">
                            <h4 class="entry-title">
                              <a href="<?php 
            echo drupal_get_path_alias("node/{$top_article->nid}");
            ?>
">
                                <?php 
            echo $top_article->title;
            ?>
                              </a>
                            </h4>
                        </div>