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'] );
?>
if ( $art -> getImg() ):?>
endif;?>
if ( $art -> _values['show_title'] ):?>
endif;?>
if ( $art -> _values['show_date'] ):?>
= date( 'H:i d/m/Y', strtotime( $art -> _values['date_add'] ) );?>
endif;?>
if ( $art -> _values['comments_enabled'] ):?>
= $lang -> getTrans( 'T_KOMENTARZE' );?>: = count( $art -> _values['comments'] );?>
endif;?>
$text = $art -> getModifyText( true );
echo mb_substr( strip_tags( $text ) , 0 , 500 , 'UTF-8' );
if ( strlen( $text ) > 500 )
echo '...';
?>
= $lang -> getTrans( 'T_WIECEJ' );?>
}
?>