<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>
<div class="txtcenter"><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 cellspacing="1" class="outer width100">
				<th colspan="2"><{$smarty.const._BANNERS_ID}> <{$banner.bid}></th>
				<tr>
					<td class="head width50">
					<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 txtcenter"><{$banner.banner_url}></td>
				</tr>
				<tr>
					<td class="head" colspan="2">&nbsp;</td>
				</tr>
			</table>
			<br />
		</form>
	<{/foreach}>
<{/if}>