<?
global $lang;
if ( is_array( $this -> _articles ) ) foreach ( $this -> _articles as $art )
{
  $art -> _values['seo_link'] ? $link = $art -> _values['seo_link'] : $link = 'a,' . $art -> _values['id'] . ',' . \System::seo( $art -> _values['title'] );
  ?>
  <div class='article_list' onClick='document.location.href="<?= $link;?>";'>
    <div class='article_title'><?= (++$i);?>.<a><?= ucfirst( $art -> _values['title'] );?></a></div>
    <? if ( $art -> _values['show_date'] ):?>
      <div class='article_date'><?= $lang -> getTrans( 'T_DATA_PUBLIKACJI' );?>: <?= date( 'Y-m-d H:s' , strtotime( $art -> _values['date_add'] ) );?></div>
    <? endif;?>
  </div>
  <?
}
?>