{if $block.displayview==2}> <{* Classical view *}>
<{* ************************************** Tabs creation ************************************** *}>
<{if $block.current_is_spotlight}>
<{$block.spotlight.author}> <{$block.lang_on}> <{$block.spotlight.date}> <{if $block.use_rating}> - <{$block.spotlight.rating}>/10 (<{$block.spotlight.number_votes}>)<{/if}>, <{$block.spotlight.hits}> <{$block.lang_reads}>
<{else}>
<{foreach item=onesummary from=$block.smallheader}>
<{$onesummary}>
<{/foreach}>
<{/if}>
<{* ************************************** Body of the current tab ************************************** *}>
<{if $block.current_is_spotlight && $block.tabs.id==0}>
 | <{$block.spotlight.topic_description}> |
- <{$block.spotlight.title_with_link}>
|
<{$block.spotlight.image}> | <{$block.spotlight.text}> |
<{foreach item=onenews from=$block.spotlight.news}>
- <{$onenews.date}> - <{$onenews.title_with_link}>
<{/foreach}>
<{else}>
 | <{$block.topic_description}> |
<{foreach item=onenews from=$block.news}>
<{$onenews.author}> <{$block.lang_on}> <{$onenews.date}> - <{if $block.use_rating}> <{$onenews.rating}>/10 (<{$onenews.number_votes}>)<{/if}>, <{$onenews.hits}> <{$block.lang_reads}>
<{$onenews.text}>
<{/foreach}>
<{/if}>
<{else}> <{* ************************************** Classical view ************************************** *}>
<{if $block.spotlight}>
 | <{$block.spotlight.topic_description}> |
<{$block.spotlight.title}> <{$block.spotlight.author}>
<{if $block.sort=='counter'}>
(<{$block.spotlight.hits}>)
<{elseif $block.sort=='published'}>
(<{$block.spotlight.date}>)
<{else}>
(<{$block.spotlight.rating}>)
<{/if}>
|
<{$block.spotlight.image}> | <{$block.spotlight.text}> |
<{if $block.spotlight.read_more}>
<{/if}>
|
|
<{/if}>
<{foreach item=news from=$block.stories}>
<{if $news.id != $block.spotlight.id}>
-
<{if $block.sort=='counter'}>
[<{$news.hits}>]
<{elseif $block.sort=='published'}>
[<{$news.date}>]
<{else}>
[<{$news.rating}>]
<{/if}>
><{$news.title}>
<{$news.teaser}>
<{/if}>
<{/foreach}>
|
<{/if}>