<?php /* Smarty version 2.6.2, created on 2012-06-03 17:13:02
         compiled from add_site.tpl */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "header.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<div id="left-col"><div id="nav"><ul><li><a name="addprogram">Add your Hyip or Autosurf Program </a></li></ul>
</div>
<div id="content">
<?php echo '
<script>
function chlist(a,b,c){
document.getElementById(\'lname\').innerHTML = a;
document.getElementById(\'mfee\').innerHTML = b-c;
document.getElementById(\'lfee\').innerHTML = c;
document.getElementById(\'lfee2\').innerHTML = c;
document.getElementById(\'overfee\').innerHTML = b-c;
document.getElementById(\'bonus\').style.display = (a == \'Premium\' || a == \'Elite\') ?  \'\' : \'none\';
}


function validate2(){
  var x = document.orderform;

  if (!x.email.value){
    alert(\'Please, enter your E-Mail address!\');
    x.email.focus();
    return false;
  }
  else {
    ax = x.email.value.indexOf(\'@\');
    bx = x.email.value.indexOf(\'@\', ax+1);
    cx = x.email.value.lastIndexOf(\'.\');
    if (cx < ax+1) { cx = -1; }
    if (ax == -1 || bx != -1 || cx <= ax + 2 || ax < 1 || cx + 2 >= x.email.value.length || cx + 4 < x.email.value.length)
    {
      alert(\'Please, enter a valid E-Mail Address\');
      x.email.focus();
      return false;
    }
  }

  return true;
}

function validate(){
  var d = document.add_form;

 if (!d.paymentcode.value){
    alert(\'Please enter your paymentcode.\');
    d.paymentcode.focus();
    return false;
  }

  if (!d.name.value){
    alert(\'Please enter your Site Name.\');
    d.name.focus();
    return false;
  }

  if (!d.url.value){
    alert(\'Please enter your Site URL.\');
    d.url.focus();
    return false;
  }


  return true;
}
function doView() {
  var bv = document.getElementById(\'bnview\');
  var d = document.orderform;
bv.innerHTML = \'<img src="\'+d.support_banner.value+\'" border="0" width="468" height="60"></a> &nbsp<a href="javascript:cl()">Close</a>\';
}
function cl() {
document.getElementById(\'bnview\').innerHTML = "";
}


  function ch_reload(ec)
  {
    var img = document.getElementById(\'ec_img\');
    img.src = \'/images/\'+ec+\'.gif\';
  }


</script>
'; ?>

<?php if ($this->_tpl_vars['group']['add_description']):  echo $this->_tpl_vars['group']['add_description']; ?>

<br><br>
<?php endif; ?>


<table cellspacing=0 cellpadding=0 border=0 width=100%>
<tr><td>
<ul><font color="#CC0000"><strong><?php echo $this->_tpl_vars['settings']['site_name']; ?>
</strong> is a listing of high yield investment programs. (Hyip and Autosurf)</font>
<li>You can add a new Hyip or Autosurf program if you are it's administrator or owner.</li>
<li>Do not submit a referral url in your program domain.</li>
<li>After you payment your program will be added in the list automatically, and you will receive the html code for the monitor button or your can find it in the details page by yourself. Then you can copy the button code to place it on your website.</li>
<li>If you find that the listing which you have submitted before is not listed on HYIP Ranks, please <strong><U>do not re-submit</U></strong> it again. Check  that you have already made the initial deposit amount and contact us via our support form if you have any questions or require any assistance.<!--br>
<SCRIPT type="text/javascript" language="JavaScript" src="http://xslt.alexa.com/site_stats/js/t/a?url=<?php echo $this->_tpl_vars['settings']['site_name']; ?>
"></SCRIPT>--></li>
</ul>
</td></tr></table>
<table width="100%" border="0" cellpadding="0" cellspacing="0">

<?php if (( $this->_tpl_vars['step'] == 1 )): ?>

<tr><td align="center">
<div style="border:1px #cccccc dotted;">
<span id="lname">Diamond</span> Listing &gt;&gt; <font color="#FF0000">$<span id="mfee"><?php echo $this->_tpl_vars['settings']['premiummonitorfees']; ?>
</span></font> will be reinvest into your program for the monitoring. and <font color="#FF0000">$<span id="lfee"><?php echo $this->_tpl_vars['settings']['premiumlistingfees']; ?>
</span></font> is the listing fee. If the min deposit of your program is higher than $<span id="overfee"><?php echo $this->_tpl_vars['settings']['premiummonitorfees']+$this->_tpl_vars['settings']['premiumlistingfees']; ?>
</span> you have to spend the min deposit amount + $<span id="lfee2"><?php echo $this->_tpl_vars['settings']['premiumlistingfees']; ?>
</span>.
<span id="bonus"></span></div>
</td></tr>
<?php endif; ?>


<tr><td>
<table cellspacing=1 cellpadding=2 border=0 width=100%>
<tr><td colspan=2>
<?php if (( $this->_tpl_vars['step'] == 1 )): ?>
<form action="/index.html" name="orderform"  method="POST" onsubmit="return validate2()">
<input type=hidden name="a" value="order">
<input type=hidden name="action" value="pay4list">
<FIELDSET style="WIDTH: 98%" align=center><LEGEND><B 
style="COLOR: #111111">Step 1 - Choose & Payment</B></LEGEND>
<TABLE border=0 cellSpacing=2 cellPadding=2 width="100%" id=choose bgColor=#ffffff>
<TBODY>
<tr>
<td width=30%>* Listing Options:</td>
<td><?php if (showgroups ( 2 )):  endif; ?></td>
</tr>
<tr>

 <td>List in Our Paid Sticky HYIPs:</td><td><input type="checkbox" name="paidsticky" value=1 <?php if (! $this->_tpl_vars['pc']): ?>disabled<?php endif; ?>><font color= <?php if ($this->_tpl_vars['pc']): ?>red<?php else: ?>grey<?php endif; ?>> + $<?php echo $this->_tpl_vars['settings']['paidsticky']; ?>
 <em>(For Month,no-reinvest)</em></font></font></td>

</tr>
<tr>
<td width=30%>468*60 banner on your program details <b>only $<?php echo $this->_tpl_vars['settings']['bannerfees']; ?>
 lifetime</b></td><td>Example: <?php echo $this->_tpl_vars['settings']['site_url']; ?>
/images/banner.gif<br><input type="text" name="support_banner" value="" class=inpts size=50> &nbsp<input type="button" value="Preview" class="sbmt" onclick="doView();"></td>
</tr>
<tr><td colspan=2><div id="bnview"></div></td>
</tr>

<tr>
 <td width=30%>* Contact E-mail:</td><td><input type="text" name="email" value="" class=inpts size=50></td>
</tr>
<tr>
<td width=30%>Pay Via e-Currency:</td>
<td><select name="processor" class="inpts" onchange="ch_reload(this.value)">
<option value="LibertyReserve" checked>LibertyReserve</option>
<option value="PerfectMoney">PerfectMoney</option>

</select> <img id="ec_img" src="/images/LibertyReserve.gif" border="0" align="absmiddle"> <input type=submit value="Spend Now &gt;&gt;" class="inpts">


</td>
</tr>

</tbody></table>
</form>
<?php endif; ?>
</td></tr>

<?php if (( $this->_tpl_vars['step'] == 2 )): ?>

<form action="/index.html" method=post name="add_form" onsubmit="return validate()">
<input type="hidden" name="a" value="add">
<input type="hidden" name="action" value="save">
<tr><td colspan=2>
<FIELDSET style="WIDTH: 98%" align=center><LEGEND><B 
style="COLOR: #111111">Step 2 - Add & Submit</B></LEGEND>
<TABLE border=0 cellSpacing=2 cellPadding=2 width="100%" id=addcomment bgColor=#ffffff>
<TBODY>
<?php if ($this->_tpl_vars['errors']):  if (isset($this->_sections['e'])) unset($this->_sections['e']);
$this->_sections['e']['name'] = 'e';
$this->_sections['e']['loop'] = is_array($_loop=$this->_tpl_vars['errors']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['e']['show'] = true;
$this->_sections['e']['max'] = $this->_sections['e']['loop'];
$this->_sections['e']['step'] = 1;
$this->_sections['e']['start'] = $this->_sections['e']['step'] > 0 ? 0 : $this->_sections['e']['loop']-1;
if ($this->_sections['e']['show']) {
    $this->_sections['e']['total'] = $this->_sections['e']['loop'];
    if ($this->_sections['e']['total'] == 0)
        $this->_sections['e']['show'] = false;
} else
    $this->_sections['e']['total'] = 0;
if ($this->_sections['e']['show']):

            for ($this->_sections['e']['index'] = $this->_sections['e']['start'], $this->_sections['e']['iteration'] = 1;
                 $this->_sections['e']['iteration'] <= $this->_sections['e']['total'];
                 $this->_sections['e']['index'] += $this->_sections['e']['step'], $this->_sections['e']['iteration']++):
$this->_sections['e']['rownum'] = $this->_sections['e']['iteration'];
$this->_sections['e']['index_prev'] = $this->_sections['e']['index'] - $this->_sections['e']['step'];
$this->_sections['e']['index_next'] = $this->_sections['e']['index'] + $this->_sections['e']['step'];
$this->_sections['e']['first']      = ($this->_sections['e']['iteration'] == 1);
$this->_sections['e']['last']       = ($this->_sections['e']['iteration'] == $this->_sections['e']['total']);
 if ($this->_tpl_vars['errors'][$this->_sections['e']['index']]['name'] == 'paymentcode'): ?>
<li style="color: red"> paymentcode not found<br></li>
<?php endif;  if ($this->_tpl_vars['errors'][$this->_sections['e']['index']]['name'] == 'used'): ?>
<li style="color: red"> paymentcode is already used<br></li>
<?php endif;  if ($this->_tpl_vars['errors'][$this->_sections['e']['index']]['name'] == 'name'): ?>
<li style="color: red"> Please enter your Site Name<br></li>
<?php endif;  if ($this->_tpl_vars['errors'][$this->_sections['e']['index']]['name'] == 'url'): ?>
<li style="color: red"> Please enter your Site URL<br></li>
<?php endif;  endfor; endif; ?>
<br>
<?php endif; ?>

<tr>
 <td align="center">
<b><font size=3 color="green">Congratulations!</font><br>
</b>You have successfully sent Listing Payment.<br>
An Email Sent to your Email Address.<br>
Please check your Inbox or Spam Box.<br>
Follow the instruction to list your site in our System.<p>&nbsp;</td>
</tr>



</tbody></table>
</td></tr>



</form>
<?php endif; ?>
</table>


</td></tr></table>
</div>
<div id="footer"></div> 
</div>

<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "footer.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>