<?php $__env->startSection('content'); ?>


        <div class="home-wrap">

            <div class="bg">
                <div class="top">
                    <img src="<?php echo e(asset('core/img/user.png')); ?>" alt="">
                    <span>Hello，<?php echo e(auth()->user()->mobile); ?></span>
                    <i onclick="onJump('')" class="kf"></i>
                </div>
            </div>
            <div class="kp">
                <p>
                    <span>Main Balance(<?php echo e($general->cur_text); ?>)</span>
                    <span>Profit Balance(<?php echo e($general->cur_text); ?>)</span>
                </p>
                <p>
                    <span class="bold"><?php echo e(number_format($user->balance)); ?> </span>
                    <span class="bold"><?php echo e(number_format($user->bonus_balance)); ?></span>
                </p>
            </div>
            <ul class="moun">
                <li onclick="onJump('<?php echo e(route('user.deposit')); ?>')">
                    <img src="<?php echo e(asset('core/img/rec.png')); ?>" alt="">
                    <p>Recharge</p>
                </li>
                <li onclick="onJump('<?php echo e(route('user.withdraw')); ?>')">
                    <img src="<?php echo e(asset('core/img/wit.png')); ?>" alt="">
                    <p>Withdrawal</p>
                </li>
                <li onclick="onJump('<?php echo e(route('user.investment.log')); ?>')">
                    <img src="<?php echo e(asset('core/img/bank.png')); ?>" alt="">
                    <p>Finance</p>
                </li>
                <li onclick="onJump('#')">
                    <img src="<?php echo e(asset('core/img/suppo.png')); ?>" alt="">
                    <p>Telegram</p>
                </li>
            </ul>



            <img src="<?php echo e(asset('core/img/ws.png')); ?>" width="385" alt="" style="width:100%;">


            <h3 class="title textbg">Coin Center</h3>

            <ul class="list">


                <?php $__currentLoopData = $plans; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $plan): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <li class="item">
                    <div class="topb">
                        <div class="pic">
                            <img src="<?php echo e(asset('core/img/plan.jpg')); ?>" alt="">
                        </div>
                        <div class="right">
                            <h3><?php echo e($plan->name); ?></h3>
                            <h5><b> ₦<?php echo e(number_format($plan->min_amount)); ?>

                                </b> <span>/ <?php echo e($plan->total_return); ?> Day
                                </span></h5>
                            <p>
                                <img src="<?php echo e(asset('core/img/qq.png')); ?>" alt="" srcset="">
                                <span>Daily income</span>
                                <b> ₦<?php echo e(number_format($plan->interest_amount)); ?></b>
                            </p>

                            <p>
                                <img src="<?php echo e(asset('core/img/sy.png')); ?>" alt="" srcset="">
                                <span>Cycle of return</span>
                                <b><?php echo e($plan->total_return); ?> Days
                                </b>
                            </p>

                            <p>
                                <img src="<?php echo e(asset('core/img/jb.png')); ?>" alt="" srcset="">
                                <span>Total income</span>
                                <b> ₦<?php echo e(number_format($plan->interest_amount * $plan->total_return)); ?>

                                </b>
                            </p>
                        </div>
                    </div>

                    <form action="<?php echo e(route('user.investment')); ?>" method="post">
                        <input
                            type="hidden" name="id" value="<?php echo e($plan->id); ?>">
                        <input type="hidden" name="wallet_type" value="deposit_wallet">





                        <!--<center>-->
                        <!--        <button>-->
                        <!--    	 <div class="btn test"    >Invest Now</div>-->
                        <!--	 	</button>-->
                        <!--	 </center>-->


                        <style>
                            .test {
                                height: 200px;
                                width: 300px;
                            }
                        </style>
                        <center>


                            <button type="submit" style="border: none;" class="btn test">Invest Now</button>

                        </center>
                    </form>
                </li>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>



            </ul>

            <!-- 购买弹窗 -->


            <div class="btn">


            </div>
        </div>



<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.users', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /Applications/AMPPS/www/forge/core/resources/views/templates/basic/user/dashboard.blade.php ENDPATH**/ ?>