Deposit Template

mail@pastecode.io avatar
unknown
plain_text
2 years ago
23 kB
1
Indexable
Never
{include file="header.tpl"}
<div class="page-top-block">
 <div class="page-top-block-bg"></div>
 {include file="left.tpl"}
 <div class="page-top-block-inner">
  <div class="container">
   <div class="row">
    <div class="col-12">
     <div class="page-top-content-wrapper">
      <div class="page-top-cube">
       <img class="" src="{$settings.siteurl}/{$theme}/assets/images/svg/page-top-cube.svg" alt="">
      </div>
      <div class="page-top-lines">
       <img class="" src="{$settings.siteurl}/{$theme}/assets/images/svg/footer-lines.svg" alt="">
      </div>
      <div class="page-top-content">
       <h1> New Contribution </h1>
       <div class="page-top-descr"> Open new deposits. There are 12 Contribution Strategies to choose from. Choose the best contribution strategy to match your earning potential. Then, choose your convenient cryptocurrency, a contribution plan or offer, and contribute on profitable conditions to start earning today. </div>
      </div>
     </div>
    </div>
   </div>
  </div>
 </div>
</div>

  {if $msg}
    {if $msg.error_balance}
    <h5 class="text-danger">Error! Your balance is insufficient.</h5>
    {/if}
    {if $msg.error_vip}
      <h5 class="text-danger">Error! VIP user only.</h5>
    {/if}
    {if $msg.error_pay_type}
      <h5 class="text-danger">Error! This plan cannot accept this payments.</h5>
    {/if}
    {if $msg.error_deposit_first}
      <h5 class="text-danger">Error! You need to deposit in plan {$msg.error_deposit_first} before deposit in this plan.</h5>
    {/if}
    {if $msg.count_active}
      <h5 class="text-danger">Error! You can only have {$msg.count_active} active plan for this package.</h5>
    {/if}
    {if $msg.min_deposit}
      <h5 class="text-danger">Error! Minimal deposit using this payment is {$settings.cur_sym}{$msg.min_deposit}.</h5>
    {/if}
    {if $msg.max_deposit}
      <h5 class="text-danger">Error! Maximal deposit using this payment is {$settings.cur_sym}{$msg.max_deposit}.</h5>
    {/if}
  {else}
{literal}
<script><!--
  function openCalculator(id)
{

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

{/literal}
  {if $plans > 1}
{literal}
  for (i = 0; i < document.form_deposit.plan_id.length; i++)
  {
    if (document.form_deposit.plan_id[i].value == id)
    {
      document.form_deposit.plan_id[i].checked = true;
      updateCompound();
    }
  }
{/literal}
  {/if}
{literal}

}

function updateCompound() {
  var id = 0;
  var tt = document.form_deposit.plan_id.type;
  if (tt && tt.toLowerCase() == 'hidden') {
    id = document.form_deposit.plan_id.value;
  } else {
    for (i = 0; i < document.form_deposit.plan_id.length; i++) {
      if (document.form_deposit.plan_id[i].checked) {
        id = document.form_deposit.plan_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 = {};
--></script>
{/literal}
<section class="section-new-deposit">
 <div class="container">
  <div class="row">
   <div class="col-12">
    <div class="new-deposit-block">
     <div class="new-deposit-block-bg"></div>
     <div class="new-deposit-diamond">
      <img class="image" src="{$settings.siteurl}/{$theme}/assets/images/svg/diamond-1.svg" alt="">
     </div>
     <div class="new-deposit-content">
      <form method="post" class="new-dep-form depositForm">
        {$token}
       <div class="new-dep-form-fieldset">
        <div class="new-dep-form-fieldset-heading-block">
         <div class="new-dep-form-fieldset-heading-block-left">
          <div class="new-dep-form-fieldset-heading"> 1. Contribution Strategies: <span class="text--purple-gr">10 Companies: Motoroj - DreBrands</span>
          </div>
         </div>
         <div class="new-dep-form-fieldset-heading-block-right">
          <div class="new-dep-form-fieldset-note"></div>
         </div>
        </div>
        <div class="new-dep-form-fieldset-body">
         <div class="strat-radio-items-block">
          <div class="strat-radio-items">
           <div class="strat-radio-item-wrapper">
            <label class="strat-radio-item-label">
             <input type="radio" name="strategy" value="Algo" class="radio" checked="checked">
             <div class="strat-radio-item">
              <div class="strat-radio-item__icon">
               <img class="image" src="{$settings.siteurl}/{$theme}/assets/images/svg/strat-radio-item-icon--algorithmic-trading.svg" alt="">
              </div>
              <div class="strat-radio-item__title"> Motoroj: <br /> Automotive </div>
              <div class="custom-radio-dot"></div>
             </div>
            </label>
           </div>
           <div class="strat-radio-item-wrapper">
            <label class="strat-radio-item-label">
             <input type="radio" name="strategy" value="Prof" class="radio" checked="checked">
             <div class="strat-radio-item">
              <div class="strat-radio-item__icon">
               <img class="image" src="{$settings.siteurl}/{$theme}/assets/images/svg/strat-radio-item-icon--professional-trading.svg" alt="">
              </div>
              <div class="strat-radio-item__title"> Commutica: <br /> Transportation </div>
              <div class="custom-radio-dot"></div>
             </div>
            </label>
           </div>
           <div class="strat-radio-item-wrapper">
            <label class="strat-radio-item-label">
             <input type="radio" name="strategy" value="Cloud" class="radio" checked="checked">
             <div class="strat-radio-item">
              <div class="strat-radio-item__icon">
               <img class="image" src="{$settings.siteurl}/{$theme}/assets/images/svg/strat-radio-item-icon--cloud-mining.svg" alt="">
              </div>
              <div class="strat-radio-item__title"> Carentali: <br /> Car Rental </div>
              <div class="custom-radio-dot"></div>
             </div>
            </label>
           </div>
           <div class="strat-radio-item-wrapper">
            <label class="strat-radio-item-label">
             <input type="radio" name="strategy" value="NFT" class="radio" checked="checked">
             <div class="strat-radio-item">
              <div class="strat-radio-item__icon">
               <img class="image" src="{$settings.siteurl}/{$theme}/assets/images/svg/strat-radio-item-icon--ico-nft-trading.svg" alt="">
              </div>
              <div class="strat-radio-item__title"> Realtayo: <br /> Real Estate </div>
              <div class="custom-radio-dot"></div>
             </div>
            </label>
            </div>
            <div class="strat-radio-item-wrapper">
            <label class="strat-radio-item-label strat-radio-item-label--disabled">
             <input type="radio" name="strategy" value="Algo" class="radio" disabled="disabled">
             <div class="strat-radio-item">
              <div class="strat-radio-item__icon">
               <img class="image" src="{$settings.siteurl}/{$theme}/assets/images/svg/strat-radio-item-icon--algorithmic-trading.svg" alt="">
              </div>
              <div class="strat-radio-item__title"> NexuSpot: <br /> Digital Marketing </div>
              <div class="custom-radio-soon">Soon</div>
             </div>
            </label>
           </div>
           <div class="strat-radio-item-wrapper">
            <label class="strat-radio-item-label strat-radio-item-label--disabled">
             <input type="radio" name="strategy" value="Prof" class="radio" disabled="disabled">
             <div class="strat-radio-item">
              <div class="strat-radio-item__icon">
               <img class="image" src="{$settings.siteurl}/{$theme}/assets/images/svg/strat-radio-item-icon--professional-trading.svg" alt="">
              </div>
              <div class="strat-radio-item__title"> Delivery #6: <br /> Courier/Shipping </div>
              <div class="custom-radio-soon">Soon</div>
             </div>
            </label>
           </div>
           <div class="strat-radio-item-wrapper">
            <label class="strat-radio-item-label strat-radio-item-label--disabled">
             <input type="radio" name="strategy" value="Cloud" class="radio" disabled="disabled">
             <div class="strat-radio-item">
              <div class="strat-radio-item__icon">
               <img class="image" src="{$settings.siteurl}/{$theme}/assets/images/svg/strat-radio-item-icon--cloud-mining.svg" alt="">
              </div>
              <div class="strat-radio-item__title"> Building #7: <br /> Construction </div>
              <div class="custom-radio-soon">Soon</div>
             </div>
            </label>
           </div>
           <div class="strat-radio-item-wrapper">
            <label class="strat-radio-item-label strat-radio-item-label--disabled">
             <input type="radio" name="strategy" value="NFT" class="radio" disabled="disabled">
             <div class="strat-radio-item">
              <div class="strat-radio-item__icon">
               <img class="image" src="{$settings.siteurl}/{$theme}/assets/images/svg/strat-radio-item-icon--ico-nft-trading.svg" alt="">
              </div>
              <div class="strat-radio-item__title"> EduCoup: <br /> Education </div>
              <div class="custom-radio-soon">Soon</div>
             </div>
            </label>
            </div>
            <div class="strat-radio-item-wrapper">
            <label class="strat-radio-item-label strat-radio-item-label--disabled">
             <input type="radio" name="strategy" value="Algo" class="radio" disabled="disabled">
             <div class="strat-radio-item">
              <div class="strat-radio-item__icon">
               <img class="image" src="{$settings.siteurl}/{$theme}/assets/images/svg/strat-radio-item-icon--algorithmic-trading.svg" alt="">
              </div>
              <div class="strat-radio-item__title"> Clothing #9: <br /> Luxury & Fashion </div>
              <div class="custom-radio-soon">Soon</div>
             </div>
            </label>
           </div>
           <div class="strat-radio-item-wrapper">
            <label class="strat-radio-item-label strat-radio-item-label--disabled">
             <input type="radio" name="strategy" value="Prof" class="radio" disabled="disabled">
             <div class="strat-radio-item">
              <div class="strat-radio-item__icon">
               <img class="image" src="{$settings.siteurl}/{$theme}/assets/images/svg/strat-radio-item-icon--professional-trading.svg" alt="">
              </div>
              <div class="strat-radio-item__title"> DreBrands: <br /> Department Store </div>
              <div class="custom-radio-soon">Soon</div>
             </div>
            </label>
            </div>
          </div>
         </div>
        </div>
       </div>
       <div class="new-dep-form-fieldset">
        <div class="new-dep-form-fieldset-heading-block">
         <div class="new-dep-form-fieldset-heading-block-left">
          <div class="new-dep-form-fieldset-heading"> 2. Payments Method: <span class="text--purple-gr advanceCurrencyTitle">{$settings.cur_code|strtoupper}</span>
          </div>
         </div>
         <div class="new-dep-form-fieldset-heading-block-right">
          <div class="new-dep-form-fieldset-note"></div>
         </div>
        </div>
        <div class="new-dep-form-fieldset-body">
         <div class="currency-radio-items-block">
          <div class="currency-radio-items">

{section name=bal loop=$ps_acc}
   {if $ps_acc[bal].balance>0 && $ps_acc[bal].dep_acc_bal}
           <div class="currency-radio-item-wrapper">
            <label class="currency-radio-item-label" onclick="$('.advanceCurrencyTitle').html('{$ps_acc[bal].name}');$('.advanceDepositPayment').addClass('d-none');$('.advanceDepositPayment[data-currency=usdt]').removeClass('d-none');$('.advanceDepositPayment input').prop('checked',false);$('.advanceDepositPayment[data-currency=usdt]:first input').prop('checked',true);changeAmount($('.depositForm'),'usdt',true,true);">
             <input type="radio" name="payment_type" value="wallet_{$ps_acc[bal].ec}" class="radio" checked="checked">
             <div class="currency-radio-item">
              <div class="currency-radio-item__icon">
               <img class="image" src="{$settings.siteurl}/{$theme}/assets/images/payment/{$ps_acc[bal].ec}.png" alt="">
              </div>
              <div class="currency-radio-item__content">
               <div class="currency-radio-item__title"> {$ps_acc[bal].name} </div>
               <div class="currency-radio-item__abbr"> Balance {$settings.cur_sym}{$ps_acc[bal].balance} </div>
              </div>
              <div class="custom-radio-dot"></div>
             </div>
           </div>
    {/if}
{/section}
{section name=bal loop=$ps_acc}
  {if $ps_acc[bal].status}
           <div class="currency-radio-item-wrapper">
            <label class="currency-radio-item-label" onclick="$('.advanceCurrencyTitle').html('{$ps_acc[bal].name}');$('.advanceDepositPayment').addClass('d-none');$('.advanceDepositPayment[data-currency=usdt]').removeClass('d-none');$('.advanceDepositPayment input').prop('checked',false);$('.advanceDepositPayment[data-currency=usdt]:first input').prop('checked',true);changeAmount($('.depositForm'),'usdt',true,true);">
             <input type="radio" name="payment_type" value="{$ps_acc[bal].ec}" class="radio" checked="checked">
             <div class="currency-radio-item">
              <div class="currency-radio-item__icon">
               <img class="image" src="{$settings.siteurl}/{$theme}/assets/images/payment/{$ps_acc[bal].ec}.png" alt="">
              </div>
              <div class="currency-radio-item__content">
               <div class="currency-radio-item__title"> {$ps_acc[bal].name} </div>
               <div class="currency-radio-item__abbr"> Payment </div>
              </div>
              <div class="custom-radio-dot"></div>
             </div>
           </div>
    {/if}
{/section}

          </div>
         </div>
        </div>
       </div>
       <div class="new-dep-form-fieldset">
        <div class="new-dep-form-fieldset-heading-block">
         <div class="new-dep-form-fieldset-heading-block-left">
          <div class="new-dep-form-fieldset-heading"> 3. Contribution Offer: <span class="text--purple-gr advancePlanTitle"></span>
          </div>
         </div>
         <div class="new-dep-form-fieldset-heading-block-right">
          <div class="new-dep-form-fieldset-note"> Profits accrue every second and updated daily </div>
         </div>
        </div>
        <div class="new-dep-form-fieldset-body">
         <div class="inv-plan-radio-items-block">
          <div class="inv-plan-radio-items">
{section name=p loop=$plans}
{foreach from=$plans[p].plan item=p}
           <div class="inv-plan-radio-item-wrapper advancePlanBlock">
            <label class="inv-plan-radio-item-label" onclick="changeAmountByPlan($('.depositForm'))">
             <input type="radio" name="plan_id" value="{$plans[p].id}" class="radio" data-min="{$p.min_deposit}" data-max="{$p.max_deposit}" data-percent="{$p.percent}" data-qdays="{$plans[p].q_days}" data-period="{$plans[p].period}" data-rd="{$plans[p].return_deposit}"/>
             <div class="inv-plan-radio-item advancePlanPercentBlock" data-short="{$p.percent}% daily">
              <div class="inv-plan-radio-item__percent">
               <div class="inv-plan-radio-item__time-text"> {$plans[p].name} </div>
               <span> {$p.percent} <span class="percent">%</span>
               </span>
              </div>
              <div class="inv-plan-radio-item__time">
               <div class="inv-plan-radio-item__time-icon"></div>
               <div class="inv-plan-radio-item__time-text"> {$plans[p].term}</div>
              </div>
              <div class="inv-plan-radio-item__panel">
               <div class="inv-plan-radio-item__params">
                <div class="inv-plan-radio-item__param">
                 <div class="inv-plan-radio-item__param-title">Minimum</div>
                 <div class="inv-plan-radio-item__param-value advanceMinValueBlock">
                  <span class="value">{$p.min_deposit}</span>
                  <span class="currency-name">{$settings.cur_code|strtoupper}</span>
                 </div>
                </div>
                <div class="inv-plan-radio-item__param">
                 <div class="inv-plan-radio-item__param-title"> Maximum </div>
                 <div class="inv-plan-radio-item__param-value advanceMaxValueBlock">
                  <span class="value">{$p.max_deposit}</span>
                  <span class="currency-name">{$settings.cur_code|strtoupper}</span>
                 </div>
                </div>
               </div>
              </div>
              <div class="inv-plan-radio-item__note"> Principal back: <strong>Included in profits returned at maturity</strong>
              </div>
              <div class="custom-radio-dot"></div>
             </div>
            </label>
           </div>
           {/foreach}
            <script>
              cps[{$plans[p].id}] = {$plans[p].compound};
            </script>
    {/section}

           
          </div>
         </div>
        </div>
       </div>
       <div class="new-dep-form-fieldset">
        <div class="new-dep-form-fieldset-heading-block">
         <div class="new-dep-form-fieldset-heading-block-left">
          <div class="new-dep-form-fieldset-heading"> 4. Contribution Amount: <span class="text--purple-gr advanceDepositAmount">10 {$settings.cur_code|strtoupper}</span>
          </div>
         </div>
        </div>
        <div class="new-dep-form-fieldset-body">
         <div class="new-dep-amount-block">
          <div class="new-dep-amount-block-field">
           <div class="field field--input field--amount">
            <div class="field__label">Enter contribution amount</div>
            <input type="text" name="amount_deposit" value="10" placeholder="" onkeyup="changeAmountByAmount($('.depositForm'));" onchange="changeAmountByAmount($('.depositForm'))" autocomplete="off" />
            <div class="field__currency advanceCurrency">{$settings.cur_code|strtoupper}</div>
           </div>
           <div class="new-dep-amount-field-note advanceDepositLimits"> 10 {$settings.cur_code|strtoupper} - Unlimited </div>
          </div>
         </div>
        </div>
       </div>
       <div class="dep-profit-block advanceResultBlock">
        <h4 class="dep-profit-block-title">Return on Contribution</h4>
        <div class="dep-profit-block-body">
         <div class="dep-profit-items-block">
          <div class="dep-profit-items">
            <div class="dep-profit-item-wrapper">
              <div class="dep-profit-item">
                <div class="dep-profit-item__icon">
                  <img class="image" src="{$settings.siteurl}/{$theme}/assets/images/svg/dep-profit-item-icon--interactive.svg" alt="">
                </div>
                <div class="dep-profit-item__content">
                  <div class="dep-profit-item__title">Total return</div>
                  <div class="dep-profit-item__profit">
                    <div class="dep-profit-item__profit-amount advanceResultTotal"></div>
                    <div class="dep-profit-item__profit-currency advanceCurrency">{$settings.cur_code|strtoupper}</div>
                  </div>
                </div>
              </div>
            </div>
           <div class="dep-profit-item-wrapper">
            <div class="dep-profit-item">
             <div class="dep-profit-item__icon">
              <img class="image" src="{$settings.siteurl}/{$theme}/assets/images/svg/dep-profit-item-icon--time-twenty-four.svg" alt="">
             </div>
             <div class="dep-profit-item__content">
              <div class="dep-profit-item__title">Daily return</div>
              <div class="dep-profit-item__profit">
               <div class="dep-profit-item__profit-amount advanceResultDaily"></div>
               <div class="dep-profit-item__profit-currency advanceCurrency">{$settings.cur_code|strtoupper}</div>
              </div>
             </div>
            </div>
           </div>
           <div class="dep-profit-item-wrapper">
            <div class="dep-profit-item">
             <div class="dep-profit-item__icon">
              <img class="image" src="{$settings.siteurl}/{$theme}/assets/images/svg/dep-profit-item-icon--calendar.svg" alt="">
             </div>
             <div class="dep-profit-item__content">
              <div class="dep-profit-item__title">Monthly return</div>
              <div class="dep-profit-item__profit">
               <div class="dep-profit-item__profit-amount advanceResultMonthly"></div>
               <div class="dep-profit-item__profit-currency advanceCurrency">{$settings.cur_code|strtoupper}</div>
              </div>
             </div>
            </div>
           </div>
           <div class="dep-profit-item-wrapper">
            <div class="dep-profit-item">
             <div class="dep-profit-item__icon">
              <img class="image" src="{$settings.siteurl}/{$theme}/assets/images/svg/dep-profit-item-icon--sphere.svg" alt="">
             </div>
             <div class="dep-profit-item__content">
              <div class="dep-profit-item__title">Yearly return</div>
              <div class="dep-profit-item__profit">
               <div class="dep-profit-item__profit-amount advanceResultYearly"></div>
               <div class="dep-profit-item__profit-currency advanceCurrency">{$settings.cur_code|strtoupper}</div>
              </div>
             </div>
            </div>
           </div>
          </div>
         </div>
        </div>
       </div>
       <div class="form-btn-block">
        <input type="hidden" value="do_deposit" name="act">
        <button class="form-btn purple-gr-btn" type="submit">Continue</button>
       </div>
      </form>
     </div>
    </div>
   </div>
  </div>
 </div>
</section>
<script>
 userAction = 'deposit';
</script>
{/if}
{include file="footer.tpl"}