<script language="JavaScript" src="{global:PATH}js/checking.js"></script>
<table cellpadding="4" cellspacing="0" border="0">
<tr>
<td class="red"><a href="{global:LINK}{if:LINK}&{/if}{unless:LINK}?{/unless}edit=0" class="red"><img border="0" src="{global:PATH}img/icons/create.gif" width="13" height="16"></a></td>
<td class="red"><b><a href="{global:LINK}{if:LINK}&{/if}{unless:LINK}?{/unless}edit=0" class="red">{rs:ACTION_ADD} {rs:NEWSLETTER}</a></b></td>
</tr>
</table>
<table border="0" cellspacing="0" cellpadding="5" align="center" width="100%">
<form action="{FILTER_LINK}" method="POST">
<tr>
<td>{rs:SEARCH}:</td>
<td width="100%"><input type="text" name="_search" value="{search}" class="big"></td>
<td><img src="{global:PATH}img/empty.gif" width="20" height="5" border="0" alt=""></td>
<td><nobr>{rs:COUNT_PER_PAGE}:</nobr></td>
			<td>
				<select name="_cp">
				{row:REC_COUNT}
				<option value="{title}" {selected}>{title}</option>
				{/row}
				</select>
			</td>
<td><input type="submit" value=" OK " class="submit"></td>
</tr>
</form>
</table>
<div><img src="{global:PATH}img/empty.gif" width="1" height="5" border="0" alt=""></div>
{ERROR}
{MESSAGE}
<table width="100%" border="0" cellspacing="1" cellpadding="5" class="table">
<tr>
<td class="td_head"><input type="checkbox" name="all" value="" onclick="check_all(this, 'del[]', 'f1');"></td>
<td class="td_head" width="100%">{rs:SUBJECT}<a href="{sort_by_subject}"><img src="{global:PATH}img/sort{sort_subject_img}.gif" width="11" height="11" border="0"></a><br><img src="{global:PATH}img/empty.gif" width="1" height="1" border="0" alt=""></td>
<td class="td_head" colspan="3">{rs:ACTION}<br><img src="{global:PATH}img/empty.gif" width="202" height="1" border="0" alt=""></td>
</tr>
	
<form action="" name="f1" method="POST">
{row:LINE}
<tr>
<td class="td"><input type="checkbox" name="del[]" value="{id}"></td>
<td class="td"><a href="{global:LINK}{if:global:LINK}&{/if}{unless:global:LINK}?{/unless}edit={id}" class="black"><b>{subject}</b></a></td>
<td class="td_center" width="60"><a href="{global:LINK}{if:global:LINK}&{/if}{unless:global:LINK}?{/unless}send={id}" class="red"><b>{rs:ACTION_SEND}</b></a></td>
<td class="td_center" width="60"><a href="{global:LINK}{if:global:LINK}&{/if}{unless:global:LINK}?{/unless}send_all={id}" class="red" onclick="return confirm('{rs:SURE_SEND_NEWSLETTER}');"><b>{rs:ACTION_SEND_ALL}</b></a></td>
<td class="td_center" width="60"><a href="{global:PATH}statistics/n_id.{id}/" class="red"><b>{rs:ACTION_STATISTIC}</b></a></td>
</tr>
{/row}
</form>

{if:!count}<tr><td class="td_center" colspan="5">{rs:EMPTY}</td></tr>{/if}
</table>
{if:offset}<div>&nbsp;</div><div align="center">{offset}</div>{/if}
<div>&nbsp;</div>
<table cellpadding="4" cellspacing="0" border="0">
<tr>
<td class="red"><input type="button" value="{rs:ACTION_DEL}" onclick="return del_all('f1', '{rs:SURE_DELETE_NEWSLETTERS}');" class="submit"></td>
</tr>
</table>
