<h1><{$smarty.const._BANNERS_MANAGEMENT}></h1>
<h5><{$welcomeuser}></h5>
<div style="text-align: center;"><a href="banners.php?op=logout" title="<{$smarty.const._BANNERS_LOGOUT}>"><{$smarty.const._BANNERS_LOGOUT}></a></div>
<div style="text-align: center;"><a href="banners.php?op=list" title="<{$smarty.const._BANNERS_BACK}>"><{$smarty.const._BANNERS_BACK}></a></div>
<div><{$banneractive}></div><br />
<{if $count}>
	<{foreach item=banner from=$banners}>
		<form action="banners.php" method="post">
			<table width="100%" cellspacing="1" class="outer">
				<th colspan="2"><{$smarty.const._BANNERS_ID}> <{$banner.bid}></th>
				<tr>
					<td width="50%" class="head">
					<div><{$banner.sendstats}></div>
					<div><{$banner.bannerpoints}></div>
					<{if !$banner.htmlbanner}>
					<div></div>
					<div><{$smarty.const._BANNERS_URL}>
						<input type="text" name="url" size="50" maxlength="200" value="<{$banner.clickurl}>" />
						<input type="hidden" name="bid" value="<{$banner.bid}>" />
						<input type="hidden" name="cid" value="<{$banner.cid}>" />
						<input type="submit" name="op" value="save" />
						<{$TOKEN}>
					</div>
					<{/if}>
					</td>
					<td class="even" style="text-align: center;" ><{$banner.banner_url}></td>
				</tr>
				<tr>
					<td class='head' colspan='2'>&nbsp;</td>
				</tr>
			</table><br />
		</form>
	<{/foreach}>
<{/if}>