2
A modified news block.
Modified news_block_top.html:
le="color: #000000"><?php <{if $block.displayview==2}> <{includeq file="db:news_block_top_tab.html"}> <{else}> <table> <tr> <{if $block.spotlight}> <td style="width: 60%;"> <div style="padding: 2px;"> <h2 style="padding: 1px;" class="itemTitle"><a href="<{$xoops_url}>/modules/news/article.php?storyid=<{$block.spotlight.id}>" title="<{$block.spotlight.title}>"><{$block.spotlight.title}></a></h2> <{$block.spotlight.author}> <{if $block.sort=='counter'}> (<{$block.spotlight.hits}>) <{elseif $block.sort=='published'}> (<{$block.spotlight.date}>) <{else}> (<{$block.spotlight.rating}>) <{/if}> <div style="margin-top: 5px; padding: 5px 2px;"> <{$block.spotlight.image}> <{$block.spotlight.text}> </div> </div> </td> <{/if}> <td style="vertical-align: top;"> <div style="padding-top: 10px;"> <ul style="line-height: 150%; list-style-position: outside;"> <{foreach item=news from=$block.stories}> <{if $news.id != $block.spotlight.id}> <li> <em style=" font-size: 1.2em; font-style: normal;"><a href="<{$xoops_url}>/modules/news/article.php?storyid=<{$news.id}>" <{$news.infotips}> title="<{$news.title}>"><{$news.title}></a></em> <{if $block.sort=='counter'}> <{$news.hits}> <{elseif $block.sort=='published'}> <{$news.date}> <{else}> <{$news.rating}> <{/if}> <{if $news.teaser}> <br /><{$news.teaser}> <{/if}> </li> <{/if}> <{/foreach}> </ul> </div> </td> </tr> </table> <{/if}>