<h2>{t}160x600 ads{/t}</h2>
{if $settings.ads7_enabled}
<div class="banner">
{foreach from=$ads.7 item=ad}
{if $ad.type == 'default'}
<div class="ad clearfix">
     <a href="{"?a=buy_ads&type=7"|encurl}" target=_blank class=adlink><img src="{"`$theme`images/banner160x600.png"|encurl}" border=0 width=160 height=600 alt="buy ad now"></a>
     <div class="info">
     <a href="{"?a=buy_ads&tid=7"|encurl}" class="expire">{t price=$ad.price}Available Now for $%price/week{/t}</a>
     </div>
</div>
{else}
<div class="ad clearfix">
     <div class="adlink">
     {if !$ad.flash}<a href="{$ad.url|escape:html}" target=_blank><img src="{$ad.banner_url|escape:html}" border=0 width=160 height=600 alt="{$ad.title|escape:html}"></a>{else}{include file="swfobj.tpl" width=160 height=600 url=$ad.banner_url|escape:html}{/if}
     </div>
     <div class="info">
     {if $ad.text|escape:html}<a href="{$ad.url|escape:html}" target=_blank class="text">{$ad.text|escape:html}</a>{/if}
     <a href="{"?a=buy_ads&tid=7"|encurl}" class="expire">{if $ad.expiration > 0}{t exp_date=$ad.exp_date price=$ad.price}Available on %exp_date for $%price/week{/t}{else}{t price=$ad.price}Never for $%price/week{/t}{/if}</a>
     </div>
</div>
{/if}
<br>
{foreachelse}
<a href="{"?a=buy_ads&tid=7"|encurl}" class="staff">{t}List your non rotating banners here{/t}</a>
{/foreach}
</div>
{/if}
