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

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