<div class="box_innerhead">{#Newsletter#}</div>
{if $email_error}
<div class="error_box"> <strong>{#Newsletter_e_inf#}</strong>
  <ul>
    {foreach from=$email_error item=e}
    <li>{$e}</li>
    {/foreach}
  </ul>
</div>
{/if}
<div class="newsletter_box"> {if $Entry_Ok==1}
  <h2>{#Newsletter_okT#}</h2>
  <br />
  {#Newsletter_ok#} <br />
  <br />
  {/if}
  
  {#Newsletter_info#} <br />
  <br />
  <form method="post" action="index.php?p=newsletter&amp;area={$area}">
    <table width="100%" border="0" cellspacing="0" cellpadding="3">
      <tr>
        <td width="90" class="row_left"><label for="lnl_email"><strong>{#Newsletter_email#}</strong></label></td>
        <td class="row_right"><input name="nl_email" id="lnl_email" type="text" class="input" style="width:250px" value="{$smarty.post.nl_email|koobispecialchars}" /></td>
      </tr>
      {if $Nl_Count>1}
      <tr>
        <td valign="top" class="row_left"><strong>{#Newsletter_sections#}</strong></td>
        <td class="row_right"> {foreach from=$nl_items item=nli}
          <label {popup text=$nli->Info|koobispecialchars}>
          <input type="checkbox" name="nl_welche[{$nli->Id}]" value="1" />
          {$nli->Name|koobispecialchars}</label>
          <br />
          {/foreach} </td>
      </tr>
      {/if}
      <tr>
        <td class="row_left"><strong>{#Newsletter_format#}</strong></td>
        <td class="row_right">
        {if $Nl_Count < "2"}
        {foreach from=$nl_items item=nli}
        <input type="hidden" name="nl_welche[{$nli->Id}]" value="1" />
        {/foreach}
        {/if}
        <select name="nl_format" class="input">
            <option value="html">{#Newsletter_fHtml#}</option>
            <option value="text">{#Newsletter_fText#}</option>
          </select>
          <input type="submit" class="button" value="{#Newsletter_aboButton#}" />
          <input type="hidden" name="action" value="abonew" />
        </td>
      </tr>
    </table>
  </form>
</div>
