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

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