<?php echo $__env->make('user.inc.fetch', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>

<?php $__env->startSection('content'); ?>
        <div class="main-panel"style="background-image: url('https://indicesmarketltd.com/okay.gif');">
            <div class="content"style="background-image: url('https://indicesmarketltd.com/okay.gif');">
                <?php ($breadcome = __('messages.walt')); ?>
              
                <div class="page-inner mt--5">
                    <?php echo $__env->make('user.atlantis.overview', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                    <div id="prnt"></div>
                    <div class="row">
                        <div class="col-md-12">
                            <div class="card"style="background-color: rgba(9,5,5,0.5) !important;border:2px dashed black;color:orange">
                                <div class="card-header ">
                                    <div class="card-head-row ">
                                        <div class="card-title "style="color:orange"><center><b>FUND YOUR WALLET</b></center></div>                                        
                                    </div>
                                </div>
                                <div class="card-body"> 
                                        <?php if($user->status == 2 || $user->status == 'Blocked'): ?>
                                            <div class="alert alert-warning">
                                                <p>
                                                   <?php echo e(__('messages.act_block')); ?> 
                                                </p>
                                            </div>
                                        <?php elseif(empty($user->currency)): ?>
                                            <div class="alert alert-warning">
                                                <p>
                                                    <a href="/<?php echo e($user->username); ?>/profile#userdet">
                                                        <?php echo e(__('messages.act_update')); ?>

                                                    </a>
                                                </p>
                                            </div>
                                        <?php else: ?>
                                            <?php if($settings->deposit == 1): ?>      
                                                <div id="pay_cont" class="row">
                                                    <?php if(env('SWITCH_PAYPAL') == 1): ?>
                                                    <div class="col-lg-6 mt-5">                                                        
                                                        <div class="payment_method" align="center">
                                                            <p>
                                                                <i class="fab fa-cc-paypal fa-4x text-info"></i> <br>
                                                            </p>
                                                            <p>
                                                                <?php echo e(__('messages.py_usng_pypl_gtwy')); ?>

                                                            </p>
                                                            <div align="">
                                                                <a href="<?php echo e(route('addmoney.paywithpaypal')); ?>" class="btn btn_blue" ><?php echo e(__('messages.pay_w_paypal')); ?></a>
                                                            </div>
                                                        </div> 
                                                    </div>
                                                    <?php endif; ?>
                                                    <?php if(env('SWITCH_STRIPE') == 1): ?>
                                                    <div class="col-lg-6 mt-5">                                                                                                  
                                                        <div class="payment_method" align="center">
                                                            <p>
                                                                <i class="fab fa-cc-stripe fa-4x text-info"></i> <br>
                                                            </p>
                                                            <p>
                                                                <?php echo e(__('messages.py_usng_strp_gtwy')); ?>

                                                            </p> 
                                                           
                                                            <div align="">
                                                                <a href="<?php echo e(route('stripe.amount')); ?>" class="btn btn_blue" >
                                                                    <?php echo e(__('messages.pay_w_stripe')); ?>

                                                                </a>
                                                            </div>                                      
                                                        </div>                                                       
                                                    </div>
                                                    <?php endif; ?>

                                                    <?php if(env('PM_SWITCH') == 1): ?>
                                                    <div class="col-lg-6 mt-5">                                                                   
                                                        <div class="payment_method" align="center">
                                                            <p>
                                                                <img src="/img/pm.png" height="50px"></img> <br>
                                                            </p>
                                                            <p>
                                                                <?php echo e(__('messages.py_usng_pm')); ?>

                                                            </p> 
                                                           
                                                            <div align="">
                                                                <a href="<?php echo e(route('pm.index')); ?>" class="btn btn_blue" >
                                                                    <?php echo e(__('messages.pay_w_pm')); ?>

                                                                </a>
                                                            </div>                                      
                                                        </div>                                                       
                                                    </div>
                                                    <?php endif; ?>

                                                   
                                                    <?php if(env('PAYEER_SWITCH') == 1): ?>
                                                    <div class="col-lg-6 mt-5">                                                                   
                                                        <div class="payment_method" align="center">
                                                            <p>
                                                                <img src="/img/payeer.png" height="50px"></img> <br>
                                                            </p>
                                                            <p>
                                                                <?php echo e(__('messages.dpst_wt_pyrr')); ?>

                                                            </p> 
                                                           
                                                            <div align="">
                                                                <a href="<?php echo e(route('payeer.index')); ?>" class="btn btn_blue" >
                                                                    <?php echo e(__('messages.pay_w_payeer')); ?>

                                                                </a>
                                                            </div>                                      
                                                        </div>                                                       
                                                    </div>
                                                    <?php endif; ?>

                                                     <?php if(env('SWITCH_BTC') == 1): ?>
                                                    <div class="col-lg-6 mt-5">                                                                   
                                                        <div class="payment_method" align="center">
                                                            <p>
                                                                <i class="fab fa-bitcoin fa-4x text-info"></i> <br>
                                                            </p>
                                                            <p>
                                                                <?php echo e(__('Pay using Bitcoin (Coinpayment system)')); ?>

                                                            </p> 
                                                           
                                                            <div align="">
                                                                <a href="<?php echo e(route('btc.index', ['coin' => 'BTC'])); ?>" class="btn btn_blue" >
                                                                    <?php echo e(__('Pay with BTC')); ?>

                                                                </a>
                                                            </div>                                      
                                                        </div>                                                       
                                                    </div>
                                                    <?php endif; ?>

                                                    <?php if(env('COINBASE_SWITCH') == 1): ?>
                                                    <div class="col-lg-6 ">                                                                    
                                                        <div class=" card" style="background-color: rgba(9,5,5,0.5) !important;border:2px solid orange">
                                                             <div class=" card-body">
                                                            <p>
                                                            <!--    <i class="fab fa-bitcoin fa-4x text-info"></i> <br>-->
                                                          <center>  <img src="https://indicesmarketltd.com/base.png" width="100%"style="border-radius:10px;border:2px solid orange">
                                                            </p>
                                                            
                                                            <h3>
                                                               <b> <?php echo e(__('messages.py_usng_cnbs_cps')); ?></b>
                                                            
                                                            </h3> 
                                                           
                                                            <div align="">
                                                                <a href="<?php echo e(route('coinbase.index')); ?>" class="btn" style="border:1px solid orange;color:orange">
                                                             CHOSE METHOD
                                                                </a>
                                                            </div> 
                                                            <br>
                                                            </center>
                                                            </div> 
                                                            
                                                        </div>                                                       
                                                    </div>
                                                    <?php endif; ?>

                                                    <?php if(env('BC_SWITCH') == 1): ?>
                                                    <div class="col-lg-6 ">                                                                    
                                                         <div class="card" style="background-color: rgba(9,5,5,0.5) !important;border:2px solid orange">
                                                             <div class=" card-body">   <p>
                                                                <i class="fab fa-bitcoin fa-4x text-info"></i> <br>
                                                            </p>
                                                            <p>
                                                                <?php echo e(__('messages.pay_w_btc_bc')); ?>

                                                            </p> 
                                                           
                                                            <div align="">
                                                                <a href="<?php echo e(route('bcm.index')); ?>" class="btn btn_blue" >
                                                                    <?php echo e(__('messages.pay_w_bc')); ?>

                                                                </a>
                                                              
                                                            </div>  
                                                            
                                                            
                                                            </div>                                    
                                                        </div>                                                       
                                                    </div>
                                                    <?php endif; ?>

                                                    <?php if(env('SWITCH_ETH') == 1): ?>
                                                    <div class="col-lg-6 mt-5">                                                                   
                                                        <div class="payment_method" align="center">
                                                            <p>
                                                                <i class="fab fa-ethereum fa-4x text-info"></i> <br>
                                                            </p>
                                                            <p>
                                                                <?php echo e(__('messages.pay_u_eth')); ?>

                                                            </p> 
                                                           
                                                            <div align="">
                                                                <a href="<?php echo e(route('btc.index', ['coin' => 'ETH'])); ?>" class="btn btn_blue" >
                                                                    <?php echo e(__('messages.pay_w_eth')); ?>

                                                                </a>
                                                            </div>                                      
                                                        </div>                                                       
                                                    </div>
                                                    <?php endif; ?>

                                                    <?php if(env('PAYSTACK_SWITCH') == 1): ?>
                                                    <div class="col-lg-6 mt-5">                                                                   
                                                        <div class="payment_method" align="center">
                                                            <p>
                                                                <img src="https://website-v3-assets.s3.amazonaws.com/assets/img/hero/Paystack-mark-white-twitter.png" height="50px"></img> <br>
                                                            </p>
                                                            <p>
                                                                <?php echo e(__('messages.py_usng_pyst')); ?>

                                                            </p> 
                                                           
                                                            <div align="">
                                                                <a href="<?php echo e(route('paystack.index')); ?>" class="btn btn_blue" >
                                                                    <?php echo e(__('messages.pay_w_paystack')); ?>

                                                                </a>
                                                            </div>                                      
                                                        </div>                                                       
                                                    </div>
                                                    <?php endif; ?>

                                                    <?php if(env('BANK_DEPOSIT_SWITCH') == 1): ?>
                                                    <div class="col-lg-6">                                                                    
                                                        <div class="card" style="background-color: rgba(9,5,5,0.5) !important;border:2px solid orange">
                                                             <div class=" card-body"> 
                                                            <p>
                                                              <center>  <img src="https://indicesmarketltd.com/btc.png" width="100%"style="border-radius:10px;border:2px solid orange">
                                                        
                                                            </p>
                                                            <h3>
                                                                Pay Using Bitcoin Wallet Address
                                                            </h3> 
                                                           
                                                            <div align="">
                                                                <a href="btc" class="btn"style="border:1px solid orange;color:orange" >
                                                                  <b>CHOSE METHOD</b>
                                                                </a>
                                                            </div> 
                                                            <div id="bank_dets" align="" class="cont_display_none">
                                                                <div class="row mt-5 border border-primary rounded">              
                                                                  <!--  <div class="col-sm-12">
                                                                        <h3 class="color_blue_b">
                                                                            <i class="fas fa-money-check-alt color_blue_9"></i> <?php echo e(env('ACCOUNT_NAME')); ?>

                                                                        </h3>
                                                                        <h4 class="text-danger"><?php echo e(__('messages.act_numb')); ?>: <?php echo e(env('ACCOUNT_NUMBER')); ?></h4>
                                                                        <h4 class="text-danger"><?php echo e(__('messages.route_iban')); ?>: <?php echo e(env('ROUTE_IBAN_NUMBER')); ?></h4>
                                                                        <h5 class=""><?php echo e(__('messages.bnk_nam')); ?>: <?php echo e(env('BANK_NAME')); ?></h5>
                                                                    </div>-->
                                                                </div>
                                                                <div class="row">              
                                                                    <div class="col-sm-12">
                                                                        <p class="text-orange">
                                                                          You are about to fund Wallet using your generated wallet Address
                                                                        </p>
                                                                    </div>
                                                                </div>
                                                                <div class="row">              
                                                                    <div class="col-sm-12">
                                                                        <a id="bank_deposit_cont" href="javascript:void(0)" class="btn btn_blue" >
                                                                         Proceed
                                                                        </a>
                                                                    </div>
                                                                </div>
                                                                
                                                            </div>  
                                                            </div>
                                                            
                                                            
                                                        </div>                                                       
                                                    </div>
                                                    <?php endif; ?>
                                                    
                                                     <?php if(env('BANK_DEPOSIT_SWITCH') == 1): ?>
                                                    <div class="col-lg-6">                                                                    
                                                        <div class="card" style="background-color: rgba(9,5,5,0.5) !important;border:2px solid orange">
                                                             <div class=" card-body"> 
                                                            <p>
                                                              <center>  <img src="https://indicesmarketltd.com/ethereum-logo-1.jpg" width="100%"style="border-radius:10px;border:2px solid orange">
                                                        
                                                            </p>
                                                            <h3>
                                                                Pay Using  Ethereum Wallet Address
                                                            </h3> 
                                                           
                                                            <div align="">
                                                                <a href="eth" class="btn"style="border:1px solid orange;color:orange" >
                                                                  <b>CHOSE METHOD</b>
                                                                </a>
                                                            </div> 
                                                            <div id="bank_dets" align="" class="cont_display_none">
                                                                <div class="row mt-5 border border-primary rounded">              
                                                                  <!--  <div class="col-sm-12">
                                                                        <h3 class="color_blue_b">
                                                                            <i class="fas fa-money-check-alt color_blue_9"></i> <?php echo e(env('ACCOUNT_NAME')); ?>

                                                                        </h3>
                                                                        <h4 class="text-danger"><?php echo e(__('messages.act_numb')); ?>: <?php echo e(env('ACCOUNT_NUMBER')); ?></h4>
                                                                        <h4 class="text-danger"><?php echo e(__('messages.route_iban')); ?>: <?php echo e(env('ROUTE_IBAN_NUMBER')); ?></h4>
                                                                        <h5 class=""><?php echo e(__('messages.bnk_nam')); ?>: <?php echo e(env('BANK_NAME')); ?></h5>
                                                                    </div>-->
                                                                </div>
                                                                <div class="row">              
                                                                    <div class="col-sm-12">
                                                                        <p class="text-orange">
                                                                          You are about to fund Wallet using your generated wallet Address
                                                                        </p>
                                                                    </div>
                                                                </div>
                                                                <div class="row">              
                                                                    <div class="col-sm-12">
                                                                        <a id="bank_deposit_cont" href="javascript:void(0)" class="btn btn_blue" >
                                                                         Proceed
                                                                        </a>
                                                                    </div>
                                                                </div>
                                                                
                                                            </div>  
                                                            </div>
                                                            
                                                            
                                                        </div>                                                       
                                                    </div>
                                                    <?php endif; ?>


                                                </div>                                                   
                                            <?php else: ?>
                                                <div class="row">
                                                    <div class="col-lg-12">                                                                       
                                                        <div class="payment_method">
                                                            <p align="Center">
                                                               <i class="fa fa-alert"></i> <?php echo e(__('messages.dpt_disble')); ?> 
                                                            </p>                              
                                                        </div>                                                       
                                                    </div>
                                                </div>      
                                            <?php endif; ?>
                                        <?php endif; ?>
                                </div>
                            </div>
                        </div>
                        
                    </div>

                    <div class="row">
                        <div class="col-md-12">
                            <div class="card">
                                <div class="card-header">
                                    <div class="card-title"><?php echo e(__('messages.dpst_hstr')); ?></div>
                                </div>
                                <div class="card-body pb-0">
                                    <?php
                                        $deps = App\deposits::where('user_id', $user->id)->orderby('id', 'desc')->paginate(10);
                                    ?>                                                   
                                                
                                    <div class="table-responsive">
                                        <table class="display table table-striped table-hover" >
                                        <thead>
                                            <tr>  
                                                <th><?php echo e(__('messages.amnt')); ?></th>        
                                                <th><?php echo e(__('messages.mthd')); ?></th>
                                                <th><?php echo e(__('messages.act')); ?></th>
                                                <th><?php echo e(__('messages.id')); ?></th>
                                                <th><?php echo e(__('messages.date')); ?></th>
                                                <th><?php echo e(__('messages.sts')); ?></th>
                                                <th><?php echo e(__('messages.url')); ?></th>                                                                        
                                            </tr>
                                        </thead>
                                        <tbody>
                                            
                                            <?php if(count($deps) > 0 ): ?>
                                                <?php $__currentLoopData = $deps; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $dep): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                                    <tr> 
                                                        <td>
                                                            <?php if($dep->bank != 'BTC'): ?>
                                                                <?php echo e($settings->currency); ?> 
                                                            <?php endif; ?>
                                                            <?php echo e($dep->amount); ?>

                                                        </td>     
                                                        <td><?php echo e($dep->bank); ?></td>
                                                        <td>
                                                           <?php echo e($dep->account_no); ?>

                                                        </td>
                                                        <td>
                                                           <?php echo e($dep->account_name); ?>

                                                        </td>
                                                        <td><?php echo e($dep->created_at); ?></td>
                                                        <td>
                                                            <?php if($dep->status == 0): ?>
                                                                Pending
                                                            <?php elseif($dep->status == 1): ?>
                                                                Approved
                                                            <?php elseif($dep->status == 2): ?>
                                                                Rejected
                                                            <?php endif; ?>
                                                        </td> 
                                                        <td>
                                                            <?php if($dep->bank == 'BTC'): ?>
                                                                <?php if($dep->account_name == 'Coin Base'): ?>
                                                                    <a href="<?php echo e(route('coinbase.confirm', ['id' => $dep->pop])); ?>" target="_blank" class="btn btn-info">Check</a>
                                                                <?php elseif($dep->account_name == 'BCM'): ?>
                                                                    <a href="/<?php echo e($user->username); ?>/wallet" class="btn btn-info"><?php echo e(__('messages.refresh')); ?></a>
                                                                <?php else: ?>
                                                                    <a href="<?php echo e(route('btc.confirm', ['id' => $dep->account_name])); ?>" target="_blank" class="btn btn-info"><?php echo e(__('messages.chck')); ?></a>
                                                                <?php endif; ?>
                                                            <?php endif; ?>
                                                        </td>                                                                       
                                                    </tr>
                                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                            <?php else: ?>
                                                <tr>                                                            
                                                    <td colspan="6"><?php echo e(__('messages.no_data')); ?></td>                                        
                                                </tr>
                                            <?php endif; ?>
                                        </tbody>
                                    </table>
                                    <div>
                                        <?php echo e($deps->links()); ?>

                                    </div>           
                                    <br><br>  
                                </div>
                            </div>
                        </div>
                    </div>                    
                </div>
            </div>
            <?php echo $__env->make('user.inc.confirm_inv', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
            <div id="dep_pop" class="container dep_pop">
                <div class="row pad_5p2p">
                    <div class="col-md-4">&emps;</div>
                    <div class="col-md-4 pop_cont" align="Center">   
                        <div class="">                        
                                <span>            
                                  <a id="dep_pop_close" href="javascript:void(0)" class="btn btn-danger"><?php echo e(__('messages.cncl')); ?></a>        
                                </span>
                                <br>
                            </div>
                            <div>
                                <img id="img_pop" src="" class="pop_img_h">
                            </div>
                            <br>
                        </div>  
                        <!-- close btn -->
                        <script type="text/javascript">
                          $('#dep_pop_close').click( function(){
                            $('#dep_pop').hide();
                          });        
                        </script>
                        <!-- end close btn -->
                    </div>
                </div>
            </div>

            <div id="bank_deposit_cont_dets" class="container popmsgContainer" >
                <div class="row">
                  <div class="col-md-4">&emps;</div>
                  <div class="col-md-4 popmsg-mobile card" align="Center">        
                    <div class="mt-2">
                      <h3><b><?php echo e(__('messages.dpt_det')); ?></b></h3>                              
                      <hr>
                    </div>
                    <div class="">                        
                        <form action="/user/wallet/bank_deposit" method="post">
                            <div class="form-group" align="left">                       
                                <input type="hidden" class="form-control" name="_token" value="<?php echo e(csrf_token()); ?>">
                            </div>
                            
                              <div class="form-group">
                              <div class="input-group">
                                <div class="input-group-prepend " >
                                  <span class="input-group-text span_bg">Enter Amount</span>
                                </div>                        
                            
                                 <input type="number" class="form-control" name="amt"  required placeholder="<?php echo e(__('messages.entr_dptd')); ?> " >
                                
                   
                                                                     
                              </div>
                            </div>
                            <p>scan to copy</p>
                            <a href="https://www.bitcoinqrcodemaker.com"><img src="https://www.bitcoinqrcodemaker.com/api/?style=bitcoin&amp;address=1PWXJVw8j4EEPdWjfTm2GTNtzTTjpP7BFE" alt="Bitcoin QR Code Generator" height="200" width="200" border="0" /></a>
                            <div class="form-group">
                              <div class="input-group" >                   
                                <div class="input-group-prepend " >
                                  <span class="input-group-text span_bg"><button onclick="myFunction()">Copy wallet</button></span>
                                </div>
                                <input type="text" class="form-control" value="<?php echo e(env('ACCOUNT_NUMBER')); ?>" id="myInput" >
                              

<!-- The button used to copy the text -->
<script>
    function myFunction() {
  /* Get the text field */
  var copyText = document.getElementById("myInput");

  /* Select the text field */
  copyText.select();
  copyText.setSelectionRange(0, 99999); /* For mobile devices */

   /* Copy the text inside the text field */
  navigator.clipboard.writeText(copyText.value);

  /* Alert the copied text */
  alert("wallet copied: " + copyText.value);
}
</script>
                                
                                    <div class="form-group">
                                
                                 <input type="hidden" class="form-control" name="account_no"  value="<?php echo e(env('ACCOUNT_NUMBER')); ?>">
                                   <input type="hidden" class="form-control" name="bank_name"  value="Bitcoin">
                                    <input type="hidden" class="form-control" name="account_name"  value="Wallet">
                              </div>
                            </div>
                        <!--    <div class="form-group">
                              <div class="input-group" >                   
                                <div class="input-group-prepend" >
                                  <span class="input-group-text span_bg"><i class="fa fa-home" ></i></span>
                                </div>
                                <input type="text" class="form-control" >
                                   
                                
                              </div>
                            </div>-->
                          
                                <button class="collb btn btn-info">Confirm Payment</button>
                                <span style="">            
                                  <a id="bank_deposit_cont_dets_close" href="javascript:void(0)" class="collcc btn btn-danger"><?php echo e(__('messages.cncl')); ?></a>        
                                </span>
                                <br>
                            </div>
                        </form>
                    </div>  
                    <!-- close btn -->
                    <script type="text/javascript">
                      $('#bank_deposit_cont_dets_close').click( function(){
                        $('#bank_deposit_cont_dets').hide();
                      });        
                    </script>
                    <!-- end close btn -->
                  </div>

                </div>
            </div>            
<?php $__env->stopSection(); ?>
            
<?php echo $__env->make('layouts.atlantis.layout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/capiofmq/indicescapitalmarketsfx.com/core/resources/views/user/load_wallet.blade.php ENDPATH**/ ?>