';
echo '';
$style = '';
if (isset($item['thumbnail_height'])) {
$style .= 'max-height:'.$item['thumbnail_height'].'px;';
}
if (isset($item['thumbnail_width'])) {
$style .= 'max-width:'.$item['thumbnail_width'].'px;';
}
echo html_writer::empty_tag('img', array('src' => $item['thumbnail'], 'alt' => '', 'style' => $style));
echo ' | ';
if (!empty($item['url'])) {
echo html_writer::link($item['url'], s($item['title']), array('target'=>'_blank'));
} else {
echo s($item['title']);
}
echo ' | ';
echo '';
echo '';
echo ' | ';
echo '
';
}
echo '