<?php /* Smarty version 2.6.2, created on 2012-10-04 01:35:25
         compiled from ads_headerbanners.tpl */ ?>
<?php require_once(SMARTY_DIR . 'core' . DIRECTORY_SEPARATOR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'encurl', 'ads_headerbanners.tpl', 8, false),)), $this); ?>
<div class="box">
<div class="box_title" id="tba">Header <?php if ($this->_tpl_vars['banners']['2_type']): ?>Non-<?php endif; ?>Rotating Banner </div>
<div class="box_body">	

<table width=100% border="0" cellspacing="0" cellpadding="1">
<?php if (isset($this->_sections['b2'])) unset($this->_sections['b2']);
$this->_sections['b2']['name'] = 'b2';
$this->_sections['b2']['loop'] = is_array($_loop=$this->_tpl_vars['ads']['2']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['b2']['show'] = true;
$this->_sections['b2']['max'] = $this->_sections['b2']['loop'];
$this->_sections['b2']['step'] = 1;
$this->_sections['b2']['start'] = $this->_sections['b2']['step'] > 0 ? 0 : $this->_sections['b2']['loop']-1;
if ($this->_sections['b2']['show']) {
    $this->_sections['b2']['total'] = $this->_sections['b2']['loop'];
    if ($this->_sections['b2']['total'] == 0)
        $this->_sections['b2']['show'] = false;
} else
    $this->_sections['b2']['total'] = 0;
if ($this->_sections['b2']['show']):

            for ($this->_sections['b2']['index'] = $this->_sections['b2']['start'], $this->_sections['b2']['iteration'] = 1;
                 $this->_sections['b2']['iteration'] <= $this->_sections['b2']['total'];
                 $this->_sections['b2']['index'] += $this->_sections['b2']['step'], $this->_sections['b2']['iteration']++):
$this->_sections['b2']['rownum'] = $this->_sections['b2']['iteration'];
$this->_sections['b2']['index_prev'] = $this->_sections['b2']['index'] - $this->_sections['b2']['step'];
$this->_sections['b2']['index_next'] = $this->_sections['b2']['index'] + $this->_sections['b2']['step'];
$this->_sections['b2']['first']      = ($this->_sections['b2']['iteration'] == 1);
$this->_sections['b2']['last']       = ($this->_sections['b2']['iteration'] == $this->_sections['b2']['total']);
 if ($this->_tpl_vars['ads']['2'][$this->_sections['b2']['index']]['no']): ?><tr class="adlight"><td width="468" height="60" align="center" class="ad">
<a href="<?php echo ((is_array($_tmp="?a=goads&aid=2&id=".($this->_tpl_vars['ads']['2'][$this->_sections['b2']['index']]['no']))) ? $this->_run_mod_handler('encurl', true, $_tmp) : smarty_modifier_encurl($_tmp)); ?>
" target="_blank" title="<?php echo $this->_tpl_vars['ads']['2'][$this->_sections['b2']['index']]['desc']; ?>
"><?php if ($this->_tpl_vars['ads']['2'][$this->_sections['b2']['index']]['format'] == 'flash'): ?><embed width="468" height="60" src="<?php echo $this->_tpl_vars['ads']['2'][$this->_sections['b2']['index']]['imgurl']; ?>
"><noembed><?php echo ((is_array($_tmp="?a=goads&aid=2&id=".($this->_tpl_vars['ads']['2'][$this->_sections['b2']['index']]['no']))) ? $this->_run_mod_handler('encurl', true, $_tmp) : smarty_modifier_encurl($_tmp)); ?>
</noembed><?php else: ?><img src="<?php echo $this->_tpl_vars['ads']['2'][$this->_sections['b2']['index']]['imgurl']; ?>
" alt="<?php echo $this->_tpl_vars['ads']['2'][$this->_sections['b2']['index']]['desc']; ?>
" width="468" height="60" border="2" style="border-color:#C9C6C6"><?php endif; ?></a></td>
<td class="ad"><a href="<?php echo ((is_array($_tmp="?a=goads&aid=2&id=".($this->_tpl_vars['ads']['2'][$this->_sections['b2']['index']]['no']))) ? $this->_run_mod_handler('encurl', true, $_tmp) : smarty_modifier_encurl($_tmp)); ?>
" target="_blank"><b><?php echo $this->_tpl_vars['ads']['2'][$this->_sections['b2']['index']]['name']; ?>
</b></a><br><?php echo $this->_tpl_vars['ads']['2'][$this->_sections['b2']['index']]['desc']; ?>
<br><font color="#666666">$<?php echo $this->_tpl_vars['ads']['2'][$this->_sections['b2']['index']]['price']; ?>
/Week | Expires: <?php echo $this->_tpl_vars['ads']['2'][$this->_sections['b2']['index']]['expired']; ?>
</font></td></tr>

<?php else: ?>

<tr class="adlight"><td width="468" height="60" align="center" class="ad">
<table width=468 height=60  border="0" cellspacing="1" cellpadding="0" class="adblack" style=word-break:break-all><tr><td align="center" class="adlight" style=word-break:break-all>
<div align=center><a href="<?php echo ((is_array($_tmp="?a=advertise&ad=2")) ? $this->_run_mod_handler('encurl', true, $_tmp) : smarty_modifier_encurl($_tmp)); ?>
"><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="Your Ad Here" border="0"></a></td></a></div></td></tr></table></td>
<td class="ad" style=word-break:break-all><a href="<?php echo ((is_array($_tmp="?a=advertise&ad=2")) ? $this->_run_mod_handler('encurl', true, $_tmp) : smarty_modifier_encurl($_tmp)); ?>
"><strong>Your Ad Here</strong></a><br>
Your Program Description<br><font color="#666666">$<?php echo $this->_tpl_vars['ads']['2'][$this->_sections['b2']['index']]['price']; ?>
/Week | Available Now!</font></td></tr>
<?php endif;  endfor; endif; ?>
</table>

	</div></div>