<?php $__env->startSection('content'); ?>
<link rel="stylesheet" href="<?php echo e(asset('static/index/v1/css/index.css')); ?>">
<link rel="stylesheet" href="<?php echo e(asset('static/index/v1/css/swiper/swiper.min.css')); ?>">

    <body>
        <img src="<?php echo e(asset('uploads/material/logo.png')); ?>" class="logo" alt="">
        <a href="<?php echo e($general->telegram_chat_id); ?>" class="kfimg" style="z-index: 999">
            <img src="<?php echo e(asset('uploads/material/kf.png')); ?>" alt="">
        </a>
        <input type="hidden" id="TOKEN" value="eeed7729cd324d7eb3098ee649a02b76">
        <div class="centeritem">
            <div class="bannercontent">
                <div
                    class="swiper-container swiper-container2 swiper-initialized swiper-horizontal swiper-android swiper-backface-hidden">
                    <div class="swiper-wrapper" id="swiper-wrapper-1efb3295f8c6d70c" aria-live="off"
                        style="transition-duration: 0ms; transform: translate3d(-1284px, 0px, 0px);">
                        <div class="swiper-slide swiper-slide-duplicate swiper-slide-next swiper-slide-duplicate-prev"
                            data-swiper-slide-index="2" role="group" aria-label="3 / 3" style="width: 321px;">
                            <a href="javascript:;">
                                <img src="<?php echo e(asset('uploads/material/20250412/96d4787658a8a573c1ee17f25f56f3a7.png')); ?>"
                                    alt="">
                            </a>
                        </div>
                        <div class="swiper-slide swiper-slide-duplicate-active" data-swiper-slide-index="0" role="group"
                            aria-label="1 / 3" style="width: 321px;">
                            <a href="<?php echo e(route('user.company')); ?>">
                                <img src="<?php echo e(asset('uploads/material/20250412/2be56d30651c31da5284fdbe4001ea53.png')); ?>"
                                    alt="">
                            </a>
                        </div>
                        <div class="swiper-slide" data-swiper-slide-index="1" role="group" aria-label="2 / 3"
                            style="width: 321px;">
                            <a href="javascript:;">
                                <img src="<?php echo e(asset('uploads/material/20250412/1a82b903abe90e272d03b5ef40147b8d.png')); ?>"
                                    alt="">
                            </a>
                        </div>
                        <div class="swiper-slide swiper-slide-prev swiper-slide-duplicate-next" data-swiper-slide-index="2"
                            role="group" aria-label="3 / 3" style="width: 321px;">
                            <a href="javascript:;">
                                <img src="<?php echo e(asset('uploads/material/20250412/96d4787658a8a573c1ee17f25f56f3a7.png')); ?>"
                                    alt="">
                            </a>
                        </div>
                        <div class="swiper-slide swiper-slide-duplicate swiper-slide-active" data-swiper-slide-index="0"
                            role="group" aria-label="1 / 3" style="width: 321px;">
                            <a href="<?php echo e(route('user.company')); ?>">
                                <img src="<?php echo e(asset('uploads/material/20250412/2be56d30651c31da5284fdbe4001ea53.png')); ?>"
                                    alt="">
                            </a>
                        </div>
                    </div>
                    <div
                        class="swiper-pagination swiper-pagination-clickable swiper-pagination-bullets swiper-pagination-horizontal">
                        <span class="swiper-pagination-bullet swiper-pagination-bullet-active" tabindex="0" role="button"
                            aria-label="Go to slide 1" aria-current="true"></span><span class="swiper-pagination-bullet"
                            tabindex="0" role="button" aria-label="Go to slide 2"></span><span
                            class="swiper-pagination-bullet" tabindex="0" role="button"
                            aria-label="Go to slide 3"></span>
                    </div>
                    <span class="swiper-notification" aria-live="assertive" aria-atomic="true"></span>
                </div>
                <div class="flex_be">
                    <div class="balance">
                        <img class="userbg" src="<?php echo e(asset('uploads/material/userbg.png')); ?>" alt="">
                        <div class="userinfo">
                            <p class="userid">ID <span>|</span> <?php echo e($user->mobile); ?></p>
                            <p class="userbalance">Total Balance</p>
                            <h5 class="usermoney"><?php echo e($general->cur_sym); ?><?php echo e(number_format($user->bonus_balance)); ?></h5>
                            <div class="returnbox">
                                <p>Investment Return</p>
                                <span class="all_product_money"><?php echo e($general->cur_sym); ?><?php echo e(number_format($totalInvest)); ?></span>
                                <div class="linebar"></div>
                                <p>My Commission</p>
                                <span class="all_profit_money"><?php echo e($general->cur_sym); ?><?php echo e($user->total_earnings); ?></span>
                            </div>
                        </div>
                    </div>
                    <div class="sharebox copy-href"
                        data-clipboard-text="<?php echo e(route('home')); ?>?invite_code=<?php echo e(auth()->user()->ref_code); ?>">
                        <img src="<?php echo e(asset('uploads/material/share.png')); ?>" alt="">
                        <!-- <p class="www">https://www.photowattvip.lat/?ref=E2nloq</p> -->
                        <p class="shareit">Copy your exclusive link and share it</p>
                    </div>
                </div>
            </div>
        </div>
        <div class="productlist">
            <div class="centeritem">
                <p class="product">Product</p>
                <ul class="flex_be">


                    <?php $__currentLoopData = $plans; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $plan): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <li class="goodslist">
                            <div class="goodsimgbox">
                                <img src="<?php echo e(asset('uploads/20250412/041b9ec32857c4ede375a35fe74d1517.png')); ?>"
                                    alt="">
                                <div class="name_r">
                                    <p><?php echo e($plan->name); ?></p>
                                </div>
                            </div>
                            <p class="price">Price</p>
                            <h5><?php echo e($general->cur_sym); ?><?php echo e(number_format($plan->min_amount)); ?></h5>
                            <p class="duration">Duration <span><?php echo e($plan->total_return); ?> </span> days </p>
                            <div class="flex_be">
                                <div>
                                    <p class="daily">Daily <br> Return</p>
                                </div>
                                <p class="price_num"><?php echo e($general->cur_sym); ?><?php echo e(number_format($plan->interest_amount)); ?>

                                </p>
                            </div>
                            <div class="line"></div>
                            <div class="flex_be">
                                <div>
                                    <p class="daily">Total <br> Return</p>
                                </div>
                                <p class="price_num">
                                    <?php echo e($general->cur_sym); ?><?php echo e(number_format($plan->total_return * $plan->interest_amount)); ?>

                                </p>
                            </div>
                            <a class="flex_cen buybtn" href="<?php echo e(route('user.invest.info',$plan->id)); ?>">
                                Buy
                                <img src="<?php echo e(asset('uploads/material/to.png')); ?>" alt="">
                            </a>
                            <div class="statustips">
                                <img src="<?php echo e(asset('uploads/material/tips.png')); ?>" alt="">
                                <div class="roi">
                                    <h4><?php echo e(round(($plan->interest_amount / $plan->min_amount) * 100)); ?>%</h4>
                                    <p>Daily ROI</p>
                                </div>
                            </div>
                        </li>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>



                </ul>
            </div>
        </div>
        <div class="footercontent">
            <p class="our">Our</p>
            <a class="flex_sta" href="<?php echo e(route('user.company')); ?>">
                <div class="pointbox">#</div>
                <p>About Us</p>
            </a>
            <a class="flex_sta" href="<?php echo e(route('user.rules')); ?>">
                <div class="pointbox">#</div>
                <p>FAQ</p>
            </a>
            <a class="flex_sta" href="<?php echo e($general->telegram_api_token); ?>">
                <div class="pointbox">#</div>
                <p>Contact Us</p>
            </a>
            <a class="flex_sta" href="<?php echo e($general->telegram_chat_id); ?>">
                <div class="pointbox">#</div>
                <p>Subscribe To Our Channel</p>
            </a>
            <img class="footerlogo" src="<?php echo e(asset('uploads/material/logo.png')); ?>" alt="">
            <p class="ans">Entreprise française, fabricant de panneaux photovoltaïques depuis 1979 et filiale du groupe
                EDF. Photowatt est un leader du Bilan Carbone et pionnier de l’industrie solaire depuis plus de 40 ans.</p>
            <img class="fabimg" src="<?php echo e(asset('uploads/material/fab.png')); ?>" alt="">
            <p class="copyright_index">© <?php echo e(date('Y')); ?> <?php echo e($general->sitename); ?></p>
        </div>




        <div class="footer flex_be">
            <a href="<?php echo e(route('user.home')); ?>" class="on">
                <img src="<?php echo e(asset('uploads\material\20250411\95e777a062380e0be891632581e8280f.png')); ?>" alt="">
                <p>Home</p>
            </a>
            <a href="<?php echo e(route('user.investment.log')); ?>">
                <img src="<?php echo e(asset('uploads\material\20250411\d6c4a41a832f1a3372d4d80ecfbd0ce3.png')); ?>" alt="">
                <p>Order</p>
            </a>
            <a href="<?php echo e(route('user.profile.setting')); ?>">
                <img src="<?php echo e(asset('uploads\material\20250411\d6c4a41a832f1a3372d4d80ecfbd0ce3.png')); ?>" alt="">
                <p>Me</p>
            </a>

        </div>

        <script>
            var swiper1 = new Swiper('.swiper-container2', {
                speed: 500,
                loop: true,
                pagination: {
                    el: ".swiper-pagination",
                    clickable: true,
                },
                autoplay: true
            });

            $(function() {
                getHeaderCount();

                $('.okbtn').click(function() {
                    $('.coverbg').hide()
                    $('.windbox').slideToggle(200)
                })
                $('.closeimg').click(function() {
                    $('.coverbg').hide()
                    $('.windbox').slideToggle(200)
                })
            })
        </script>


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

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