<?php /* Smarty version 2.6.2, created on 2012-10-23 00:58:10
         compiled from textads_box.tpl */ ?>
<?php require_once(SMARTY_DIR . 'core' . DIRECTORY_SEPARATOR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'encurl', 'textads_box.tpl', 7, false),array('modifier', 'escape', 'textads_box.tpl', 16, false),)), $this); ?>
<h2>Text Ads</h2>
<div class="banner textads">
<?php if (count($_from = (array)$this->_tpl_vars['ads']['2'])):
    foreach ($_from as $this->_tpl_vars['ad']):
 if ($this->_tpl_vars['ad']['type'] == 'default'): ?>

<div class="textad">
<a href="<?php echo ((is_array($_tmp="?a=buy_ads&tid=2")) ? $this->_run_mod_handler('encurl', true, $_tmp) : smarty_modifier_encurl($_tmp)); ?>
" target=_blank class="title"><b>Avaliable Now</b></a>
<a href="<?php echo ((is_array($_tmp="?a=buy_ads&tid=2")) ? $this->_run_mod_handler('encurl', true, $_tmp) : smarty_modifier_encurl($_tmp)); ?>
" target=_blank><img src="<?php echo ((is_array($_tmp=($this->_tpl_vars['theme'])."images/banner125x125.png")) ? $this->_run_mod_handler('encurl', true, $_tmp) : smarty_modifier_encurl($_tmp)); ?>
" border=0 width=125 height=125 alt="buy ad now"></a>
<p></p>
<a href="<?php echo ((is_array($_tmp="?a=buy_ads&tid=2")) ? $this->_run_mod_handler('encurl', true, $_tmp) : smarty_modifier_encurl($_tmp)); ?>
" class="expires">Avaliable now for $<?php echo $this->_tpl_vars['ad']['price']; ?>
/week</a>
</div>

<?php else: ?>

<div class="textad">
<a href="<?php echo ((is_array($_tmp=$this->_tpl_vars['ad']['url'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
" target=_blank class="title"><b><?php echo ((is_array($_tmp=$this->_tpl_vars['ad']['title'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
</b></a>
<?php if ($this->_tpl_vars['ad']['banner_url']): ?>
       <?php if (! $this->_tpl_vars['ad']['flash']): ?><a href="<?php echo ((is_array($_tmp=$this->_tpl_vars['ad']['url'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
" target=_blank><img src="<?php echo ((is_array($_tmp=$this->_tpl_vars['ad']['banner_url'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
" border=0 width=125 height=125 alt="<?php echo ((is_array($_tmp=$this->_tpl_vars['ad']['title'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
"></a><?php else:  $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "swfobj.tpl", 'smarty_include_vars' => array('width' => 125,'height' => 125,'url' => ((is_array($_tmp=$this->_tpl_vars['ad']['banner_url'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')))));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
  endif;  endif; ?>
<p><?php if ($this->_tpl_vars['ad']['text']):  echo ((is_array($_tmp=$this->_tpl_vars['ad']['text'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  endif; ?></p>
<?php if ($this->_tpl_vars['ad']['expiration']): ?><a href="<?php echo ((is_array($_tmp="?a=buy_ads&tid=2")) ? $this->_run_mod_handler('encurl', true, $_tmp) : smarty_modifier_encurl($_tmp)); ?>
" class="staff">Avaliable on <?php echo $this->_tpl_vars['ad']['exp_date']; ?>
 for $<?php echo $this->_tpl_vars['ad']['price']; ?>
/week</a><?php endif; ?>
</div>

<?php endif;  endforeach; unset($_from); endif; ?>
<p class="links"><a href="<?php echo ((is_array($_tmp="?a=buy_ads&tid=2")) ? $this->_run_mod_handler('encurl', true, $_tmp) : smarty_modifier_encurl($_tmp)); ?>
" class="staff">Place your Text Ads Here</a></p>
</div>