1
I want use this:
.recentnews
{
valign=top;
background-image: url(recentnews.gif);
background-repeat: no-repeat;
background-position: right;
padding: 2px;
}
But I don't know where add class (recentnews) here:
<ul id="tabNavigation">
<{foreach item=onetab from=$block.tabs}>
<{if $block.current_tab == $onetab.id}>
<li class="selectedTab"><a href='#'><{$onetab.title}>a>li>
<{else}>
<li><a href="<{$block.url}>NewsTab=<{$onetab.id}>"><{$onetab.title}>a>li>
<{/if}>
<{/foreach}>
<li class="fixTabsIE"><a href="javascript:void(0);"> a>li>
ul>
<{if $block.current_is_spotlight}>
<div style="border-top: 1px solid rgb(0, 0, 0); background: <{$block.color1}> none repeat scroll 0%; -moz-background-clip: initial; -moz-background-origin: initial; -moz-background-inline-policy: initial;"><{$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}><br />div>
<{else}>
<div style="border-top: 1px solid rgb(0, 0, 0); background: <{$block.color1}> none repeat scroll 0%; -moz-background-clip: initial; -moz-background-origin: initial; -moz-background-inline-policy: initial;">
<{foreach item=onesummary from=$block.smallheader}>
<{$onesummary}>
<{/foreach}>
<br />div>
<{/if}>
<div id="fullSupport">
<{if $block.current_is_spotlight && $block.tabs.id==0}>
<table border=0>
<tr>
<td colspan='2'><div class="itemBody"><ul><li><{$block.spotlight.title_with_link}>li>ul>div>td>
tr>
<tr>
<td><{$block.spotlight.image}> td><td><p class="note"><{$block.spotlight.text}>p>td>
tr>
table>
<br /><center><hr width='85%'>center>
<ul>
<{foreach item=onenews from=$block.spotlight.news}>
<li><{$onenews.date}> - <{$onenews.title_with_link}>li>
<{/foreach}>
ul>
<{else}>
<{foreach item=onenews from=$block.news}>
<div class="itemBody"><ul><li><{$onenews.title}>li>ul><span class="itemStats"> <{$onenews.author}> <{$block.lang_on}> <{$onenews.date}> - <{if $block.use_rating}> <{$onenews.rating}>/10 (<{$onenews.number_votes}>)<{/if}>, <{$onenews.hits}> <{$block.lang_reads}>span>div>
<p class="note"><{$onenews.text}>p>
<{/foreach}>
<{/if}>
div>
<{else}>
<table>
<{if $block.spotlight}>
<tr>
<td><table>
<tr>
<td colspan=2><font color="#FF6600"><b><{$block.spotlight.title}>b>font> <{$block.spotlight.author}>
<{if $block.sort=='counter'}>
(<{$block.spotlight.hits}>)
<{elseif $block.sort=='published'}>
(<{$block.spotlight.date}>)
<{else}>
(<{$block.spotlight.rating}>)
<{/if}>
td>
tr>
<tr>
<td><{$block.spotlight.image}>td><td><{$block.spotlight.text}>td>
tr>
<tr>
<td colspan=2><hr width='98%'><div align='right'><a href="<{$xoops_url}>/modules/news/article.php?storyid=<{$block.spotlight.id}>"><{$block.lang_read_more}>a> div><hr width='98%'>td>
tr>
table>td>
tr>
<{/if}>
<tr>
<td>
<ul>
<{foreach item=news from=$block.stories}>
<{if $news.id <> $block.spotID}>
<li>
<{if $block.sort=='counter'}>
[<{$news.hits}>]
<{elseif $block.sort=='published'}>
[<{$news.date}>]
<{else}>
[<{$news.rating}>]
<{/if}>
<a href="<{$xoops_url}>/modules/news/article.php?storyid=<{$news.id}>" <{$news.infotips}>><{$news.title}>a> <br /><{$news.teaser}>li>
<{/if}>
<{/foreach}>
ul>
td>
tr>
table>
<{/if}>