1
SuperVoley
Background in spotlight (news 1.3)
  • 2005/3/30 6:35

  • SuperVoley

  • Just popping in

  • Posts: 67

  • Since: 2004/11/2


I want use this:
.recentnews
{
    
valign=top;
    
background-imageurl(recentnews.gif);
    
background-repeatno-repeat;
    
background-positionright;
    
padding2px;
}


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);">&nbsp;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}>&nbsp;
    <{/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}>&nbsp;td><td><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">&nbsp;&nbsp;<{$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>
            <
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> &nbsp;&nbsp;&nbsp;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}>



Login

Who's Online

270 user(s) are online (63 user(s) are browsing Support Forums)


Members: 0


Guests: 270


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Oct 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits