{if (isset($resListPublishedAd[6])) && $resListPublishedAd[6]|@count gt 0}<div class="addbanner" align="center">
<div class="add-cnt-div">
<ul class="promo_banner"> 
 {foreach from=$resListPublishedAd[6] item="resPromoBanner6" key="key1"}
{if $resPromoBanner6.bannerDisplayType=='Image'}
<li>
{html->anchor title="Banner Image" href="{$resPromoBanner6.bannerURL}" target="_blank" content="<img src='{$view_public_path}/uploads/adBanner/thumb/{$resPromoBanner6.bannerImage}' title='{$resPromoBanner6.bannerURL}' alt='Sample Banner' width='{$resPromoBanner6.bannerTypeWidth}' height='{$resPromoBanner6.bannerTypeHeight}' align='absmiddle' />"}
</li>
{/if}
 {if $resPromoBanner6.bannerDisplayType=='Script'}
<li><div style="height:{$resPromoBanner6.bannerTypeHeight}px; width:{$resPromoBanner6.bannerTypeWidth}px; overflow:scroll;">{$resPromoBanner6.bannerScript}</div><li>
{/if} 
{if $resPromoBanner6.bannerDisplayType=='Swf'} 
{assign var="swfUrl" value="{$resPromoBanner6.bannerURL}"}
{assign var="swfContent" value="{$view_public_path}/uploads/adBanner/Swf/{$resPromoBanner6.bannerSwf}"}
<li>
<div class="slip">	
<object wmode="opaque" style="cursor:pointer;" width="{$resPromoBanner6.bannerTypeWidth}" height="{$resPromoBanner6.bannerTypeHeight}">
<param name="movie" value="{$swfContent}">
<embed wmode="opaque" src="{$swfContent}" width="{$resPromoBanner6.bannerTypeWidth}" height="{$resPromoBanner6.bannerTypeHeight}"  type="application/x-shockwave-flash" 

pluginspage="http://www.macromedia.com/go/getflashplayer"> </embed>
</object>
{if $swfUrl != ""}
<a href="{$swfUrl}" class="banner-swf-link" target ="_blank"></a> 
{/if}
</div>
{*
<object wmode="opaque" style="cursor:pointer;" width="{$resPromoBanner6.bannerTypeWidth}" height="{$resPromoBanner6.bannerTypeHeight}">
  <param name="movie" value="{$view_public_path}/banner/bannerProxy.swf?targetURL={$swfUrl}&targetSWF={$swfContent}">
  <embed  wmode="opaque" src="{$view_public_path}/banner/bannerProxy.swf?targetURL={$swfUrl}&targetSWF={$swfContent}" width="{$resPromoBanner6.bannerTypeWidth}" height="{$resPromoBanner6.bannerTypeHeight}" type="application/x-shockwave-flash" 

pluginspage="http://www.macromedia.com/go/getflashplayer"> </embed>
</object>
*}
</li>
{/if}
{/foreach}</ul>
</div>
</div>{/if}