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.
48 lines
2.4 KiB
48 lines
2.4 KiB
<h2>{#ARCHIVE_FROM#} {$month_name}, {$year} {#ARCHIVE_YEAR#}</h2><br /> <br /> |
|
|
|
{if $newsarchive->newsarchive_show_days == 1} |
|
<div>{#ARCHIVE_DAYS#}</div> |
|
|
|
<table width="100%" cellpadding="2" cellspacing="2"> |
|
<tr> |
|
{if $day == 0} |
|
<td>{#ARCHIVE_ALL_DAY#}</td> |
|
{else} |
|
<td><a href="index.php?module=newsarchive&id={$newsarchive->id}&month={$month}&year={$year}">{#ARCHIVE_ALL_DAY#}</a></td> |
|
{/if} |
|
{foreach from=$days item=month_day} |
|
{if $day == $month_day} |
|
<td>{$month_day|string_format:"%02d"}</td> |
|
{else} |
|
<td><a href="index.php?module=newsarchive&id={$newsarchive->id}&day={$month_day}&month={$month}&year={$year}">{$month_day|string_format:"%02d"}</a></td> |
|
{/if} |
|
{/foreach} |
|
</tr> |
|
</table> |
|
{/if} |
|
|
|
{if !$documents} |
|
<strong>{#ARCHIVE_NOT_FOUND#}</strong> |
|
{else} |
|
<table width="100%" cellpadding="0" cellspacing="2"> |
|
<tr class="arc_header"> |
|
{if $day == 0} |
|
<td><a href="index.php?module=newsarchive&id={$newsarchive->id}&month={$month}&year={$year}&sort=title{if $smarty.request.sort=='title'}_desc{/if}">{#ARCHIVE_DOC_NAME#}</a></td> |
|
<td><a href="index.php?module=newsarchive&id={$newsarchive->id}&month={$month}&year={$year}&sort=date{if $smarty.request.sort=='date'}_desc{/if}">{#ARCHIVE_PUBLIC_DATE#}</a></td> |
|
<td><a href="index.php?module=newsarchive&id={$newsarchive->id}&month={$month}&year={$year}&sort=rubric{if $smarty.request.sort=='rubric'}_desc{/if}">{#ARCHIVE_IN_RUBRIC#}</a></td> |
|
{else} |
|
<td><a href="index.php?module=newsarchive&id={$newsarchive->id}&day={$day}&month={$month}&year={$year}&sort=title{if $smarty.request.sort=='title'}_desc{/if}">{#ARCHIVE_DOC_NAME#}</a></td> |
|
<td><a href="index.php?module=newsarchive&id={$newsarchive->id}&day={$day}&month={$month}&year={$year}&sort=date{if $smarty.request.sort=='date'}_desc{/if}">{#ARCHIVE_PUBLIC_DATE#}</a></td> |
|
<td><a href="index.php?module=newsarchive&id={$newsarchive->id}&day={$day}&month={$month}&year={$year}&sort=rubric{if $smarty.request.sort=='rubric'}_desc{/if}">{#ARCHIVE_IN_RUBRIC#}</a></td> |
|
{/if} |
|
</tr> |
|
|
|
{foreach from=$documents item=document} |
|
<tr> |
|
<td><a href="{$document->document_alias}">{$document->document_title}</a></td> |
|
<td>{$document->document_published|date_format:$DATE_FORMAT|pretty_date}</td> |
|
<td>{$document->rubric_title}</td> |
|
</tr> |
|
{/foreach} |
|
</table> |
|
{/if} |