<?php /* Smarty version 2.6.2, created on 2012-03-23 20:12:39
         compiled from ads_topbanners.tpl */ ?>
<?php require_once(SMARTY_DIR . 'core' . DIRECTORY_SEPARATOR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'encurl', 'ads_topbanners.tpl', 3, false),)), $this); ?>
<?php if (isset($this->_sections['b'])) unset($this->_sections['b']);
$this->_sections['b']['name'] = 'b';
$this->_sections['b']['loop'] = is_array($_loop=$this->_tpl_vars['ads']['0']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['b']['show'] = true;
$this->_sections['b']['max'] = $this->_sections['b']['loop'];
$this->_sections['b']['step'] = 1;
$this->_sections['b']['start'] = $this->_sections['b']['step'] > 0 ? 0 : $this->_sections['b']['loop']-1;
if ($this->_sections['b']['show']) {
    $this->_sections['b']['total'] = $this->_sections['b']['loop'];
    if ($this->_sections['b']['total'] == 0)
        $this->_sections['b']['show'] = false;
} else
    $this->_sections['b']['total'] = 0;
if ($this->_sections['b']['show']):

            for ($this->_sections['b']['index'] = $this->_sections['b']['start'], $this->_sections['b']['iteration'] = 1;
                 $this->_sections['b']['iteration'] <= $this->_sections['b']['total'];
                 $this->_sections['b']['index'] += $this->_sections['b']['step'], $this->_sections['b']['iteration']++):
$this->_sections['b']['rownum'] = $this->_sections['b']['iteration'];
$this->_sections['b']['index_prev'] = $this->_sections['b']['index'] - $this->_sections['b']['step'];
$this->_sections['b']['index_next'] = $this->_sections['b']['index'] + $this->_sections['b']['step'];
$this->_sections['b']['first']      = ($this->_sections['b']['iteration'] == 1);
$this->_sections['b']['last']       = ($this->_sections['b']['iteration'] == $this->_sections['b']['total']);
?>
<?php if ($this->_tpl_vars['ads']['0'][$this->_sections['b']['index']]['no']): ?>
<a href="<?php echo ((is_array($_tmp="?a=goads&aid=0&id=".($this->_tpl_vars['ads']['0'][$this->_sections['b']['index']]['no']))) ? $this->_run_mod_handler('encurl', true, $_tmp) : smarty_modifier_encurl($_tmp)); ?>
" target="_blank" title="<?php echo $this->_tpl_vars['ads']['0'][$this->_sections['b']['index']]['desc']; ?>
"><?php if ($this->_tpl_vars['ads']['1']['format'] == 'flash'): ?><embed width="468" height="60" src="<?php echo $this->_tpl_vars['ads']['0'][$this->_sections['b']['index']]['imgurl']; ?>
"><noembed><?php echo ((is_array($_tmp="?a=goads&aid=0&id=".($this->_tpl_vars['ads']['0'][$this->_sections['b']['index']]['no']))) ? $this->_run_mod_handler('encurl', true, $_tmp) : smarty_modifier_encurl($_tmp)); ?>
</noembed><?php else: ?><img src="<?php echo $this->_tpl_vars['ads']['0'][$this->_sections['b']['index']]['imgurl']; ?>
" width="468" height="60" alt="<?php echo $this->_tpl_vars['ads']['0'][$this->_sections['b']['index']]['desc']; ?>
" border="0"><?php endif; ?></a><br><a href="<?php echo ((is_array($_tmp="?a=advertise&ad=0")) ? $this->_run_mod_handler('encurl', true, $_tmp) : smarty_modifier_encurl($_tmp)); ?>
" style="color:#EEEEEE;">Advertise your banner here</a> <font color="#E8E8E8">| Expires: <?php echo $this->_tpl_vars['ads']['0'][$this->_sections['b']['index']]['expired']; ?>
</font>
<?php else: ?>
<a href="<?php echo ((is_array($_tmp="?a=advertise&ad=0")) ? $this->_run_mod_handler('encurl', true, $_tmp) : smarty_modifier_encurl($_tmp)); ?>
" title="Advertise your banner here."><img src="<?php echo ((is_array($_tmp="images/468.gif")) ? $this->_run_mod_handler('encurl', true, $_tmp) : smarty_modifier_encurl($_tmp)); ?>
" width="468" height="60" alt="Advertise your banner here." border="0"></a><br><a href="<?php echo ((is_array($_tmp="?a=advertise&ad=0")) ? $this->_run_mod_handler('encurl', true, $_tmp) : smarty_modifier_encurl($_tmp)); ?>
" style="color:#ffffff;">Advertise your banner here</a> <font color="#f2f2f2">| Available Now!</font>
<?php endif; ?><br>
<?php endfor; endif; ?>