<? global $lang;?>
<? if ( is_array( $this -> articles ) ): foreach( $this -> articles as $article ):?>
  <div class="article-list">
    <?
      $article['language']['seo_link'] ? $url = $article['language']['seo_link'] : $url = 'a-' . $article['id'] . '-' . \S::seo( $article['language']['title'] );
      ?>
      <h3 class="article-title">
        <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;?>><?= $article['language']['title'];?></a>
      </h3>
      <?
        if ( $this -> articles[0]['show_date_add'] )
          echo '<div class="date-add">' . ucfirst( $lang['data-dodania'] ) . ': ' . $this -> articles[0]['date_add'] . '</div>';
      ?>
  </div>
<? endforeach; endif;?>