<div class="nk-content">
    <div class="container-xl wide-lg">
        <div class="nk-content-body">
            <div class="nk-block-head">
                <div class="nk-block-head-sub">
                </div>
               <div class="nk-block-between-md g-4 card-bordered">
                   <div class="nk-block-head-content p-1">
                        <marquee  direction="" >
                        <h2 class="nk-block-title fw-normal text-success">PAY FOR GOODS AND SERVICES, TRANSFER MONEY TO FRIENDS AND FAMILY.</h2>
                        </marquee>
                    </div>
                    <div class="nk-block-head-content">
                        <ul class="nk-block-tools gx-3">
                            <!--  <li><a href="deposit-history" class="btn btn-primary"><span>Transaction  History</span> <em class="icon ni ni-invest"></em></a></li>-->
                            <li><a href="index?wire=wire" class="btn text-white btn-secondary"><span> International Transfer</span><em class="icon fa-solid fa-wallet"></em></a></li>
                        </ul>
                    </div>
                </div><!-- .nk-block-between -->
            </div><!-- .nk-block-head -->
        </div>
    </div>
    
    <div class="nk-content nk-content-fluid" >
        <div class="container-xl wide-lg">
            <div class="nk-content-body">
                <div class="buysell wide-xs m-auto">
                    <div class="buysell-title text-center">
                        <h2 class="title">Transfer to Vaultmore Bank Online Account.</h2>
                    </div>
                    <div class="buysell-block">
                        <form action="process/ltransfer.php" method="post" id="tForm" class="buysell-form">
                            <?php
                              if(isset($_SESSION['t_error_c'])){
                                echo "<p style='color:red'>".$_SESSION['t_error_c']."</p>";
                                unset($_SESSION['t_error_c'] );
                              }
                            ?>
                            <div class="buysell-field form-group">
                                <div class="form-label-group">
                                    <label class="form-label">Select Account</label>
                                </div>
                                <input type="hidden" value="<?php echo $user->getBalance('balance',$_SESSION['id']) ?>" name="balance">
                                <div class="dropdown buysell-cc-dropdown">
                                    <div class="buysell-cc-choosen dropdown-indicator" >
                                        <div class="coin-item coin-btc">
                                            <div class="coin-icon">
                                                <em class="icon fa-solid fa-usd"></em>
                                            </div>
                                            <div class="coin-info">
                                                <span class="coin-name">Checking Account (USD)</span>
                                                <span class="coin-text">Available Balance: USD  <?php echo number_format($user->getBalance('balance',$_SESSION['id']))?></span>
                                            </div>
                                        </div>
                                    </div>
                                 
                                </div><!-- .dropdown -->
                            </div><!-- .buysell-field -->
                            <div class="buysell-field form-group">
                                <div id="result2"></div>
                                <div class="form-label-group">
                                    <label class="form-label" for="buysell-amount">Account Number</label>
                                </div>
                                <div class="form-control-group">
                                    <input type="text" class="form-control form-control form-control-number" id="account" name="account" placeholder="Recipient Account Number" required>
                                </div>
                                <!-- <div class="form-note-group">
                                    <div  id="detailB">...</div>
                                </div> -->
                            </div>
                            <div class="buysell-field form-group">
                                <div class="form-label-group">
                                    <label class="form-label" for="buysell-amount">Amount to Transfer</label>
                                </div>
                                <span class="text-left">Daily Transfer Limit:</span>
                                <span class="text-right" style="float:right;">$ 0.00 of $5,000,000.00</span>
                                <div class="form-control-group">
                                    <input type="number" class="form-control form-control form-control-number" id="amount" name="amount" placeholder="2000" required>
                                    <div class="form-dropdown">
                                        <div class="text">USD<span></span></div>
                                    </div>
                                </div>
                                <div class="form-note-group">
                                    <span class="buysell-min form-note-alt">Minimum: 100.00 </span>
                                    <span class="buysell-rate form-note-alt">1 USD =   1 USD</span>
                                </div>
                            </div>
                            <div class="buysell-field form-group">
                            </div><!-- .buysell-field -->
                            <div class="buysell-field form-action">
                                <button type="submit" class="btn btn-lg btn-block btn-primary" id="btn1" >Continue to next step</button>
                            </div><!-- .buysell-field -->
                            <div class="form-note text-base text-center">Note: Transfer charges and taxes are applicable.</div>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
    