<div class="popbox">


{if $done < 100}
<table width="100%"  border="0" cellpadding="4" cellspacing="1" class="tableborder">
  <tr>
    <td class="header"><strong>{#Newsletter_Sending#}</strong></td>
  </tr>
  <tr>
    <td style="padding:10px">
	<div style="height:23px;background-color:#666;width:100%">
    <div style="height:23px;background-color:#ccc;width:{$done_nl}%"></div>
    </div>
	</td>
  </tr>
</table>
{$forms}
{$jsdata}

{else}
<table width="100%"  border="0" cellpadding="4" cellspacing="1" class="tableborder">
  <tr>
    <td class="header"><strong>{#Newsletter_Status#}</strong></td>
  </tr>
  <tr>
    <td style="padding:10px">
    <div align="center">
    
    {if $not_send==1}
    <h3>{#Newsletter_notSend#}</h3>
    <br />
    <br />
    <input type="button" class="button" onclick="location.href='index.php?do=newsletter&sub=new&to={$smarty.request.to}&area={$smarty.request.area}&noframes=1'" value="{#GoBack#}" />
    {else}
    <strong><font size="+1">{#Newsletter_SendOk#}</font></strong>
    <br />
    <br />
    <input type="button" class="button" onclick="window.close();" value="{#Close#}" />
    
    </div>
    {/if}
    
    </td>
  </tr>
</table>
{/if}

{$status}

</div>