<table cellspacing="0" cellpadding="0" align="center" width="100%">
	<tr>
		<td class="Heading1">FeedbackLoop</td>
	</tr>
	<tr>
		<td>
			{template="information"}
		</td>
	</tr>
	<tr>
		<td class="body">
			<input type="button" name="AddListButton" value="Add FeedbackLoop Mail" style="width:150px" class="SmallButton" onclick="javascript: document.location='index.php?Page=Addons&Addon=feedbackloop&Action=add';">
			<table border="0" cellspacing="0" cellpadding="0" width="100%" class="Text" id="SubscriberListManageList">
					<tr class="Heading3">
						<td width="1%" nowrap="nowrap"><img src="images/blank.gif" width="44" height="1" /></td>
						<td width="10%" nowrap="nowrap">FBL Name</td>
						<td width="15%" nowrap="nowrap">FBL HOST Name</td>
						<td width="10%" nowrap="nowrap">FBL User Name</td>
						<td width="10%" nowrap="nowrap">FBL Mail Port</td>
						<td width="15%" nowrap="nowrap">SPAM Complaints</td>
						<td width="10%" nowrap="nowrap">Type</td>
						<td width="10%" nowrap="nowrap">Method</td>
						<td width="10%" nowrap="nowrap">Status</td>
						<td width="10%" nowrap="nowrap">%%LNG_Action%%</td>
					</tr>
					{foreach from=$qry_result item=item}
					<tr class="GridRow">
						<td nowrap="nowrap">
							<img src="images/mnu_newsletter_button.gif" />
						</td>
						<td nowrap="nowrap">
							{$item.name}
						</td>
						<td nowrap="nowrap">
							{$item.hostname}
						</td>
						<td nowrap="nowrap">
							{$item.username}
						</td>
						<td nowrap="nowrap">
							{$item.port}
						</td>
						<td nowrap="nowrap">
							{$item.complaints}
						</td>
						<td nowrap="nowrap">
							{$item.type}
						</td>
						<td nowrap="nowrap">
							{$item.method_label}
						</td>
						<td nowrap="nowrap">
							{if $item.status==false}
								<span style="color:green;font-weight:bold;">Connected!</span>
							{else}
								<span style="color:red;">{$item.status}</span>
							{/if}
						</td>
						<td nowrap="nowrap">
							&nbsp;&nbsp;<a href="index.php?Page=Addons&Addon=feedbackloop&Action=runspam&id={$item.uid}">Run Spam</a>
							&nbsp;&nbsp;<span style="color:#CCC;">Destroy</span>
							&nbsp;&nbsp;<a href="index.php?Page=Addons&Addon=feedbackloop&Action=edit&id={$item.uid}">Edit</a>
							&nbsp;&nbsp;<a href="index.php?Page=Addons&Addon=feedbackloop&Action=delete&id={$item.uid}" onclick="return confirm('Are you sure you want to delete this feedback loop?');">Delete</a>
						</td>
					</tr>
					{/foreach}
				</table>
		</td>
	</tr>
</table>