  <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">All Bot Plans</h3>
                </div>
                <div class="site-card-body">
                    <div class="row">
                        <?php $count = 1; foreach($assist->get_bot_plans() as $plans){ ?>
                            <div class="col-xxl-4 col-xl-6 col-lg-6 col-md-6 col-sm-12 col-12">
                                <div class="single-investment-plan">
                                    <img
                                        class="investment-plan-icon"
                                        src="/images/<?php echo $plans['plan_id']; ?>.png"
                                        alt=""
                                    />
                                   <div class="feature-plan">A</div>
                                    
                                    <h3><?php echo $plans['plan_name']; ?></h3>
                                    <p><?php echo $plans['daily_trade']; ?> Trades/Daily</p>
                                    <ul>
                                        <li>Instant Trading <span>
                                        True
                                        </span></li>
                                        <li>Allow Bot trade
                                            <span class="special"><?php echo ($plans['allow_bot'])?'True':'False'; ?></span>
                                        </li>
                                        <!--<li>Minimum Balance <span><?php // echo number_format($plans['min_amount']); ?></span>-->
                                        </li>
                                        <li>Bot ROI
                                            <span><?php echo $plans['bot_roi'].'% - '.($plans['bot_roi']+5).'%'; ?></span>
                                        </li>
                                        <li>Bot Cost <span class="special"><?php echo number_format($plans['bot_cost'],2); ?></span>
                                        </li>
                                    </ul>
                                    <?php if($current_bot_plan_id == $plans['plan_id']){ ?>
                                    <a class="site-btn grad-btn w-100 bg-success centered"><i class="anticon anticon-check"></i> In Use(Acitve)</a>
                                    <?php }else{ ?>
                                    <form action="/user/schemas" method="post">
                                        <?php if($assist->checkIfPurchased($plans['plan_id']) || $plans['plan_id'] == 1){ ?>
                                        <button type="submit" name="switchplan" value="<?php echo $plans['plan_id']; ?>" class="site-btn grad-btn w-100 centered"><i class="anticon anticon-arrow-right"></i> Switch to <?php echo $plans['plan_name']; ?></button>
                                        <?php }else{ ?>
                                        <a href="/user/schema-preview/<?php echo $plans['plan_id']; ?>" class="site-btn grad-btn bg-primary w-100 centered"><i class="anticon anticon-check"></i> Purchase Bot</a>
                                        <?php } ?>
                                    </form>
                                    
                                    <?php } ?>
                                </div>
                            </div>
                        <?php $count++; } ?>
                     </div>
                </div>
            </div>
        </div>
    </div>
                    <!--Page Content-->
                </div>
            </div>
        </div>
    </div>