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

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