<?php /* Smarty version Smarty-3.1.8, created on 2020-01-01 15:21:22
         compiled from "/home/agmc/public_html/beta/application/core/views/frontend/custom/addbanner/BannerLeaderboardFooter.tpl" */ ?>
<?php /*%%SmartyHeaderCode:18986142585e0c80b2509d42-05342395%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '443ab0caaf6bb46ab1bb5df48e7de37e876e7ed5' => 
    array (
      0 => '/home/agmc/public_html/beta/application/core/views/frontend/custom/addbanner/BannerLeaderboardFooter.tpl',
      1 => 1577772525,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '18986142585e0c80b2509d42-05342395',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'resListPublishedAd' => 0,
    'resPromoBanner5' => 0,
    'view_public_path' => 0,
    'swfContent' => 0,
    'swfUrl' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.8',
  'unifunc' => 'content_5e0c80b2528857_27074696',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5e0c80b2528857_27074696')) {function content_5e0c80b2528857_27074696($_smarty_tpl) {?><?php if ((isset($_smarty_tpl->tpl_vars['resListPublishedAd']->value[5]))&&(count($_smarty_tpl->tpl_vars['resListPublishedAd']->value[5])>0)){?><div class="addbanner728" align="center">
<div class="add-cnt-div">
<ul class="promo_banner"  style="height:90px !important;"> 
 <?php  $_smarty_tpl->tpl_vars["resPromoBanner5"] = new Smarty_Variable; $_smarty_tpl->tpl_vars["resPromoBanner5"]->_loop = false;
 $_smarty_tpl->tpl_vars["key1"] = new Smarty_Variable;
 $_from = $_smarty_tpl->tpl_vars['resListPublishedAd']->value[5]; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars["resPromoBanner5"]->key => $_smarty_tpl->tpl_vars["resPromoBanner5"]->value){
$_smarty_tpl->tpl_vars["resPromoBanner5"]->_loop = true;
 $_smarty_tpl->tpl_vars["key1"]->value = $_smarty_tpl->tpl_vars["resPromoBanner5"]->key;
?>
<?php if ($_smarty_tpl->tpl_vars['resPromoBanner5']->value['bannerDisplayType']=='Image'){?>
<li>
<?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('title'=>"Banner Image",'href'=>($_smarty_tpl->tpl_vars['resPromoBanner5']->value['bannerURL']),'target'=>"_blank",'content'=>"<img src='".($_smarty_tpl->tpl_vars['view_public_path']->value)."/uploads/adBanner/thumb/".($_smarty_tpl->tpl_vars['resPromoBanner5']->value['bannerImage'])."' title='".($_smarty_tpl->tpl_vars['resPromoBanner5']->value['bannerURL'])."' alt='Sample Banner' width='".($_smarty_tpl->tpl_vars['resPromoBanner5']->value['bannerTypeWidth'])."' height='".($_smarty_tpl->tpl_vars['resPromoBanner5']->value['bannerTypeHeight'])."' align='absmiddle' />"),$_smarty_tpl);?>

</li>
<?php }?>
 <?php if ($_smarty_tpl->tpl_vars['resPromoBanner5']->value['bannerDisplayType']=='Script'){?>
<li><div style="height:<?php echo $_smarty_tpl->tpl_vars['resPromoBanner5']->value['bannerTypeHeight'];?>
px; width:<?php echo $_smarty_tpl->tpl_vars['resPromoBanner5']->value['bannerTypeWidth'];?>
px; overflow:scroll;"><?php echo $_smarty_tpl->tpl_vars['resPromoBanner5']->value['bannerScript'];?>
</div><li>
<?php }?> 
<?php if ($_smarty_tpl->tpl_vars['resPromoBanner5']->value['bannerDisplayType']=='Swf'){?> 
<?php $_smarty_tpl->tpl_vars["swfUrl"] = new Smarty_variable(($_smarty_tpl->tpl_vars['resPromoBanner5']->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['resPromoBanner5']->value['bannerSwf']), null, 0);?>
<li>
<div class="slip">	
<object wmode="opaque" style="cursor:pointer;" width="<?php echo $_smarty_tpl->tpl_vars['resPromoBanner5']->value['bannerTypeWidth'];?>
" height="<?php echo $_smarty_tpl->tpl_vars['resPromoBanner5']->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['resPromoBanner5']->value['bannerTypeWidth'];?>
" height="<?php echo $_smarty_tpl->tpl_vars['resPromoBanner5']->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 }} ?>