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

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