<?php /* Smarty version 2.6.2, created on 2012-03-08 01:12:10
         compiled from support.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="support"><?php if ($this->_tpl_vars['say'] == 'pay'): ?>Payment<?php else: ?>Support<?php endif; ?> Form</li></ul>
</div>
<div id="content">
<table width=100% border=0 cellspacing=0 cellpadding=0>
<tr><td><div class="list_side"><table width=100% border=0 cellspacing=0 cellpadding=0><tr><td valign="top"><div class="list_info">

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

<div align="center">Message has been successfully sent. We will back to you in next 24 hours. Thank you.</div>
<?php else:  if ($this->_tpl_vars['say'] == 'pay'): ?>
Your AD Request has bee successfully sent.<br />
You can Pay Your AD Fee Now!<br />
<br />
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr bgcolor="#FFFFCC">
<td height="30" align="center"><strong>You Have to Pay</strong> &nbsp;<font color="#FF0000"><strong> $<?php echo $this->_tpl_vars['fee']; ?>
(USD)</strong></font></td></tr>
<tr><td>&nbsp;</td></tr>
<?php if ($this->_tpl_vars['processor'] == 'libertyreserve'): ?>
<form name="LR_spend" method="POST" action="https://sci.libertyreserve.com">
  <input type="hidden" name="lr_acc" value="<?php echo $this->_tpl_vars['settings']['lracc']; ?>
">
  <input type="hidden" name="lr_amnt" value="<?php echo $this->_tpl_vars['fee']; ?>
">
  <input type="hidden" name="lr_currency" value="LRUSD">
  <input type="hidden" name="lr_comments" value="<?php echo $this->_tpl_vars['ad_type']; ?>
/<?php echo $this->_tpl_vars['email']; ?>
">
  <input type="hidden" name="lr_success_url" value="<?php echo $this->_tpl_vars['settings']['site_url']; ?>
/?a=payments&say=ad_success">
  <input type="hidden" name="lr_success_url_method" value="POST">
  <input type="hidden" name="lr_fail_url" value="<?php echo $this->_tpl_vars['settings']['site_url']; ?>
/?a=payments&say=notsuccess">
  <input type="hidden" name="lr_fail_url_method" value="POST">
  <input type="hidden" name="lr_status_url" value="<?php echo $this->_tpl_vars['settings']['site_url']; ?>
/LR_processing.php">
  <input type="hidden" name="lr_status_url_method" value="POST">
  	<input type=hidden name=email value="<?php echo $this->_tpl_vars['email']; ?>
">
	<input type=hidden name=ad_type value="<?php echo $this->_tpl_vars['ad_type']; ?>
">
	<input type=hidden name=ad_duration value="<?php echo $this->_tpl_vars['ad_duration']; ?>
">
	<input type=hidden name=ad_website_url value="<?php echo $this->_tpl_vars['ad_website_url']; ?>
">
	<input type=hidden name=ad_banner_url value="<?php echo $this->_tpl_vars['ad_banner_url']; ?>
">
	<input type=hidden name=ad_alt_text value="<?php echo $this->_tpl_vars['ad_alt_text']; ?>
">
	<input type=hidden name=ad_text value="<?php echo $this->_tpl_vars['ad_text']; ?>
">
	<input type=hidden name=action value="ad_payment">
	<tr><td align=center><input type=submit value="Pay $<?php echo $this->_tpl_vars['fee']; ?>
 via Liberty Reserve now &gt;&gt;" class="sbmt" style="width:210px;"></td></tr></form>
<?php endif; ?>

<?php if ($this->_tpl_vars['processor'] == 'perfectmoney'): ?>
<form name="PM_spend" method="POST" action="https://perfectmoney.com/api/step1.asp">
  	<input type=hidden name=email value="<?php echo $this->_tpl_vars['email']; ?>
">
	<input type=hidden name=ad_type value="<?php echo $this->_tpl_vars['ad_type']; ?>
">
	<input type=hidden name=ad_duration value="<?php echo $this->_tpl_vars['ad_duration']; ?>
">
	<input type=hidden name=ad_website_url value="<?php echo $this->_tpl_vars['ad_website_url']; ?>
">
	<input type=hidden name=ad_banner_url value="<?php echo $this->_tpl_vars['ad_banner_url']; ?>
">
	<input type=hidden name=ad_alt_text value="<?php echo $this->_tpl_vars['ad_alt_text']; ?>
">
	<input type=hidden name=ad_text value="<?php echo $this->_tpl_vars['ad_text']; ?>
">
	<input type=hidden name=action value="ad_payment">
<input type=hidden name="action" value="checkstatus">
<input type="hidden" name="PAYEE_ACCOUNT" value="<?php echo $this->_tpl_vars['settings']['perfectmoney_acc']; ?>
">
<input type="hidden" name="PAYEE_NAME" value="<?php echo $this->_tpl_vars['settings']['perfectmoney_name']; ?>
">
<input type="hidden" name="PAYMENT_AMOUNT" value="<?php echo $this->_tpl_vars['fee']; ?>
">
<input type="hidden" name="PAYMENT_UNITS" value="USD">
<input type="hidden" name="SUGGESTED_MEMO" value="<?php echo $this->_tpl_vars['ad_type']; ?>
">
<input type="hidden" name="PAYMENT_URL_METHOD" value="POST">
<input type="hidden" name="PAYMENT_URL" value="<?php echo $this->_tpl_vars['settings']['site_url']; ?>
/?a=payments&say=ad_success">
<input type="hidden" name="NOPAYMENT_URL_METHOD" value="POST">
<input type="hidden" name="NOPAYMENT_URL" value="<?php echo $this->_tpl_vars['settings']['site_url']; ?>
/?a=payments&say=notsuccess">
<input type="hidden" name="STATUS_URL" value="<?php echo $this->_tpl_vars['settings']['site_url']; ?>
/PM_processing.php">
<input type="hidden" name="BAGGAGE_FIELDS" value="email, ad_type, ad_duration, ad_website_url, ad_banner_url, ad_alt_text, ad_text, action">
<tr><td align=center><input type=submit value="Pay $<?php echo $this->_tpl_vars['fee']; ?>
 via Perfect Money &gt;&gt;" class="sbmt" style="width:210px;"></td></tr></form>
<?php endif; ?>

</table>
<br>

<?php else: ?>

<script language=javascript>
<?php echo '
function checkform2() {
  if (document.mainform.name.value == \'\') {
    alert("Please type your full name!");
    document.mainform.name.focus();
    return false;
  }
  if (document.mainform.email.value == \'\') {
    alert("Please enter your e-mail address!");
    document.mainform.email.focus();
    return false;
  }
  if (document.mainform.message.value == \'\') {
    alert("Please type your message!");
    document.mainform.message.focus();
    return false;
  }
  return true;
}
'; ?>

</script>

<form action="/index.html"  method=post name=mainform onsubmit="return checkform2()">
<input type=hidden name=a value=support>
<input type=hidden name=action value=send>
<table width=100%>
<?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'] == 'turing'): ?>
<li style="color: red"> Please enter valid Turing Number<br></li>
<?php endif;  endfor; endif; ?>
<br>
<?php endif; ?>
<tr>
 <td>Your Name:</td>
 <td><input type="text" name="name" size=30 class=inpts></td>
</tr>
<tr>
 <td>Your Email:</td>
 <td><input type="text" name="email" size=30 class=inpts></td>
</tr>
<tr>
 <td>Message:</td>
 <td><textarea name=message class=inpts cols=45 rows=4></textarea></td>
</tr>
<tr>
 <td><img src="/?a=turing" border=0 valign="absmiddle"></td><td><input type="text" name="validation_number"  class=inpts size=20></td>
</tr>
<tr>
<tr>
 <td>&nbsp;</td>
 <td><input type=submit value="Send" class=sbmt></td>
</tr></table>
</form>

<?php endif;  endif; ?>

</div></td></tr></table>
</div></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);
 ?>