' . $this -> _message . '
';
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_date'] ):?>
= date( 'H:i d/m/Y', strtotime( $art -> _values['date_add'] ) );?>
endif;?>
$text = strip_tags( $art -> getModifyText( true ) );
$position = strpos( $text , $this -> _text );
$start = $position - 255;
if ( $start < 0 )
$start = 0;
if ( $start > 0 )
$out = '...';
else
$out = '';
$end = 255;
if ( $end > $position )
$end = $position;
$out .= mb_substr( $text , $start , $end , 'UTF-8' );
$out .= mb_substr( $text , $position , 255 , 'UTF-8' );
$out .= '...';
$out = str_replace( $this -> _values['text'] , '' . $this -> _values['text'] . '' , $out );
echo $out;
?>
= $lang -> getTrans( 'T_WIECEJ' );?>
}
?>