<style>
	table.fromnameandemailmain {}
	table.fromnameandemailmain td{padding:5px;}
	table.fromnameandemail1 {border:1px solid #E0ECFF;}
	table.fromnameandemail1 td.b1 {text-align: right;vertical-align: top;width:25%;}
	table.fromnameandemail1 td.b2 {border-left: 3px solid #E0ECFF;width:75%;}
	
	table.fromnameandemail2 {border:1px solid #E0ECFF;}
	table.fromnameandemail2 td {border:0px solid #E0ECFF;}
	table.fromnameandemail2 td.b2 {border-left: 3px solid #E0ECFF;width:75%;}
	
	.bb_2{background-color:#DDF4D0;}
	.bb_3{background-color:#EEE;}
	.bb_4{background-color:#FFCCAD;}
	.bb_5{background-color:#EFDBFF;}
	.tooltip_body{background-repeat: no-repeat;font-weight: bold;padding: 2px 4px 4px 23px;}
</style>
<script type="text/javascript">
<!--
function deleteButtonClick(subscribelink){

	var answer = confirm ("Are you sure to delete URL Permanantaly?")
	if (answer){
		window.location = subscribelink;
	}
}
// -->
</script> 


<table cellspacing="0" cellpadding="5" align="center" width="100%">
	<tr>
		<td class="Heading1">Fromnameandemail System/Bounced Back</td>
	</tr>
	<tr>
		<td>
       {$FlashMessages}
        </td>
	</tr>
	<tr>
		<td class="body">
		<table align="center" border="0" cellspacing="0" cellpadding="0" width="1100" class="fromnameandemailmain">
			<tr>
			<td style="vertical-align: top;">
				<div class="toolTipBox">
					<div class="tooltip_body" style="background-image: url(images/mnu_contact_button.gif);">
						Add New URL for Rotation
					</div>	
				</div>
				<form method="POST" action="index.php?Page=Addons&Addon=fromnameandemail&Action=fromnameandemail&Ajax=1">
                <input type="hidden" name="steps" id="steps" value="fromnameandemail" />
				<table border="0" cellspacing="0" cellpadding="5" width="100%" class="fromnameandemail1">
					<tr>
						<td align="right">Add New URL:</td>
                        <td  colspan="2"><input type="text" name="linkurl" id="linkurl" /></td>
                    </tr>
                    <tr>
						<td align='center' colspan="2">
                       		<input type="submit" value="Add URL" name="linkURLSubmit" />
                        </td>
					</tr>
				</table>
				</form>
                
               </td>
        	<td>
            	<form method="POST" action="index.php?Page=Addons&Addon=fromnameandemail&Action=fromnameandemail&Ajax=1">
				<table border="0" cellspacing="0" cellpadding="5" width="100%" class="fromnameandemail2">
                	<tr><td colspan="3">
                    <div class="toolTipBox bb_2">
                        <div class="tooltip_body" style="background-image: url(images/mnu_contactlist_button.gif);">
                            Bounce back/Fromnameandemail CRON Job Status
                        </div>	
                    </div>
                    </td></tr>
                    <tr><td colspan="3" align="right">{$TPL_Paging}</td></tr>
                	<tr style='background-image:url("images/table_bg.gif"); background-repeat:repeat-x;'>
						<th align="left" width="200">Link</th><th align="left">Total Rotate</th><th align="left">Action </th>
					</tr>
                    {foreach from=$getLinksList item=item}
                    <tr>
						<td align="left">{$item.link}</td><td>{$item.addedon}</td><td>{$item.action}</td>
					</tr>
                    {/foreach}
				</table>
			</form>
            </td>
            </tr>
		</table>
		</td>
	</tr>
</table>