= $block_title; ?>
createFriendlyURL("action=viewitem&id={$item['id']}");
$entrydate = date("j.M.Y", strtotime($item['date_created']));
$entrytitle = $item['title'];
/* = $entrydate; ?>
= ___h($entrytitle); ?> */
$secondary_headline = $item['summary_secondary_headline'] ? $item['summary_secondary_headline'] : mb_substr(strip_tags($item['summary']), 0, 255,'UTF-8') . '...';
if ($item['summary_secondary_headline']) {
$secondary_headline = $item['summary_secondary_headline'];
} else {
$article_summary = strip_tags($item['summary']);
$max_string_length = 100;
$article_summary_space_position = mb_strpos($article_summary, ' ', $max_string_length-5);
if ($article_summary_space_position == 0 || $article_summary_space_position > $max_string_length)
$article_summary_space_position = $max_string_length;
$secondary_headline = mb_substr($article_summary, 0, $article_summary_space_position,'UTF-8');
}
//$thumb_filename = $item['summary_intro_image'] ? $blog->getDataFileURLPath('image_small', $item['summary_intro_image']) : '';
$thumb_filename = $blog->getBlogImage('image_thumbnail', $item['summary_intro_image']);
?>
hasReadPermission($item['permission_read']) && ( $item['date_expiry'] == NULL || $item['date_expiry'] == NULL_DATE || days_difference_from_today($item['date_expiry']) > 0 )): ?>
getUserByID($item['created_by_id']); ?>
This article is written by: = ___h($author['firstname'].' '.$author['lastname']) ?>
= $entrydate ?>
= $secondary_headline ?>