   <?php $activePlan = $assist->get_bot_plans($page['plan_id']); ?>
   <div class="page-container">
        <div class="main-content">
            <div class="section-gap">
                <div class="container-fluid">
<!--Page Content-->
                        <div class="row justify-content-center">
        <div class="col-xl-10 col-lg-12 col-md-12">
            <div class="site-card">
                <div class="site-card-header">
                    <h3 class="title">Review and Confirm Plan</h3>
                </div>
                <div class="site-card-body">
                    <form action="/user/schemas" method="post" enctype="multipart/form-data">
                        <div class="progress-steps-form">
                            <div class="transaction-list table-responsive">
                                <table class="table preview-table">
                                    <tbody>
                                    <tr>
                                        <td><strong>Select Bot:</strong></td>
                                        <td>
                                            <div class="input-group mb-0">
                                                <select class="site-nice-select" aria-label="Default select example"
                                                        id="select-schema" name="schema_id" required>
                                             <option value="<?php echo $activePlan['plan_id']; ?>"><?php echo $activePlan['plan_name']; ?></option>
                                                </select>
                                            </div>
                                        </td>
                                    </tr>

                                    <tr>
                                        <td><strong>Bost Cost:</strong></td>
                                        <td id="amount">
                                            <?php echo $activePlan['bot_cost']; ?> USD
                                        </td>
                                    </tr>
                                    <tr>
                                        <td><strong>Select Wallet:</strong></td>
                                        <td>
                                            <div class="input-group mb-0">
                                                <select class="site-nice-select" aria-label="Default select example"
                                                        name="wallet" required id="selectWallet">
                                                    <option
                                                        value="main">Main Wallet ( <?php echo $wallet_balance; ?> USD )
                                                    </option>
                                                </select>
                                            </div>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td><strong>Allow Bot:</strong></td>
                                        <td id="return-interest"><?php echo ($activePlan['allow_bot'])?'True':'False'; ?></td>
                                    </tr>
                                    <tr>
                                        <td><strong>Daily Trade Limit:</strong></td>
                                        <td id="number-period"><?php echo $activePlan['daily_trade'] ?> Daily</td>
                                    </tr>
                                    <tr>
                                        <td><strong>Bot ROI:</strong></td>
                                        <td id="capital_back"><?php echo $activePlan['bot_roi'].' - '.intval($activePlan['bot_roi'])+5; ?>%</td>
                                    </tr>
                                    </tbody>
                                </table>
                            </div>
                            <input type="hidden" name="plan_id" id="plan_id" value="<?php echo $activePlan['plan_id']; ?>">
                            <input type="hidden" name="plan_name" id="plan_name" value="<?php echo $activePlan['plan_name']; ?>">
                            <input type="hidden" name="amount" id="bot_amount" value="<?php echo $activePlan['bot_cost']; ?>">
                            <div class="button">
                                <button type="submit" class="site-btn primary-btn me-3" name="purchase_bot">
                                    <i class="anticon anticon-check"></i>Purchase Bot
                                </button>
                                <a href="/user/schemas" class="site-btn black-btn">
                                    <i class="anticon anticon-stop"></i>Cancel
                                </a>
                            </div>
                        </div>
                    </form>

                </div>
            </div>
        </div>
    </div>
                    <!--Page Content-->
                </div>
            </div>
        </div>
    </div>