   <div class="page-container">
        <div class="main-content">
            <div class="section-gap">
                <div class="container-fluid">
<!--Page Content-->
                        <div class="row">
        <div class="col-xl-12">
            <div class="site-card">
                <div class="site-card-header">
                    <h3 class="title">Send Money - <?php echo explode(',', $GLOBALS['toast_alert'])[0]; ?></h3>
                    <div class="card-header-links">
                        <a href="/user/send-money/log"
                           class="card-header-link">SEND MONEY LOG</a>
                    </div>
                </div>
                <?php if(explode(',', $GLOBALS['toast_alert'])[0] == false || explode(',', $GLOBALS['toast_alert'])[0] == "'error'"){ ?>
                <div class="site-card-body">
                    <div class="progress-steps">
                        <div class="single-step current">
                            <div class="number">01</div>
                            <div class="content">
                                <h4>Payment Details</h4>
                                <p>Enter your Payment details</p>
                            </div>
                        </div>
                        <div class="single-step ">
                            <div class="number">02</div>
                            <div class="content">
                                <h4>Success</h4>
                                <p>Successfully Payment</p>
                            </div>
                        </div>
                    </div>
                    
    <div class="progress-steps-form">
        <form action="/user/send-money" method="post">
                       <div class="row">
                <div class="col-xl-6 col-md-12">
                    <label for="exampleFormControlInput1" class="form-label">User Email</label>
                    <div class="input-group">
                        <input type="email" name="email" required class="form-control userCheck"
                               placeholder="User Email">
                    </div>
                    <div class="input-info-text notifyUser"></div>
                </div>
                <div class="col-xl-6 col-md-12">
                    <label for="exampleFormControlInput1" class="form-label">Enter Amount</label>
                    <div class="input-group">
                        <input type="number" class="form-control sendAmount" name="amount" min="5" max="<?php echo $wallet_balance; ?>" required
                               placeholder="Enter Amount" aria-label="Amount"
                               oninput="this.value = validateDouble(this.value)" aria-describedby="basic-addon1">
                        <span class="input-group-text" id="basic-addon1">USD</span>
                    </div>
                    <div
                        class="input-info-text">Minimum 10 USD and Maximum 500,000 USD</div>
                </div>
                <div class="col-xl-12 col-md-12 mt-3">
                    <label for="exampleFormControlInput1"
                           class="form-label">Send Money Note (Optional)</label>
                    <div class="input-group">
                        <textarea class="form-control-textarea" placeholder="Send Money Note" maxlength="99" name="note"></textarea>
                    </div>
                </div>
            </div>
            <div class="transaction-list table-responsive">
                <div class="user-panel-title">
                    <h3>Send Money Details</h3>
                </div>
                <table class="table">
                    <tbody>
                    <tr>
                        <td><strong>Payment Amount</strong></td>
                        <td><span class="previewAmount"></span> USD</td>
                    </tr>
                    <tr>
                        <td><strong>Charge</strong></td>
                        <td><span class="previewCharge"></span> USD</td>
                    </tr>
                    <tr>
                        <td><strong>User Email</strong></td>
                        <td class="userEmail"></td>
                    </tr>
                    </tbody>
                </table>
            </div>

            <div class="buttons">
                <button type="submit" name="send_funds" class="site-btn blue-btn">
                    Send Money<i class="anticon anticon-double-right"></i>
                </button>
            </div>
        </form>

    </div>

                </div>
                <?php }else{ $data = explode(':',trim(explode(',', $GLOBALS['toast_alert'])[2],"'")); ?>
                    <div class="site-card-body">
                    <div class="progress-steps">
                        <div class="single-step current">
                            <div class="number">01</div>
                            <div class="content">
                                <h4>Wallet Details</h4>
                                <p>Enter your Wallet details</p>
                            </div>
                        </div>
                        <div class="single-step current">
                            <div class="number">02</div>
                            <div class="content">
                                <h4>Success</h4>
                                <p>Success Your Exchange Money Process</p>
                            </div>
                        </div>
                    </div>
                        <div class="progress-steps-form">
        <div class="transaction-status centered">
            <div class="icon success">
                <i class="anticon anticon-check"></i>
            </div>
            <h2>$<?php echo $data[1]; ?> Fund Transferred Successfully</h2>
            <p><?php echo $data[2]; ?></p>
            <p>Transaction ID: <?php echo $data[0]; ?> </p>
            <a href="/user/wallet-exchange" class="site-btn">
                <i class="anticon anticon-plus"></i>Send Money again
            </a>
        </div>
    </div>
                </div>
                <?php } ?>
            </div>
        </div>
    </div>
                    <!--Page Content-->
                </div>
            </div>
        </div>
    </div>