<?php /* Smarty version 3.1.27, created on 2018-08-18 15:58:33
         compiled from "/home/hyipsou1/public_html/tmpl/hightowerads_box.tpl" */ ?>
<?php
/*%%SmartyHeaderCode:12602493745b784229ddebf6_51839638%%*/
if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'dfc3077f50658ac8326b41fc5c90b500bfb66825' => 
    array (
      0 => '/home/hyipsou1/public_html/tmpl/hightowerads_box.tpl',
      1 => 1519502058,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '12602493745b784229ddebf6_51839638',
  'variables' => 
  array (
    'settings' => 0,
    'ads' => 0,
    'ad' => 0,
    'theme' => 0,
  ),
  'has_nocache_code' => false,
  'version' => '3.1.27',
  'unifunc' => 'content_5b784229e3dbf3_77107826',
),false);
/*/%%SmartyHeaderCode%%*/
if ($_valid && !is_callable('content_5b784229e3dbf3_77107826')) {
function content_5b784229e3dbf3_77107826 ($_smarty_tpl) {
if (!is_callable('smarty_block_t')) require_once '/home/hyipsou1/public_html/inc/libs/smarty3/plugins/block.t.php';
if (!is_callable('smarty_modifier_encurl')) require_once '/home/hyipsou1/public_html/inc/libs/smarty3/plugins/modifier.encurl.php';

$_smarty_tpl->properties['nocache_hash'] = '12602493745b784229ddebf6_51839638';
?>
<h2><?php $_smarty_tpl->smarty->_tag_stack[] = array('t', array()); $_block_repeat=true; echo smarty_block_t(array(), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
160x600 ads<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo smarty_block_t(array(), $_block_content, $_smarty_tpl, $_block_repeat);  } array_pop($_smarty_tpl->smarty->_tag_stack);?>
</h2>
<?php if ($_smarty_tpl->tpl_vars['settings']->value['ads7_enabled']) {?>
<div class="banner">
<?php
$_from = $_smarty_tpl->tpl_vars['ads']->value[7];
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
$_smarty_tpl->tpl_vars['ad'] = new Smarty_Variable;
$_smarty_tpl->tpl_vars['ad']->_loop = false;
foreach ($_from as $_smarty_tpl->tpl_vars['ad']->value) {
$_smarty_tpl->tpl_vars['ad']->_loop = true;
$foreach_ad_Sav = $_smarty_tpl->tpl_vars['ad'];
?>
<?php if ($_smarty_tpl->tpl_vars['ad']->value['type'] == 'default') {?>
<div class="ad clearfix">
     <a href="<?php echo smarty_modifier_encurl("?a=buy_ads&type=7");?>
" target=_blank class=adlink><img src="<?php echo smarty_modifier_encurl(((string)$_smarty_tpl->tpl_vars['theme']->value)."images/banner160x600.png");?>
" border=0 width=160 height=600 alt="buy ad now"></a>
     <div class="info">
     <a href="<?php echo smarty_modifier_encurl("?a=buy_ads&tid=7");?>
" class="expire"><?php $_smarty_tpl->smarty->_tag_stack[] = array('t', array('price'=>$_smarty_tpl->tpl_vars['ad']->value['price'])); $_block_repeat=true; echo smarty_block_t(array('price'=>$_smarty_tpl->tpl_vars['ad']->value['price']), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
Available Now for $%price/week<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo smarty_block_t(array('price'=>$_smarty_tpl->tpl_vars['ad']->value['price']), $_block_content, $_smarty_tpl, $_block_repeat);  } array_pop($_smarty_tpl->smarty->_tag_stack);?>
</a>
     </div>
</div>
<?php } else { ?>
<div class="ad clearfix">
     <div class="adlink">
     <?php if (!$_smarty_tpl->tpl_vars['ad']->value['flash']) {?><a href="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['ad']->value['url'], ENT_QUOTES, 'UTF-8', true);?>
" target=_blank><img src="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['ad']->value['banner_url'], ENT_QUOTES, 'UTF-8', true);?>
" border=0 width=160 height=600 alt="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['ad']->value['title'], ENT_QUOTES, 'UTF-8', true);?>
"></a><?php } else {
echo $_smarty_tpl->getSubTemplate ("swfobj.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array('width'=>160,'height'=>600,'url'=>htmlspecialchars($_smarty_tpl->tpl_vars['ad']->value['banner_url'], ENT_QUOTES, 'UTF-8', true)), 0);
}?>
     </div>
     <div class="info">
     <?php if (htmlspecialchars($_smarty_tpl->tpl_vars['ad']->value['text'], ENT_QUOTES, 'UTF-8', true)) {?><a href="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['ad']->value['url'], ENT_QUOTES, 'UTF-8', true);?>
" target=_blank class="text"><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['ad']->value['text'], ENT_QUOTES, 'UTF-8', true);?>
</a><?php }?>
     <a href="<?php echo smarty_modifier_encurl("?a=buy_ads&tid=7");?>
" class="expire"><?php if ($_smarty_tpl->tpl_vars['ad']->value['expiration'] > 0) {
$_smarty_tpl->smarty->_tag_stack[] = array('t', array('exp_date'=>$_smarty_tpl->tpl_vars['ad']->value['exp_date'],'price'=>$_smarty_tpl->tpl_vars['ad']->value['price'])); $_block_repeat=true; echo smarty_block_t(array('exp_date'=>$_smarty_tpl->tpl_vars['ad']->value['exp_date'],'price'=>$_smarty_tpl->tpl_vars['ad']->value['price']), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
Available on %exp_date for $%price/week<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo smarty_block_t(array('exp_date'=>$_smarty_tpl->tpl_vars['ad']->value['exp_date'],'price'=>$_smarty_tpl->tpl_vars['ad']->value['price']), $_block_content, $_smarty_tpl, $_block_repeat);  } array_pop($_smarty_tpl->smarty->_tag_stack);
} else {
$_smarty_tpl->smarty->_tag_stack[] = array('t', array('price'=>$_smarty_tpl->tpl_vars['ad']->value['price'])); $_block_repeat=true; echo smarty_block_t(array('price'=>$_smarty_tpl->tpl_vars['ad']->value['price']), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
Never for $%price/week<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo smarty_block_t(array('price'=>$_smarty_tpl->tpl_vars['ad']->value['price']), $_block_content, $_smarty_tpl, $_block_repeat);  } array_pop($_smarty_tpl->smarty->_tag_stack);
}?></a>
     </div>
</div>
<?php }?>
<br>
<?php
$_smarty_tpl->tpl_vars['ad'] = $foreach_ad_Sav;
}
if (!$_smarty_tpl->tpl_vars['ad']->_loop) {
?>
<a href="<?php echo smarty_modifier_encurl("?a=buy_ads&tid=7");?>
" class="staff"><?php $_smarty_tpl->smarty->_tag_stack[] = array('t', array()); $_block_repeat=true; echo smarty_block_t(array(), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
List your non rotating banners here<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo smarty_block_t(array(), $_block_content, $_smarty_tpl, $_block_repeat);  } array_pop($_smarty_tpl->smarty->_tag_stack);?>
</a>
<?php
}
?>
</div>
<?php }

}
}
?>