Файл: core/tpl/user/default/blocks/news.tpl.html
Строк: 56
<?php
{* шаблон блока новостей *}
{if $news_array}
<div align="left">
{section name=u loop=$news_array}
{if $smarty.section.u.index ne 0}<br><br>{/if}<b>{$news_array[u].add_date}</b><br>
<a href="{if $smarty.const.CONF_MOD_REWRITE eq 1}show_news_{$news_array[u].NID}.html{else}index.php?fullnews={$news_array[u].NID}{/if}">{$news_array[u].title}</a>
{/section}<br><br>
</div>
{/if}
<div align="left">
<form action="index.php" name="subscription_form" method="post" id="subscription_form">
{$smarty.const.CUSTOMER_SUBSCRIBE_FOR_NEWS}
<div style="padding: 4px 0 6px 0;">
<input type="text" name="email" value="" style="width: 140px;">
</div>
<table cellspacing="0" cellpadding="0">
<tr>
<td valign="middle" style="height: 18px; padding-bottom: 2px;"><input type="radio" name="modesubs" value=1 checked></td>
<td valign="middle"> {$smarty.const.STRING_GOSUBSC}</td>
</tr>
<tr>
<td valign="middle" style="height: 18px; padding-bottom: 2px;"><input type="radio" name="modesubs" value=0></td>
<td valign="middle"> {$smarty.const.STRING_DESUBS}</td>
</tr>
</table>
<div class="fil"></div>
<div align="center">
<table cellspacing="0" cellpadding="0" class="fsttab">
<tr>
<td>
<table cellspacing="0" cellpadding="0" class="sectb">
<tr>
<td><a href="#" onclick="validate(this); return false">{$smarty.const.OK_BUTTON3}</a></td>
</tr>
</table>
</td>
</tr>
</table>
</div>
<input type="hidden" name="subscribe" value="yes">
</form>
</div>
?>