Модуль Архив новостей v1.26.3
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

18 lines
776 B

<div class="mod_searchbox">
<strong>{#ARCHIVE_TITLE#}</strong><br />
<br />
{assign var="cur_year" value=""}
{foreach from=$months item=items}
{if $items->year!=$cur_year}{assign var="cur_year" value=$items->year}
<h3>{$items->year}</h3>
{/if}
{if $items->nums != 0}
<span style="line-height:25px;"><a href="index.php?module=newsarchive&id={$archiveid}&amp;month={$items->mid}&amp;year={$items->year}">{$items->month}, {$items->year}</a> <small>({$items->nums})</small></span><br />
{else}
{if $newsarchive_show_empty == 1}
<span style="line-height:25px;"><a href="index.php?module=newsarchive&id={$archiveid}&amp;month={$items->mid}&amp;year={$items->year}">{$items->month}, {$items->year}</a> <small>(0)</small></span><br />
{/if}
{/if}
{/foreach}
</div>