<?php /* Smarty version 3.1.27, created on 2018-08-18 15:58:33
         compiled from "/home/hyipsou1/public_html/tmpl/textads_box.tpl" */ ?>
<?php
/*%%SmartyHeaderCode:11212454285b7842298b2377_75201760%%*/
if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '51dc7d168542fcf528809de01d473bf559f5ed8e' => 
    array (
      0 => '/home/hyipsou1/public_html/tmpl/textads_box.tpl',
      1 => 1519502058,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '11212454285b7842298b2377_75201760',
  'variables' => 
  array (
    'ads' => 0,
    'ad' => 0,
    'theme' => 0,
  ),
  'has_nocache_code' => false,
  'version' => '3.1.27',
  'unifunc' => 'content_5b7842298f4d20_95472396',
),false);
/*/%%SmartyHeaderCode%%*/
if ($_valid && !is_callable('content_5b7842298f4d20_95472396')) {
function content_5b7842298f4d20_95472396 ($_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'] = '11212454285b7842298b2377_75201760';
?>
<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();?>
Sticky 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>
<div class="banner textads">
<?php
$_from = $_smarty_tpl->tpl_vars['ads']->value[2];
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="textad">
<a href="<?php echo smarty_modifier_encurl("?a=buy_ads&tid=2");?>
" target=_blank class="title"><b><?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();?>
Available Now<?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);?>
</b></a>
<a href="<?php echo smarty_modifier_encurl("?a=buy_ads&tid=2");?>
" target=_blank><img src="<?php echo smarty_modifier_encurl(((string)$_smarty_tpl->tpl_vars['theme']->value)."images/banner125x125.png");?>
" border=0 width=125 height=125 alt="<?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();?>
Buy ad now<?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>
<p></p>
<a href="<?php echo smarty_modifier_encurl("?a=buy_ads&tid=2");?>
" class="expires"><?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>

<?php } else { ?>

<div class="textad">
<a href="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['ad']->value['url'], ENT_QUOTES, 'UTF-8', true);?>
" target=_blank class="title"><b><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['ad']->value['title'], ENT_QUOTES, 'UTF-8', true);?>
</b></a>
<?php if ($_smarty_tpl->tpl_vars['ad']->value['banner_url']) {?>
       <?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=125 height=125 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'=>125,'height'=>125,'url'=>htmlspecialchars($_smarty_tpl->tpl_vars['ad']->value['banner_url'], ENT_QUOTES, 'UTF-8', true)), 0);
}?>
<?php }?>
<p><?php if ($_smarty_tpl->tpl_vars['ad']->value['text']) {
echo htmlspecialchars($_smarty_tpl->tpl_vars['ad']->value['text'], ENT_QUOTES, 'UTF-8', true);
}?></p>
<?php if ($_smarty_tpl->tpl_vars['ad']->value['expiration']) {?><a href="<?php echo smarty_modifier_encurl("?a=buy_ads&tid=2");?>
" class="staff"><?php $_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);?>
</a><?php }?>
</div>

<?php }?>
<?php
$_smarty_tpl->tpl_vars['ad'] = $foreach_ad_Sav;
}
?>
<p class="links"><a href="<?php echo smarty_modifier_encurl("?a=buy_ads&tid=2");?>
" 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();?>
Place your Text Ads 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></p>
</div><?php }
}
?>