<?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/BannerFooter.tpl" */ ?>
<?php /*%%SmartyHeaderCode:8203519575e0c80b24e6dd3-90525583%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'f6a57e5901028224f02422db79edbc6ace87be34' => 
    array (
      0 => '/home/agmc/public_html/beta/application/core/views/frontend/custom/addbanner/BannerFooter.tpl',
      1 => 1577772525,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '8203519575e0c80b24e6dd3-90525583',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'resListPublishedAd' => 0,
    'resPromoBanner6' => 0,
    'view_public_path' => 0,
    'swfContent' => 0,
    'swfUrl' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.8',
  'unifunc' => 'content_5e0c80b2506069_07723620',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5e0c80b2506069_07723620')) {function content_5e0c80b2506069_07723620($_smarty_tpl) {?><?php if ((isset($_smarty_tpl->tpl_vars['resListPublishedAd']->value[6]))&&count($_smarty_tpl->tpl_vars['resListPublishedAd']->value[6])>0){?><div class="addbanner" align="center">
<div class="add-cnt-div">
<ul class="promo_banner"> 
 <?php  $_smarty_tpl->tpl_vars["resPromoBanner6"] = new Smarty_Variable; $_smarty_tpl->tpl_vars["resPromoBanner6"]->_loop = false;
 $_smarty_tpl->tpl_vars["key1"] = new Smarty_Variable;
 $_from = $_smarty_tpl->tpl_vars['resListPublishedAd']->value[6]; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars["resPromoBanner6"]->key => $_smarty_tpl->tpl_vars["resPromoBanner6"]->value){
$_smarty_tpl->tpl_vars["resPromoBanner6"]->_loop = true;
 $_smarty_tpl->tpl_vars["key1"]->value = $_smarty_tpl->tpl_vars["resPromoBanner6"]->key;
?>
<?php if ($_smarty_tpl->tpl_vars['resPromoBanner6']->value['bannerDisplayType']=='Image'){?>
<li>
<?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('title'=>"Banner Image",'href'=>($_smarty_tpl->tpl_vars['resPromoBanner6']->value['bannerURL']),'target'=>"_blank",'content'=>"<img src='".($_smarty_tpl->tpl_vars['view_public_path']->value)."/uploads/adBanner/thumb/".($_smarty_tpl->tpl_vars['resPromoBanner6']->value['bannerImage'])."' title='".($_smarty_tpl->tpl_vars['resPromoBanner6']->value['bannerURL'])."' alt='Sample Banner' width='".($_smarty_tpl->tpl_vars['resPromoBanner6']->value['bannerTypeWidth'])."' height='".($_smarty_tpl->tpl_vars['resPromoBanner6']->value['bannerTypeHeight'])."' align='absmiddle' />"),$_smarty_tpl);?>

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