<ul class="news-list">
  <? if ( \S::is_array_fix( $this -> articles ) ): foreach ( $this -> articles as $article ):?>
    <? $article['language']['seo_link'] ? $url = $article['language']['seo_link'] : $url = 'a-' . $article['id'] . '-' . \S::seo( $article['language']['title'] );?>
    <li>
   <a href="/<? if ( \S::get_session( 'current-lang' ) != \front\factory\Languages::default_language( \S::get_domain( $_SERVER['HTTP_HOST'] ) ) ) echo \S::get_session( 'current-lang' ) . '/';?><?= $url;?>" title="<?= $article['language']['title'];?>"  <? if ( $article['language']['noindex'] ):?>rel="nofollow"<? endif;?>><i class="far fa-file-alt"></i><?= $article['language']['title'];?></a>
     <div class="date-add"><?= date( 'd.m.Y', strtotime( $article['date_add'] ) );?></div>
    </li>
  <? endforeach; endif;?>
</ul>