
here's the rebuilt code for the news template of spotlight 2.1 after combining the original and the one from linuxgamers!
Quote:
<div class="item">
<div class="itemTitle">
<{if $block.storyid != "0"}>
<a href="<{$xoops_url}>/modules/news/article.php?storyid=<{$block.storyid}>"><b><{$block.newstitle}></b></a>
<{else}>
<{$block.newstitle}>
<{/if}>
</div>
<div class="itemInfo">
<{$block.lang_by}> <{$block.author}>
</div>
<div class="itemBody">
<a href="<{$xoops_url}>/modules/news/article.php?storyid=<{$block.storyid}>">
<img src="<{$xoops_url}>/<{$block.imgpath}>/<{$block.image}>" alt="<{$block.newstitle}>" width="<{$block.imgwidth}>" height="<{$block.imgheight}>" align="left"/>
</a>
<{$block.hometext_news}>
</div>
<div style="clear: both;"></div>
<div class="itemFoot">
<a href="<{$xoops_url}>/modules/news/article.php?storyid=<{$block.storyid}>"><{$block.lang_read}></a>
</div>
</div>
<{if $block.lang_other_news !=""}>
<div class="item">
<div>
<{foreach item=news from=$block.stories}>
<div class="itemInfo">
<div class="itemTitle"><a href="<{$xoops_url}>/modules/news/article.php?storyid=<{$news.id}>"><{$news.title}></a> (<{$news.hitsordate}>)<br/>
</div>
<div class="itemBody">
<{$news.hometext}>
</div>
<div style="clear: both;"> </div>
</div>
<{/foreach}>
</div>
<div style="clear: both;"> </div>
<{if $block.lang_ministats != ""}>
<div class="itemFoot">
<{$block.lang_ministats}> <{$block.ministats}>
</div>
<{/if}>
</div>
<{/if}>