<?php /* Smarty version 3.1.27, created on 2024-03-16 18:21:53
         compiled from "/home/aekwtmoq/public_html/wealthpond.net/tmpl/deposit.tpl" */ ?>
<?php
/*%%SmartyHeaderCode:146663743465f5e34116cb56_10145382%%*/
if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '8f22144b5a93221b1adbcb6eb49a57e48943c400' => 
    array (
      0 => '/home/aekwtmoq/public_html/wealthpond.net/tmpl/deposit.tpl',
      1 => 1642582244,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '146663743465f5e34116cb56_10145382',
  'variables' => 
  array (
    'fatal' => 0,
    'qplans' => 0,
    'frm' => 0,
    'errors' => 0,
    'currency_sign' => 0,
    'min_deposit' => 0,
    'ps' => 0,
  ),
  'has_nocache_code' => false,
  'version' => '3.1.27',
  'unifunc' => 'content_65f5e3411b3690_69854557',
),false);
/*/%%SmartyHeaderCode%%*/
if ($_valid && !is_callable('content_65f5e3411b3690_69854557')) {
function content_65f5e3411b3690_69854557 ($_smarty_tpl) {
if (!is_callable('smarty_modifier_myescape')) require_once '/home/aekwtmoq/public_html/wealthpond.net/inc/libs/smarty3/plugins/modifier.myescape.php';

$_smarty_tpl->properties['nocache_hash'] = '146663743465f5e34116cb56_10145382';
echo $_smarty_tpl->getSubTemplate ("header.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0);
?>

<main class="content cabinet-content">
            <div class="container">
                <div class="row">
                    <div class="col-xl-12">
                        <div class="cabinet-head">
                            <div class="cabinet-head__box">
                                <div class="main-title">Deposit</div>
                                <div class="main-subtitle">Make</div>
                            </div>
		<div class="cabinet-btns">
		    <a class="main-btn" href="/?a=deposit">Make Deposit</a><a class="main-btn main-btn_transparent" href="/?a=withdraw">withdrawal</a></div>

                        </div>
<?php if ($_smarty_tpl->tpl_vars['fatal']->value) {?>

<?php if ($_smarty_tpl->tpl_vars['fatal']->value == 'one_per_month') {?>
You can deposit once a month only.
<?php }?>

<?php } else { ?>


<?php echo '<script'; ?>
 language="javascript"><!--
function openCalculator(id)
{

  w = 225; h = 400;
  t = (screen.height-h-30)/2;
  l = (screen.width-w-30)/2;
  window.open('?a=calendar&type=' + id, 'calculator' + id, "top="+t+",left="+l+",width="+w+",height="+h+",resizable=1,scrollbars=0");


  <?php if ($_smarty_tpl->tpl_vars['qplans']->value > 1) {?>

  for (i = 0; i < document.spendform.h_id.length; i++)
  {
    if (document.spendform.h_id[i].value == id)
    {
      document.spendform.h_id[i].checked = true;
    }
  }

  <?php }?>


}

function updateCompound() {
  var id = 0;
  var tt = document.spendform.h_id.type;
  if (tt && tt.toLowerCase() == 'hidden') {
    id = document.spendform.h_id.value;
  } else {
    for (i = 0; i < document.spendform.h_id.length; i++) {
      if (document.spendform.h_id[i].checked) {
        id = document.spendform.h_id[i].value;
      }
    }
  }

  var cpObj = document.getElementById('compound_percents');
  if (cpObj) {
    while (cpObj.options.length != 0) {
      cpObj.options[0] = null;
    }
  }

  if (cps[id] && cps[id].length > 0) {
    document.getElementById('coumpond_block').style.display = '';

    for (i in cps[id]) {
      cpObj.options[cpObj.options.length] = new Option(cps[id][i]);
    }
  } else {
    document.getElementById('coumpond_block').style.display = 'none';
  }
}
var cps = {};
--><?php echo '</script'; ?>
>


<?php if ($_smarty_tpl->tpl_vars['frm']->value['say'] == 'deposit_success') {?>
<h3>The deposit has been successfully saved.</h3>
<br><br>
<?php }?>

<?php if ($_smarty_tpl->tpl_vars['frm']->value['say'] == 'deposit_saved') {?>
<h3>The deposit has been saved. It will become active when the administrator checks statistics.</h3><br><br>
<?php }?>


<?php if ($_smarty_tpl->tpl_vars['errors']->value) {?>
<?php if ($_smarty_tpl->tpl_vars['errors']->value['less_min']) {?>
Sorry, you can deposit not less than <?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['currency_sign']->value);
echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['errors']->value['less_min']);?>
 with selected processing<br><br>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['errors']->value['greater_max']) {?>
Sorry, you can deposit not greater than <?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['currency_sign']->value);
echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['errors']->value['greater_max']);?>
 with selected processing<br><br>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['errors']->value['ec_forbidden']) {?>
Sorry, deposit with selected processing is temproary forbidden.<br><br>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['errors']->value['cannot_invest_this_plan_anymore']) {?>
Sorry, you cannot invest this plan anymore<br><br>
<?php }?>
<?php }?>
<div class="alert alert-info">Note: For daily plans, you will get profit on working day only (from Monday to Friday)</div>

<br><br>
<form method=post name="spendform">
<input type=hidden name=a value=deposit>
<div class="col-md-12">
                            <div class="cabinet-plans">						


				<label class="cabinet-plans__item">
					<input type="radio" name=h_id value='1' checked>
                                    <div class="plan">
									<div class="plan-icon">
										<svg>
											<use xlink:href="/assets/img/sprite.svg#check"></use>
										</svg>
									</div>
									<div class="plan-percent">10%</div>
									<div class="plan-top">
										<div class="plan-day">
											<svg>
												<use xlink:href="/assets/img/sprite.svg#time"></use>
											</svg>
											<div class="plan-day__num">24</div>
											<div class="plan-day__text">
												<p>After </p>
												<p>Hours</p>
											</div>
										</div>
										
									 </div>  
									 <div class="plan-bot"><div class="plan-info"><span>Min:</span><p>$25</p></div><div class="plan-info"><span>Max:</span><p>$300</p></div></div>

								</div>
				</label>
				<label class="cabinet-plans__item">
					<input type="radio" name=h_id value='2'>
                                    <div class="plan">
									<div class="plan-icon">
										<svg>
											<use xlink:href="/assets/img/sprite.svg#check"></use>
										</svg>
									</div>
									<div class="plan-percent">25%</div>
									<div class="plan-top">
										<div class="plan-day">
											<svg>
												<use xlink:href="/assets/img/sprite.svg#time"></use>
											</svg>
											<div class="plan-day__num">24</div>
											<div class="plan-day__text">
												<p>After </p>
												<p>Hours</p>
											</div>
										</div>
										
									 </div>  
									 <div class="plan-bot"><div class="plan-info"><span>Min:</span><p>$300</p></div><div class="plan-info"><span>Max:</span><p>$10000</p></div></div>

								</div>
				</label>
				<label class="cabinet-plans__item">
					<input type="radio" name=h_id value='3'>
                                    <div class="plan">
									<div class="plan-icon">
										<svg>
											<use xlink:href="/assets/img/sprite.svg#check"></use>
										</svg>
									</div>
									<div class="plan-percent">40%</div>
									<div class="plan-top">
										<div class="plan-day">
											<svg>
												<use xlink:href="/assets/img/sprite.svg#time"></use>
											</svg>
											<div class="plan-day__num">24</div>
											<div class="plan-day__text">
												<p>After </p>
												<p>Hours</p>
											</div>
										</div>
										
									 </div>  
									 <div class="plan-bot"><div class="plan-info"><span>Min:</span><p>$6000</p></div><div class="plan-info"><span>Max:</span><p>$100000</p></div></div>

								</div>
				</label>
				<label class="cabinet-plans__item">
					<input type="radio" name=h_id value='4'>
                                    <div class="plan">
									<div class="plan-icon">
										<svg>
											<use xlink:href="/assets/img/sprite.svg#check"></use>
										</svg>
									</div>
									<div class="plan-percent">55%</div>
									<div class="plan-top">
										<div class="plan-day">
											<svg>
												<use xlink:href="/assets/img/sprite.svg#time"></use>
											</svg>
											<div class="plan-day__num">24</div>
											<div class="plan-day__text">
											<p>After </p>
												<p>Hours</p>
											</div>
										</div>
										
									 </div>  
									 <div class="plan-bot"><div class="plan-info"><span>Min:</span><p>$8000</p></div><div class="plan-info"><span>Max:</span><p>$100,000</p></div></div>

								</div>
				</label>
				<label class="cabinet-plans__item">
					<input type="radio" name=h_id value='5'>
                                    <div class="plan">
									<div class="plan-icon">
										<svg>
											<use xlink:href="/assets/img/sprite.svg#check"></use>
										</svg>
									</div>
									<div class="plan-percent">20%</div>
									<div class="plan-top">
										<div class="plan-day">
											<svg>
												<use xlink:href="/assets/img/sprite.svg#time"></use>
											</svg>
											<div class="plan-day__num">30</div>
											<div class="plan-day__text">
												<p>Dairy For </p>
												<p>Days</p>
											</div>
										</div>
										
									 </div>  
									 <div class="plan-bot"><div class="plan-info"><span>Min:</span><p>$30,000</p></div><div class="plan-info"><span>Max:</span><p>$500,000</p></div></div>

								</div>
				</label>
				<label class="cabinet-plans__item">
					<input type="radio" name=h_id value='6'>
                                    <div class="plan">
									<div class="plan-icon">
										<svg>
											<use xlink:href="/assets/img/sprite.svg#check"></use>
										</svg>
									</div>
									<div class="plan-percent">40%</div>
									<div class="plan-top">
										<div class="plan-day">
											<svg>
												<use xlink:href="/assets/img/sprite.svg#time"></use>
											</svg>
											<div class="plan-day__num">40</div>
											<div class="plan-day__text">
												<p>Dairy For</p>
												<p>Days</p>
											</div>
										</div>
										
									 </div>  
									 <div class="plan-bot"><div class="plan-info"><span>Min:</span><p>$50,000</p></div><div class="plan-info"><span>Max:</span><p>$1000000</p></div></div>

								</div>
				</label>


</div></div>



<label class="cabinet-amount">
<div class="cabinet-refs__title"><svg><use xlink:href="/assets/img/sprite.svg#turn-right"></use></svg>Enter amount</div>
<div class="cabinet-input"><input type="text" name="amount" value="<?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['min_deposit']->value);?>
"><span id="amount_curr">USD</span></div>
</label>


             <!--payment account -->

<div class="main-title">PAYMENT SYSTEM</div>
   <div class="main-subtitle">Select from Account Balance</div>
<div class="cabinet-payment">
   
<?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']['p'])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']['p']);
$_smarty_tpl->tpl_vars['smarty']->value['section']['p']['name'] = 'p';
$_smarty_tpl->tpl_vars['smarty']->value['section']['p']['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['ps']->value) ? count($_loop) : max(0, (int) $_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']['p']['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']['p']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['p']['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['p']['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']['p']['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['p']['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']['p']['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['p']['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']['p']['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['p']['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']['p']['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']['p']['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']['p']['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['p']['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']['p']['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['p']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['p']['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['p']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['p']['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['p']['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']['p']['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']['p']['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']['p']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['p']['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['p']['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['p']['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['p']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['p']['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['p']['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['p']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['p']['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']['p']['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']['p']['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']['p']['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']['p']['total']);
?>
   <?php if ($_smarty_tpl->tpl_vars['ps']->value[$_smarty_tpl->getVariable('smarty')->value['section']['p']['index']]['balance'] > 0 && $_smarty_tpl->tpl_vars['ps']->value[$_smarty_tpl->getVariable('smarty')->value['section']['p']['index']]['status'] == 1) {?>
   <label>
<input class="plan_item" type="radio" name=type value="account_<?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['ps']->value[$_smarty_tpl->getVariable('smarty')->value['section']['p']['index']]['id']);?>
" <?php if ($_smarty_tpl->getVariable('smarty')->value['section']['p']['index'] == 0) {?> checked <?php }?>>
        <div class="cabinet-payment__item">
<div class="cabinet-payment__item-icon">
<img src="/assets/img/<?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['ps']->value[$_smarty_tpl->getVariable('smarty')->value['section']['p']['index']]['id']);?>
.png"/>
</div><p><?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['ps']->value[$_smarty_tpl->getVariable('smarty')->value['section']['p']['index']]['name']);?>
</p>
<div class="cabinet-payment__item-check">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 492 492" id="check"><path d="M484.128 104.478l-16.116-16.116c-5.064-5.068-11.816-7.856-19.024-7.856s-13.964 2.788-19.028 7.856L203.508 314.81 62.024 173.322c-5.064-5.06-11.82-7.852-19.028-7.852-7.204 0-13.956 2.792-19.024 7.852l-16.12 16.112C2.784 194.51 0 201.27 0 208.47c0 7.204 2.784 13.96 7.852 19.028l159.744 159.736c.212.3.436.58.696.836l16.12 15.852c5.064 5.048 11.82 7.572 19.084 7.572h.084c7.212 0 13.968-2.524 19.024-7.572l16.124-15.992c.26-.256.48-.468.612-.684l244.784-244.76c10.5-10.476 10.5-27.52.004-38.008z"></path></svg>
                                            </svg>
                                        </div>
                                    </div>
                                </label>

   <?php }?>
<?php endfor; endif; ?>
</div>

<div class="main-subtitle">Select From Payment System</div>
<div class="cabinet-payment"> 
<?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']['p'])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']['p']);
$_smarty_tpl->tpl_vars['smarty']->value['section']['p']['name'] = 'p';
$_smarty_tpl->tpl_vars['smarty']->value['section']['p']['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['ps']->value) ? count($_loop) : max(0, (int) $_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']['p']['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']['p']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['p']['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['p']['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']['p']['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['p']['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']['p']['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['p']['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']['p']['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['p']['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']['p']['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']['p']['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']['p']['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['p']['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']['p']['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['p']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['p']['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['p']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['p']['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['p']['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']['p']['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']['p']['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']['p']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['p']['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['p']['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['p']['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['p']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['p']['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['p']['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['p']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['p']['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']['p']['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']['p']['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']['p']['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']['p']['total']);
?>
   <?php if ($_smarty_tpl->tpl_vars['ps']->value[$_smarty_tpl->getVariable('smarty')->value['section']['p']['index']]['status']) {?>
<label>
<input class="plan_item" type="radio" name=type value="process_<?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['ps']->value[$_smarty_tpl->getVariable('smarty')->value['section']['p']['index']]['id']);?>
" <?php if ($_smarty_tpl->getVariable('smarty')->value['section']['p']['index'] == 0) {?> checked <?php }?>>
        <div class="cabinet-payment__item">
<div class="cabinet-payment__item-icon">
<img src="/assets/img/<?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['ps']->value[$_smarty_tpl->getVariable('smarty')->value['section']['p']['index']]['id']);?>
.png"/>
</div><p><?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['ps']->value[$_smarty_tpl->getVariable('smarty')->value['section']['p']['index']]['name']);?>
</p>
<div class="cabinet-payment__item-check">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 492 492" id="check"><path d="M484.128 104.478l-16.116-16.116c-5.064-5.068-11.816-7.856-19.024-7.856s-13.964 2.788-19.028 7.856L203.508 314.81 62.024 173.322c-5.064-5.06-11.82-7.852-19.028-7.852-7.204 0-13.956 2.792-19.024 7.852l-16.12 16.112C2.784 194.51 0 201.27 0 208.47c0 7.204 2.784 13.96 7.852 19.028l159.744 159.736c.212.3.436.58.696.836l16.12 15.852c5.064 5.048 11.82 7.572 19.084 7.572h.084c7.212 0 13.968-2.524 19.024-7.572l16.124-15.992c.26-.256.48-.468.612-.684l244.784-244.76c10.5-10.476 10.5-27.52.004-38.008z"></path></svg>
                                            </svg>
                                        </div>
                                    </div>
                                </label>
   <?php }?>
<?php endfor; endif; ?>
   </div></div>
<div class="cabinet-btn-center">
<button class="main-btn" type="submit">Spend</button>
                            </div>

</div>
</div>

</form>

<?php echo '<script'; ?>
 language=javascript>
for (i = 0; i<document.spendform.type.length; i++) {
  if ((document.spendform.type[i].value.match(/^process_/))) {
    document.spendform.type[i].checked = true;
    break;
  }
}
updateCompound();
<?php echo '</script'; ?>
>


<?php }?>


</div>
</div></div>
</div>
</div></div>
</section>
<?php echo $_smarty_tpl->getSubTemplate ("footer2.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0);

}
}
?>