<?php /* Smarty version 2.6.2, created on 2012-03-06 00:38:58
         compiled from newlistings_box.tpl */ ?>
<div id="newlists" class="dbx-box">
<h3 class="dbx-handle">New Listings</h3>

<div class="dbx-content">
<table cellspacing=0 cellpadding=4 border=0 width="100%"> 
<tr><td>
<?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'): ?>
<i><?php echo $this->_tpl_vars['new_listings'][$this->_sections['l']['index']]['date']; ?>
</i><br>
<?php else:  if (show_flag ( $this->_tpl_vars['new_listings'][$this->_sections['l']['index']]['id'] )):  endif; ?> 
 <a href="/details-<?php echo $this->_tpl_vars['new_listings'][$this->_sections['l']['index']]['id']; ?>
.html" target=_blank class=newlistingslink target="_blank"  title="Min: <?php echo $this->_tpl_vars['new_listings'][$this->_sections['l']['index']]['min_spend']; ?>
; Max: <?php echo $this->_tpl_vars['new_listings'][$this->_sections['l']['index']]['max_spend']; ?>
; Referral: <?php echo $this->_tpl_vars['new_listings'][$this->_sections['l']['index']]['referral']; ?>
; Withdrawl:<?php if ($this->_tpl_vars['new_listings'][$this->_sections['l']['index']]['withdrawal_type'] == 1): ?>Manual<?php endif;  if ($this->_tpl_vars['new_listings'][$this->_sections['l']['index']]['withdrawal_type'] == 2): ?>Instant<?php endif;  if ($this->_tpl_vars['new_listings'][$this->_sections['l']['index']]['withdrawal_type'] == 3): ?>Automatic<?php endif; ?>"><font color="#003333"><b><u><?php echo $this->_tpl_vars['new_listings'][$this->_sections['l']['index']]['name']; ?>
</u></b></font></a> <img src="images/new_icon.gif" align=absmiddle><br>
   <?php if ($this->_tpl_vars['new_listings'][$this->_sections['l']['index']]['hyip_status'] == 1): ?><font color="#009900"><strong><img border="0" >Paying</strong></font><?php endif; ?>
   <?php if ($this->_tpl_vars['new_listings'][$this->_sections['l']['index']]['hyip_status'] == 2): ?><font color="#666666"><strong><img border="0" >Waiting</strong></font><?php endif; ?>
   <?php if ($this->_tpl_vars['new_listings'][$this->_sections['l']['index']]['hyip_status'] == 3): ?><font color="#FF6600"><strong><img border="0" >Problem</strong></font><?php endif; ?>
   <?php if ($this->_tpl_vars['new_listings'][$this->_sections['l']['index']]['hyip_status'] == 4): ?><font color="#FF0000"><strong><img border="0" >Not Paying</strong></font><?php endif; ?><br> 
<?php echo $this->_tpl_vars['new_listings'][$this->_sections['l']['index']]['percents']; ?>

<hr size=1 noshade="noshade" style="border:1px #cccccc dotted">
<?php endif;  endfor; endif; ?>
</td></tr>
</table>

</div></div>

