<?php /* Smarty version 2.6.2, created on 2012-03-22 22:12:47
         compiled from details_closed.tpl */ ?>
  <table cellspacing=0 cellpadding=0 border=0 width=100% class="listbody">  
  <tr>  
  <td class=closeddark>
   <table cellspacing=0 cellpadding=0 border=0 class=closedlite width=100%>
     <tr valign="middle">
       <td width="10"><img src="images/q.gif" width="10"></td>
       <td width="33%" height="25"><b><?php echo $this->_tpl_vars['listing']['name']; ?>
</b><?php if ($this->_tpl_vars['listing']['new']): ?> <font color="red"><b><i>new</i></b></font><?php endif; ?></td>
       <td width="33%">Status: <?php if ($this->_tpl_vars['listing']['hyip_status'] == 1): ?><font color="#009900"><strong>Paying</strong></font><?php endif; ?> <?php if ($this->_tpl_vars['listing']['hyip_status'] == 2): ?><font color="#666666"><strong>Waiting</strong></font><?php endif; ?> <?php if ($this->_tpl_vars['listing']['hyip_status'] == 3): ?><font color="#FF6600"><strong>Problem</strong></font><?php endif; ?> <?php if ($this->_tpl_vars['listing']['hyip_status'] == 4): ?><font color="#FF0000"><strong>Not Paying</strong></font><?php endif; ?></td>
       <td width="33%" align="right"><b>Added:<?php echo $this->_tpl_vars['listing']['added']; ?>
</b></td>
       <td width="10"><img src="images/q.gif" width="10"></td>
     </tr>
     <tr valign="top">
       <td width="10" valign="middle" class="grey">&nbsp;</td>
       <td valign="middle" class="grey">Our Rating: <?php if (isset($this->_sections['r'])) unset($this->_sections['r']);
$this->_sections['r']['name'] = 'r';
$this->_sections['r']['loop'] = is_array($_loop=$this->_tpl_vars['listing']['rates']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['r']['show'] = true;
$this->_sections['r']['max'] = $this->_sections['r']['loop'];
$this->_sections['r']['step'] = 1;
$this->_sections['r']['start'] = $this->_sections['r']['step'] > 0 ? 0 : $this->_sections['r']['loop']-1;
if ($this->_sections['r']['show']) {
    $this->_sections['r']['total'] = $this->_sections['r']['loop'];
    if ($this->_sections['r']['total'] == 0)
        $this->_sections['r']['show'] = false;
} else
    $this->_sections['r']['total'] = 0;
if ($this->_sections['r']['show']):

            for ($this->_sections['r']['index'] = $this->_sections['r']['start'], $this->_sections['r']['iteration'] = 1;
                 $this->_sections['r']['iteration'] <= $this->_sections['r']['total'];
                 $this->_sections['r']['index'] += $this->_sections['r']['step'], $this->_sections['r']['iteration']++):
$this->_sections['r']['rownum'] = $this->_sections['r']['iteration'];
$this->_sections['r']['index_prev'] = $this->_sections['r']['index'] - $this->_sections['r']['step'];
$this->_sections['r']['index_next'] = $this->_sections['r']['index'] + $this->_sections['r']['step'];
$this->_sections['r']['first']      = ($this->_sections['r']['iteration'] == 1);
$this->_sections['r']['last']       = ($this->_sections['r']['iteration'] == $this->_sections['r']['total']);
 if ($this->_tpl_vars['listing']['rates'][$this->_sections['r']['index']]['star']): ?><img src="images/full_star.gif" align=absmiddle><?php else: ?><img src="images/empty_star.gif" align=absmiddle><?php endif;  endfor; endif; ?></td>
       <td valign="middle" class="grey">User Votes: <b><?php echo $this->_tpl_vars['listing']['avg_vote']; ?>
 - <?php echo $this->_tpl_vars['listing']['cvotes']; ?>
 votes</b></td>
       <td align="right" valign="middle" class="grey">Support: <?php if ($this->_tpl_vars['listing']['support_email']): ?><a href="mailto:<?php echo $this->_tpl_vars['listing']['support_email']; ?>
"><img src="images/smail.gif" border=0 alt="Support E-Mail" title="Support E-Mail" align=absmiddle></a><?php endif; ?> <?php if ($this->_tpl_vars['listing']['support_form']): ?><a href="<?php echo $this->_tpl_vars['listing']['support_form']; ?>
" target=_blank><img src="images/sform.gif" border=0 alt="Support Form" title="Support Form" align=absmiddle></a><?php endif; ?> <?php if ($this->_tpl_vars['listing']['support_phone']): ?><img src="images/sphone.gif" border=0 alt="Phone: <?php echo $this->_tpl_vars['listing']['support_phone']; ?>
" title="Phone: <?php echo $this->_tpl_vars['listing']['support_phone']; ?>
" align=absmiddle><?php endif; ?> <?php if ($this->_tpl_vars['listing']['support_aim']): ?><img src="images/smsn.gif" border=0 alt="<?php echo $this->_tpl_vars['listing']['support_aim']; ?>
" title="<?php echo $this->_tpl_vars['listing']['support_aim']; ?>
" align=absmiddle><?php endif; ?> <?php if ($this->_tpl_vars['listing']['support_forum']): ?><a href="<?php echo $this->_tpl_vars['listing']['support_forum']; ?>
" target=_blank><img src="images/sforum.gif" border=0 alt="Support Forum" title="Support Forum" align=absmiddle></a><?php endif; ?></td>
       <td width="10" align="right" valign="middle" class="grey">&nbsp;</td>
     </tr>

     <tr valign="top">
       <td width="10">&nbsp;</td>
       <td><?php if ($this->_tpl_vars['listing']['spend'] > 0): ?> Our Invetment: <b>$<?php echo $this->_tpl_vars['listing']['spend']; ?>
</b><br>
    Payout Ratio: <nobr><b><?php echo $this->_tpl_vars['listing']['ratio']*100; ?>
% <font color="#FF0000"><?php if ($this->_tpl_vars['listing']['ratio'] >= 1): ?>in profit<?php endif; ?></font></b></nobr><br>
    <?php if ($this->_tpl_vars['listing']['ratio'] <= 1): ?>
    <table width=60% height=10 border="0" cellpadding="0" cellspacing="1" bgcolor="#006600">
      <tr>
        <td align="left" bgcolor="#FFFFFF"><table width="<?php echo $this->_tpl_vars['listing']['ratio']*100; ?>
%" height="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#009900">
            <tr>
              <td></td>
            </tr>
        </table></td>
      </tr>
    </table>
    <?php else: ?>
    <table width=60% height=10 border="0" cellpadding="0" cellspacing="1" bgcolor="#006600">
      <tr> <?php if (isset($this->_sections['foo'])) unset($this->_sections['foo']);
$this->_sections['foo']['name'] = 'foo';
$this->_sections['foo']['start'] = (int)0;
$this->_sections['foo']['loop'] = is_array($_loop=$this->_tpl_vars['listing']['ratio']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['foo']['step'] = ((int)1) == 0 ? 1 : (int)1;
$this->_sections['foo']['show'] = true;
$this->_sections['foo']['max'] = $this->_sections['foo']['loop'];
if ($this->_sections['foo']['start'] < 0)
    $this->_sections['foo']['start'] = max($this->_sections['foo']['step'] > 0 ? 0 : -1, $this->_sections['foo']['loop'] + $this->_sections['foo']['start']);
else
    $this->_sections['foo']['start'] = min($this->_sections['foo']['start'], $this->_sections['foo']['step'] > 0 ? $this->_sections['foo']['loop'] : $this->_sections['foo']['loop']-1);
if ($this->_sections['foo']['show']) {
    $this->_sections['foo']['total'] = min(ceil(($this->_sections['foo']['step'] > 0 ? $this->_sections['foo']['loop'] - $this->_sections['foo']['start'] : $this->_sections['foo']['start']+1)/abs($this->_sections['foo']['step'])), $this->_sections['foo']['max']);
    if ($this->_sections['foo']['total'] == 0)
        $this->_sections['foo']['show'] = false;
} else
    $this->_sections['foo']['total'] = 0;
if ($this->_sections['foo']['show']):

            for ($this->_sections['foo']['index'] = $this->_sections['foo']['start'], $this->_sections['foo']['iteration'] = 1;
                 $this->_sections['foo']['iteration'] <= $this->_sections['foo']['total'];
                 $this->_sections['foo']['index'] += $this->_sections['foo']['step'], $this->_sections['foo']['iteration']++):
$this->_sections['foo']['rownum'] = $this->_sections['foo']['iteration'];
$this->_sections['foo']['index_prev'] = $this->_sections['foo']['index'] - $this->_sections['foo']['step'];
$this->_sections['foo']['index_next'] = $this->_sections['foo']['index'] + $this->_sections['foo']['step'];
$this->_sections['foo']['first']      = ($this->_sections['foo']['iteration'] == 1);
$this->_sections['foo']['last']       = ($this->_sections['foo']['iteration'] == $this->_sections['foo']['total']);
?>
          <td bgcolor="#009900"></td>
          <?php endfor; endif; ?>
          <td align="left" bgcolor="#FFFFFF"><table width="<?php echo $this->_tpl_vars['listing']['ratio']*100-$this->_sections['foo']['index']*100; ?>
%" height="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#009900">
              <tr>
                <td bgcolor="#009900"></td>
              </tr>
          </table></td>
      </tr>
    </table>
    <?php endif;  else: ?>Our Investment:<b> No Investment</b>     <?php endif; ?> </td>
       <td>    Minimal Spend: <b><?php echo $this->_tpl_vars['listing']['min_spend']; ?>
</b><br>
    Maximal Spend: <b><?php if ($this->_tpl_vars['listing']['max_spend']):  echo $this->_tpl_vars['listing']['max_spend'];  else: ?>No Limit<?php endif; ?></b><br>
    Referral: <b><?php if ($this->_tpl_vars['listing']['referral']):  echo $this->_tpl_vars['listing']['referral'];  else: ?>No<?php endif; ?></b><br>
    Withdrawal: <b> <?php if ($this->_tpl_vars['listing']['withdrawal_type'] == 1): ?>Manual<?php endif; ?> <?php if ($this->_tpl_vars['listing']['withdrawal_type'] == 2): ?>Instant<?php endif; ?> <?php if ($this->_tpl_vars['listing']['withdrawal_type'] == 3): ?>Automatic<?php endif; ?></b> </td>
       <td><b><?php echo $this->_tpl_vars['listing']['percents']; ?>
</b><br>
    <?php if (isset($this->_sections['p'])) unset($this->_sections['p']);
$this->_sections['p']['name'] = 'p';
$this->_sections['p']['loop'] = is_array($_loop=$this->_tpl_vars['listing']['payments']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['p']['show'] = true;
$this->_sections['p']['max'] = $this->_sections['p']['loop'];
$this->_sections['p']['step'] = 1;
$this->_sections['p']['start'] = $this->_sections['p']['step'] > 0 ? 0 : $this->_sections['p']['loop']-1;
if ($this->_sections['p']['show']) {
    $this->_sections['p']['total'] = $this->_sections['p']['loop'];
    if ($this->_sections['p']['total'] == 0)
        $this->_sections['p']['show'] = false;
} else
    $this->_sections['p']['total'] = 0;
if ($this->_sections['p']['show']):

            for ($this->_sections['p']['index'] = $this->_sections['p']['start'], $this->_sections['p']['iteration'] = 1;
                 $this->_sections['p']['iteration'] <= $this->_sections['p']['total'];
                 $this->_sections['p']['index'] += $this->_sections['p']['step'], $this->_sections['p']['iteration']++):
$this->_sections['p']['rownum'] = $this->_sections['p']['iteration'];
$this->_sections['p']['index_prev'] = $this->_sections['p']['index'] - $this->_sections['p']['step'];
$this->_sections['p']['index_next'] = $this->_sections['p']['index'] + $this->_sections['p']['step'];
$this->_sections['p']['first']      = ($this->_sections['p']['iteration'] == 1);
$this->_sections['p']['last']       = ($this->_sections['p']['iteration'] == $this->_sections['p']['total']);
?><img src="images/<?php echo $this->_tpl_vars['listing']['payments'][$this->_sections['p']['index']]['system']; ?>
.gif" align="absmiddle" alt="<?php echo $this->_tpl_vars['listing']['payments'][$this->_sections['p']['index']]['system']; ?>
" title="<?php echo $this->_tpl_vars['listing']['payments'][$this->_sections['p']['index']]['system']; ?>
" /> <?php endfor; endif; ?></td>
       <td width="10">&nbsp;</td>
     </tr>
    <tr align="center" valign="middle">
      <td width="10" class="grey">&nbsp;	  </td>
      <td colspan="3" class="grey"><?php if (! $this->_tpl_vars['detailed']): ?> <a href="?a=details&lid=<?php echo $this->_tpl_vars['listing']['id']; ?>
"><strong>Program Details</strong></a> ::<?php endif; ?> <?php if ($this->_tpl_vars['listing']['spend'] > 0): ?><a href="javascript:viewStatistics('<?php echo $this->_tpl_vars['listing']['id']; ?>
')"><strong>Payout Statistics</strong></a> ::<?php endif;  if ($this->_tpl_vars['listing']['cvotes'] > 0): ?><a href="?a=details&lid=<?php echo $this->_tpl_vars['listing']['id']; ?>
"><strong>View Votes</strong></a>::<?php endif; ?> <a href="?a=details&lid=<?php echo $this->_tpl_vars['listing']['id']; ?>
#vote"><strong>Vote Now</strong></a> :: <a href="?a=details&amp;lid=<?php echo $this->_tpl_vars['listing']['id']; ?>
#getmonitorbutton"><strong>Get Monitor Button</strong></a></td>
      <td width="10" class="grey">&nbsp;</td>
    </tr>
	  <tr>
	    <td width="10" valign=top>&nbsp;</td>
      <td height="20" valign=middle><?php if ($this->_tpl_vars['listing']['lastpayout']): ?>Last Paid:<strong><?php echo $this->_tpl_vars['listing']['lastpayout']; ?>
</strong><?php else: ?>Last Paid: <strong>No Payout</strong><?php endif; ?> </td>
      <td height="20" valign=middle>&nbsp;</td>
      <td height="20" align="right" valign=middle >Closed: <b><?php echo $this->_tpl_vars['listing']['closed']; ?>
</b></td>
      <td width="10" valign=top >&nbsp;</td>
	  </tr>
    

   </table>
  </td>
  </tr>
  </table>
  
<br />