<?php /* Smarty version Smarty-3.1.8, created on 2019-12-24 15:24:56
         compiled from "/home/stg70/public_html/agmc-v2/application/core/views/frontend/mini/addbanner/BannerLeaderboardHeader.tpl" */ ?>
<?php /*%%SmartyHeaderCode:6692697505da71b6bd67098-57516212%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '974af813b864a10d43834ca0043c37ffcacb0568' => 
    array (
      0 => '/home/stg70/public_html/agmc-v2/application/core/views/frontend/mini/addbanner/BannerLeaderboardHeader.tpl',
      1 => 1577180532,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '6692697505da71b6bd67098-57516212',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.8',
  'unifunc' => 'content_5da71b6bd93936_25464542',
  'variables' => 
  array (
    'resListPublishedAd' => 0,
    'resPromoBanner1' => 0,
    'view_public_path' => 0,
    'swfContent' => 0,
    'swfUrl' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5da71b6bd93936_25464542')) {function content_5da71b6bd93936_25464542($_smarty_tpl) {?><?php if ((isset($_smarty_tpl->tpl_vars['resListPublishedAd']->value[1]))&&(count($_smarty_tpl->tpl_vars['resListPublishedAd']->value[1])>0)){?><div class="addbanner" align="center">
<div class="add-cnt-div">
<ul class="promo_banner"  style="height:90px !important;"> 
 <?php  $_smarty_tpl->tpl_vars["resPromoBanner1"] = new Smarty_Variable; $_smarty_tpl->tpl_vars["resPromoBanner1"]->_loop = false;
 $_smarty_tpl->tpl_vars["key1"] = new Smarty_Variable;
 $_from = $_smarty_tpl->tpl_vars['resListPublishedAd']->value[1]; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars["resPromoBanner1"]->key => $_smarty_tpl->tpl_vars["resPromoBanner1"]->value){
$_smarty_tpl->tpl_vars["resPromoBanner1"]->_loop = true;
 $_smarty_tpl->tpl_vars["key1"]->value = $_smarty_tpl->tpl_vars["resPromoBanner1"]->key;
?>
<?php if ($_smarty_tpl->tpl_vars['resPromoBanner1']->value['bannerDisplayType']=='Image'){?>
<li>
<?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('title'=>"Banner Image",'href'=>($_smarty_tpl->tpl_vars['resPromoBanner1']->value['bannerURL']),'target'=>"_blank",'content'=>"<img src='".($_smarty_tpl->tpl_vars['view_public_path']->value)."/uploads/adBanner/thumb/".($_smarty_tpl->tpl_vars['resPromoBanner1']->value['bannerImage'])."' title='".($_smarty_tpl->tpl_vars['resPromoBanner1']->value['bannerURL'])."' alt='Sample Banner' width='".($_smarty_tpl->tpl_vars['resPromoBanner1']->value['bannerTypeWidth'])."' height='".($_smarty_tpl->tpl_vars['resPromoBanner1']->value['bannerTypeHeight'])."' align='absmiddle' />"),$_smarty_tpl);?>

</li>
<?php }?>
 <?php if ($_smarty_tpl->tpl_vars['resPromoBanner1']->value['bannerDisplayType']=='Script'){?>
<li><div style="height:<?php echo $_smarty_tpl->tpl_vars['resPromoBanner1']->value['bannerTypeHeight'];?>
px; width:<?php echo $_smarty_tpl->tpl_vars['resPromoBanner1']->value['bannerTypeWidth'];?>
px; overflow:scroll;"><?php echo $_smarty_tpl->tpl_vars['resPromoBanner1']->value['bannerScript'];?>
</div><li>
<?php }?> 
<?php if ($_smarty_tpl->tpl_vars['resPromoBanner1']->value['bannerDisplayType']=='Swf'){?> 
<?php $_smarty_tpl->tpl_vars["swfUrl"] = new Smarty_variable(($_smarty_tpl->tpl_vars['resPromoBanner1']->value['bannerURL']), null, 0);?>
<?php $_smarty_tpl->tpl_vars["swfContent"] = new Smarty_variable(($_smarty_tpl->tpl_vars['view_public_path']->value)."/uploads/adBanner/Swf/".($_smarty_tpl->tpl_vars['resPromoBanner1']->value['bannerSwf']), null, 0);?>
<li>
<div class="slip">	
<object wmode="opaque" style="cursor:pointer;" width="<?php echo $_smarty_tpl->tpl_vars['resPromoBanner1']->value['bannerTypeWidth'];?>
" height="<?php echo $_smarty_tpl->tpl_vars['resPromoBanner1']->value['bannerTypeHeight'];?>
">
<param name="movie" value="<?php echo $_smarty_tpl->tpl_vars['swfContent']->value;?>
">
<embed wmode="opaque" src="<?php echo $_smarty_tpl->tpl_vars['swfContent']->value;?>
" width="<?php echo $_smarty_tpl->tpl_vars['resPromoBanner1']->value['bannerTypeWidth'];?>
" height="<?php echo $_smarty_tpl->tpl_vars['resPromoBanner1']->value['bannerTypeHeight'];?>
"  type="application/x-shockwave-flash" 

pluginspage="http://www.macromedia.com/go/getflashplayer"> </embed>
</object>
<?php if ($_smarty_tpl->tpl_vars['swfUrl']->value!=''){?>
<a href="<?php echo $_smarty_tpl->tpl_vars['swfUrl']->value;?>
" class="banner-swf-link" target ="_blank"></a> 
<?php }?>
</div>

</li>
<?php }?>
<?php } ?></ul>
</div>
</div><?php }?> <?php }} ?>