<h1><{$smarty.const._BANNERS_MANAGEMENT}></h1>
<h5><{$welcomeuser}></h5>
<div class="txtcenter"><a href="banners.php?op=logout" title="<{$smarty.const._BANNERS_LOGOUT}>"><{$smarty.const._BANNERS_LOGOUT}></a></div>
<h4 class="content_title"><{$smarty.const._BANNERS_TITLE}></h4>
<table cellpadding="2" cellspacing="1" summary="" class="outer">
	<tr class="txtcenter">
		<th><{$smarty.const._BANNERS_NO}></th>
		<th><{$smarty.const._BANNERS_IMP_MADE}></th>
		<th><{$smarty.const._BANNERS_IMP_TOTAL}></th>
		<th><{$smarty.const._BANNERS_IMP_LEFT}></th>
		<th><{$smarty.const._BANNERS_CLICKS}></th>
		<th><{$smarty.const._BANNERS_PER_CLICKS}></th>
		<th><{$smarty.const._BANNERS_FUNCTIONS}></th>
	</tr>
	<{if $bcount}>
		<{foreach item=banner from=$banners}>
			<tr class="even txtcenter">
				<td><{$banner.bid}></td>
			    <td><{$banner.impmade}></td>
			    <td><{$banner.imptotal}></td>
			    <td><{$banner.left}></td>
			    <td><{$banner.clicks}></td>
			    <td><{$banner.percent}>%</td>
			    <td>
					<a href="banners.php?op=banner_email&amp;cid=<{$banner.cid}>&amp;bid=<{$banner.bid}>" title="<{$smarty.const._BANNERS_STATS}>"><{$smarty.const._BANNERS_STATS}></a>
			        <a href="banners.php?op=banner_display&amp;cid=<{$banner.cid}>" title="<{$banner.bid}>"><{$smarty.const._BANNERS_SHOWBANNER}></a>
				</td>
			</tr>
		<{/foreach}>
	<{else}>
		<tr>
			<td class="even txtcenter" colspan="7"><{$smarty.const._BANNERS_NOTHINGFOUND}></td>
		</tr>
	<{/if}>
	<tr>
		<td class="head" colspan="7">&nbsp;</td>
	</tr>
</table><br /><br />

<h4 class="content_title"><{$smarty.const._BANNERS_FINISHED}></h4>

<table cellpadding="2" cellspacing="1" summary="" class="outer">
	<tr class="txtcenter">
		<th><{$smarty.const._BANNERS_NO}></th>
		<th><{$smarty.const._BANNERS_IMP_MADE}></th>
		<th><{$smarty.const._BANNERS_CLICKS}></th>
		<th><{$smarty.const._BANNERS_PER_CLICKS}></th>
		<th><{$smarty.const._BANNERS_STARTED}></th>
		<th><{$smarty.const._BANNERS_ENDED}></th>
	</tr>
	<{if $bcount}>
		<{foreach item=ebanner from=$ebanners}>
			<tr class="even txtcenter">
				<td><{$ebanner.bid}></td>
			    <td><{$ebanner.impressions}></td>
			    <td><{$ebanner.clicks}></td>
			    <td><{$ebanner.percent}></td>
			    <td><{$ebanner.datestart}></td>
			    <td><{$ebanner.dateend}>%</td>
			</tr>
		<{/foreach}>
	<{else}>
		<tr>
			<td class="even txtcenter" colspan="7"><{$smarty.const._BANNERS_NOTHINGFOUND}></td>
		</tr>
	<{/if}>
	<tr>
		<td class="head" colspan="7">&nbsp;</td>
	</tr>
</table><br />