<?php /* Smarty version 2.6.2, created on 2012-10-23 00:45:41
         compiled from newlistings_box.tpl */ ?>
<?php require_once(SMARTY_DIR . 'core' . DIRECTORY_SEPARATOR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'encurl', 'newlistings_box.tpl', 12, false),array('modifier', 'escape', 'newlistings_box.tpl', 19, false),array('modifier', 'nl2br', 'newlistings_box.tpl', 19, false),)), $this); ?>
<h2>New Listings</h2>
<!-- Image Table: Start -->
<div class="new_listings">
<ul class="stats">
<?php if (isset($this->_sections['l'])) unset($this->_sections['l']);
$this->_sections['l']['name'] = 'l';
$this->_sections['l']['loop'] = is_array($_loop=$this->_tpl_vars['new_listings']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['l']['show'] = true;
$this->_sections['l']['max'] = $this->_sections['l']['loop'];
$this->_sections['l']['step'] = 1;
$this->_sections['l']['start'] = $this->_sections['l']['step'] > 0 ? 0 : $this->_sections['l']['loop']-1;
if ($this->_sections['l']['show']) {
    $this->_sections['l']['total'] = $this->_sections['l']['loop'];
    if ($this->_sections['l']['total'] == 0)
        $this->_sections['l']['show'] = false;
} else
    $this->_sections['l']['total'] = 0;
if ($this->_sections['l']['show']):

            for ($this->_sections['l']['index'] = $this->_sections['l']['start'], $this->_sections['l']['iteration'] = 1;
                 $this->_sections['l']['iteration'] <= $this->_sections['l']['total'];
                 $this->_sections['l']['index'] += $this->_sections['l']['step'], $this->_sections['l']['iteration']++):
$this->_sections['l']['rownum'] = $this->_sections['l']['iteration'];
$this->_sections['l']['index_prev'] = $this->_sections['l']['index'] - $this->_sections['l']['step'];
$this->_sections['l']['index_next'] = $this->_sections['l']['index'] + $this->_sections['l']['step'];
$this->_sections['l']['first']      = ($this->_sections['l']['iteration'] == 1);
$this->_sections['l']['last']       = ($this->_sections['l']['iteration'] == $this->_sections['l']['total']);
 if ($this->_tpl_vars['new_listings'][$this->_sections['l']['index']]['data_type'] == 'date'): ?>
<li>
  <span class="date"><?php echo $this->_tpl_vars['new_listings'][$this->_sections['l']['index']]['date']; ?>
</span>
</li>
<?php else: ?>
 <li>
   <a href="<?php echo ((is_array($_tmp="?a=go&lid=".($this->_tpl_vars['new_listings'][$this->_sections['l']['index']]['id']))) ? $this->_run_mod_handler('encurl', true, $_tmp) : smarty_modifier_encurl($_tmp)); ?>
" target=_blank class="name"><?php echo $this->_tpl_vars['new_listings'][$this->_sections['l']['index']]['name']; ?>
</a>
   <p class="status status<?php echo $this->_tpl_vars['new_listings'][$this->_sections['l']['index']]['hyip_status']; ?>
">
  <?php if ($this->_tpl_vars['new_listings'][$this->_sections['l']['index']]['hyip_status'] == 1): ?>Paying
  <?php elseif ($this->_tpl_vars['new_listings'][$this->_sections['l']['index']]['hyip_status'] == 2): ?>Waiting
  <?php elseif ($this->_tpl_vars['new_listings'][$this->_sections['l']['index']]['hyip_status'] == 3): ?>Problem
  <?php elseif ($this->_tpl_vars['new_listings'][$this->_sections['l']['index']]['hyip_status'] == 4): ?>Not Paying<?php endif; ?>
   </p>
   <p class="percents"><?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['new_listings'][$this->_sections['l']['index']]['percents'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')))) ? $this->_run_mod_handler('nl2br', true, $_tmp) : smarty_modifier_nl2br($_tmp)); ?>
</p>
 </li>
<?php endif;  endfor; endif; ?>
</ul>
</div>