...
...
{foreach from=$items item=entry}
{cycle values="background1,background2" assign="background"}
{$entry->icon}
{$entry->topic_link}
{$fms->Lang('started_by')} {$entry->startedby} {$entry->startedby_time}
{$entry->posts_count}
{$entry->views}
{if isset($entry->lastposter)}
{$fms->Lang('topic_last_post_label')} {$fms->Lang('by')} {$entry->lastposter}
{if !empty($entry->lastposter_time)}{$entry->lastposter_time}{/if} post_url}#msg{$entry->post_id}">Lang('topic_last_post_label')}" alt="{$fms->Lang('topic_last_post_label')}" />
{/if}
{if isset($entry->reset_topic_link)}
{$entry->reset_topic_link}
{else}
{if isset($entry->sticky_topic_link)}{$entry->sticky_topic_link}{/if}
{if isset($entry->closed_topic_link)}{$entry->closed_topic_link}{/if}
{/if}
{if isset($entry->delete_topic_link)}; {$entry->delete_topic_link}{/if}
{if isset($entry->approve_topic_link)}; {$entry->approve_topic_link}{/if}
{/foreach}
...
...
in Stylesheet
Code: Select all
.background1 {
background: #fff;
}
.background2 {
background: #ccc;
}