shell bypass 403

GrazzMean Shell

Uname: Linux peekpos.com 6.8.0-1060-aws #63~22.04.1-Ubuntu SMP Tue Jun 30 02:32:53 UTC 2026 x86_64
Software: Apache
PHP version: 8.3.25 [ PHP INFO ] PHP os: Linux
Server Ip: 47.130.192.226
Your Ip: 10.1.31.86
User: www (1001) | Group: www (1001)
Safe Mode: OFF
Disable Function:
passthru,putenv,chroot,chgrp,chown,shell_exec,popen,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv

name : 0a9e3c159c853bdf1cd1a1c4ab8735a7.php
<!doctype html>
<html lang="en" dir="<?php echo e(session('direction') == 2 ? 'rtl' : 'ltr'); ?>" class="light">

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width,initial-scale=1">
    <meta property="og:title" content="<?php echo e(@helper::appdata()->og_title); ?>" />
    <meta property="og:description" content="<?php echo e(@helper::appdata()->og_description); ?>" />
    <meta property="og:image" content='<?php echo e(helper::image_path(@helper::appdata()->og_image)); ?>' />

    <script>
        const theme = localStorage.getItem('theme');
        if (theme === 'dark') {
            document.documentElement.classList.add('dark');
        } else {
            document.documentElement.classList.add('light');
        }
    </script>


    <title> <?php echo e(@helper::appdata()->title); ?> <?php echo $__env->yieldContent('page_title'); ?></title>
    <link rel="icon" href="<?php echo e(helper::image_path(@helper::appdata()->favicon)); ?>"><!-- Favicon -->
    <link rel="stylesheet" href="<?php echo e(url(env('ASSETSPATHURL') . 'web-assets/css/bootstrap.min.css')); ?>">
    <!-- Bootstrap CSS -->
    <link rel="stylesheet" href="<?php echo e(url(env('ASSETSPATHURL') . 'web-assets/css/owl_carousel/owl.carousel.min.css')); ?>">
    <!-- owl-carousel css -->
    <link rel="stylesheet"
        href="<?php echo e(url(env('ASSETSPATHURL') . 'web-assets/css/owl_carousel/owl.theme.default.min.css')); ?>">
    <!-- owl-carousel css -->
    <link rel="stylesheet" href="<?php echo e(url(env('ASSETSPATHURL') . 'web-assets/css/font_awesome/all.css')); ?>">
    <!-- Font Awesome CSS -->
    <!-- COMMON-CSS -->
    <link rel="stylesheet" href="<?php echo e(url(env('ASSETSPATHURL') . 'admin-assets/assets/css/toastr/toastr.min.css')); ?>">
    <!-- Toastr CSS -->
    <link rel="stylesheet"
        href="<?php echo e(url(env('ASSETSPATHURL') . 'admin-assets/assets/css/sweetalert/sweetalert2.min.css')); ?>">
    <!-- Sweetalert CSS -->
    <link rel="stylesheet" href="<?php echo e(url(env('ASSETSPATHURL') . 'web-assets/css/style.css')); ?>"><!-- Custom CSS -->
    <link rel="stylesheet" href="<?php echo e(url(env('ASSETSPATHURL') . 'web-assets/css/responsive.css')); ?>">
    <!-- Media Query Resposive CSS -->
    <meta name="csrf-token" content="<?php echo e(csrf_token()); ?>" />
    <!-- pwa -->
    <?php if(@helper::checkaddons('pwa')): ?>
        <?php if(helper::appdata()->pwa == 1): ?>
            <?php echo $__env->make('web.pwa.pwa', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
        <?php endif; ?>
    <?php endif; ?>
    <!-- pwa -->
    <!-- pixel -->
    <?php if(@helper::checkaddons('pixel')): ?>
        <?php echo $__env->make('web.pixel.pixel', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
    <?php endif; ?>
    <!-- pixel -->
    <style>
        :root {
            --bs-primary: <?php echo e(helper::appdata()->web_primary_color); ?>;
            --bs-secondary: <?php echo e(helper::appdata()->web_secondary_color); ?>;
        }
    </style>
    <?php echo $__env->yieldContent('styles'); ?>
</head>

<body>

    <main id="main-content">
        <div class="wrapper">
            <input type="hidden" name="hdnsession" id="hdnsession" value="<?php echo e(session()->get('direction')); ?>">
            <?php echo $__env->make('web.layout.header', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
            <div class="content-wrapper">
                <?php echo $__env->yieldContent('content'); ?>
                <?php echo $__env->make('web.layout.footer', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>

                <?php if(@helper::checkaddons('sales_notification')): ?>
                    <?php echo $__env->make('web.sales_notification', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                <?php endif; ?>

                <!-- whatsapp chat -->
                <?php if(@helper::checkaddons('whatsapp_message')): ?>
                    <?php if(@whatsapp_helper::whatsapp_message_config()->whatsapp_chat_on_off == 1): ?>
                        <div
                            class="<?php echo e(whatsapp_helper::whatsapp_message_config()->whatsapp_mobile_view_on_off == 1 ? 'd-block' : 'd-lg-block d-none'); ?>">
                            <?php echo $__env->make('web.whatsapp_chat', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                        </div>
                    <?php endif; ?>
                <?php endif; ?>

                <!-- Quick call -->
                <?php if(@helper::checkaddons('quick_call')): ?>
                    <?php if(@helper::appdata()->quick_call == 1): ?>
                        <div
                            class="<?php echo e(helper::appdata()->quick_call_mobile_view_on_off == 1 ? 'd-block' : 'd-lg-block d-none'); ?>">
                            <?php echo $__env->make('web.quick_call', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                        </div>
                    <?php endif; ?>
                <?php endif; ?>
            </div>
        </div>
    </main>
    <!-- Modal Item Details -->
    <div class="modal modalitemdetails" id="modalitemdetails" tabindex="-1" aria-labelledby="exampleModalLabel"
        aria-hidden="true">
        <div class="modal-dialog modal-md modal-dialog-centered">
            <div class="modal-content" id="viewproduct_body">

            </div>
        </div>
    </div>


    <div class="modal" id="modal_selected_addons" tabindex="-1" aria-labelledby="selected_addons_Label"
        aria-hidden="true">
        <div class="modal-dialog modal-dialog-centered">
            <div class="modal-content">
                <div class="modal-header justify-content-between">
                    <h5 class="modal-title color-changer fw-500" id="selected_addons_Label"></h5>
                    <button type="button" class="bg-transparent border-0 m-0" data-bs-dismiss="modal"
                        aria-label="Close">
                        <i class="fa-regular fa-xmark fs-5 color-changer"></i>
                    </button>
                </div>
                <div class="modal-body p-0 extra-variation-modal">
                    <ul
                        class="list-group list-group-flush p-0 <?php echo e(session()->get('direction') == 2 ? 'text-right' : 'text-left'); ?>">
                    </ul>

                    <!-- Variants -->
                    <div class="p-3">
                        <div id="item-variations" class="">

                        </div>
                        <!-- Extras -->
                        <div id="item-extras" class="mt-2">
                            <div class="p-3">
                                <h5 class="fw-normal m-0 d-none" id="extras_title"><?php echo e(trans('labels.extras')); ?> </h5>
                                <ul class="m-0 ps-2">
                                </ul>
                            </div>
                        </div>

                        <!-- Addons -->
                        <div id="item-addons" class="mt-2">
                            <div class="p-3">
                                <h5 class="fw-normal m-0 d-none" id="addons_title"><?php echo e(trans('labels.addons')); ?> </h5>
                                <ul class="m-0 ps-2">
                                </ul>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <div class="modal" id="reviewModal" aria-labelledby="reviewModalLabel" tabindex="-1" style="display: none;"
        aria-hidden="true">
        <form action="<?php echo e(URL::to('postreview')); ?>" method="post" enctype="multipart/form-data" id="post_review_form">
            <?php echo csrf_field(); ?>
            <div class="modal-dialog modal-dialog-scrollable">
                <div class="modal-content">
                    <div class="modal-header justify-content-between">
                        <h5 class="modal-title fw-500 color-changer" id="reviewModalLabel">
                            <?php echo e(trans('labels.write_review')); ?></h5>
                        <button type="button" class="bg-transparent border-0 m-0" data-bs-dismiss="modal"
                            aria-label="Close">
                            <i class="fa-regular fa-xmark fs-5 color-changer"></i>
                        </button>
                    </div>
                    <div class="modal-body">
                        <div class="d-flex align-items-center gap-3">
                            <div class="review-modal-img">
                                <img src="<?php echo e(@$firstimage->image_url); ?>"
                                    class="w-100 h-100 border rounded-2 object-fit-cover" alt="">
                            </div>
                            <input type="hidden" id="review_item" name="review_item"
                                value="<?php echo e(@$getitemdata->id); ?>">
                            <p class="fw-600"><?php echo e(@$getitemdata->item_name); ?></p>
                        </div>
                        <div class="rating mt-2">
                            <input type="radio" name="ratting" value="5" id="star5"><label
                                for="star5">☆</label>
                            <input type="radio" name="ratting" value="4" id="star4"><label
                                for="star4">☆</label>
                            <input type="radio" name="ratting" value="3" id="star3"><label
                                for="star3">☆</label>
                            <input type="radio" name="ratting" value="2" id="star2"><label
                                for="star2">☆</label>
                            <input type="radio" name="ratting" value="1" id="star1"><label
                                for="star1">☆</label>
                        </div>
                        <div class="mt-3">
                            <label for="form-label"><span
                                    class="fs-7"><?php echo e(trans('labels.write_review')); ?></span></label>
                            <textarea class="form-control mt-1" type="text" name="review" placeholder="<?php echo e(trans('labels.review')); ?>"></textarea>
                        </div>
                    </div>
                    <div class="modal-footer">
                        <button type="submit" class="btn btn-primary fs-7"><?php echo e(trans('labels.submit')); ?></button>
                    </div>
                </div>
            </div>
        </form>
    </div>


    <!-- MODAL_USER_TYPE_SELECTION--START -->
    <div class="modal" id="useroption" tabindex="-1" aria-labelledby="useroptionLabel" aria-hidden="true">
        <div class="modal-dialog modal-dialog-centered">
            <div class="modal-content">
                <div class="modal-header justify-content-between">
                    <h5 class="modal-title fw-500 color-changer" id="useroptionLabel">
                        <?php echo e(trans('labels.proceed_as_guest_or_login')); ?>

                    </h5>
                    <button type="button" class="bg-transparent border-0 m-0" data-bs-dismiss="modal"
                        aria-label="Close">
                        <i class="fa-regular fa-xmark fs-5 color-changer"></i>
                    </button>
                </div>
                <div class="modal-body">
                    <p class="fs-7 twoline color-changer">
                        <?php echo e(trans('labels.dont_have_account_guest')); ?>

                    </p>
                    <div class="row g-3 justify-content-start social-share-icon mt-3">
                        <div class="col-md-6 col-12">
                            <a class="btn btn-outline-primary w-100 p-2" href="javascript:void(0)"
                                onclick="showlogin()" type="button">
                                <i class="fa-solid fa-user-plus"></i>
                                <span class="px-2"><?php echo e(trans('labels.create_account')); ?></span>
                            </a>
                        </div>
                        <div class="col-md-6 col-12">
                            <a class="btn btn-primary w-100 p-2" target="_blank" onclick="checkout()">
                                <i class="fa-solid fa-address-card"></i>
                                <span class="px-2"><?php echo e(trans('labels.continue_as_guest')); ?></span>
                            </a>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!-- MODAL-ORDER-TYPE-SELECTION--END -->

    
    <?php if(@helper::checkaddons('coupon')): ?>
        <?php if(count(@helper::getcoupons()) > 0): ?>
            <div class="<?php echo e(session()->get('direction') == '2' ? 'rtl-buttons' : 'ltr-buttons'); ?>">
                <button class="btn btn-primary offer-button" type="button" data-bs-toggle="offcanvas"
                    data-bs-target="#offcanvasOffer" aria-controls="offcanvasOffer">
                    <i class="fa-sharp fa-solid fa-badge-percent"></i> <?php echo e(trans('labels.offers')); ?>

                </button>
            </div>
            <div class="offer">
                <div class="offcanvas <?php echo e(session()->get('direction') == '2' ? 'offcanvas-start' : 'offcanvas-end'); ?>"
                    tabindex="-1" id="offcanvasOffer" aria-labelledby="offcanvasOfferLabel">
                    <div class="offcanvas-header justify-content-between border-bottom">
                        <div class="d-flex color-changer d-grid gap-2 align-items-center">
                            <i class="fa-sharp fa-solid fa-badge-percent fs-5"></i>
                            <h5 class="offcanvas-title fw-bold" id="offcanvasOfferLabel"><?php echo e(trans('labels.offers')); ?>

                            </h5>
                        </div>
                        <button type="button" class="bg-transparent border-0 p-0 m-0" data-bs-dismiss="offcanvas"
                            aria-label="Close">
                            <i class="fa-regular fa-xmark color-changer fs-4"></i>
                        </button>
                    </div>
                    <div class="offcanvas-body">
                        <div class="row g-3">
                            <?php $__currentLoopData = helper::getcoupons(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $promocode): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                <div class="col-12">
                                    <div class="card">
                                        <div class="card-body">
                                            <div class="d-flex justify-content-between">
                                                <span class="coupons-label color-changer"><?php echo e(trans('labels.get')); ?>

                                                    <?php echo e($promocode->offer_type == 1 ? helper::currency_format($promocode->offer_amount) : $promocode->offer_amount . '%'); ?></span>
                                                <?php if(request()->is('checkout*')): ?>
                                                    <p class="fw-500 cursor-pointer copy_coupon_code mb-0 fs-7"
                                                        onclick="getoffercode('<?php echo e($promocode->offer_code); ?>')"
                                                        data-bs-dismiss="offcanvas">
                                                        <?php echo e(trans('labels.copy_code')); ?>

                                                    </p>
                                                <?php endif; ?>
                                            </div>
                                            <h6 class="pt-2 mb-0 color-changer offer-text fw-600">
                                                <?php echo e($promocode->offer_name); ?></h6>
                                            <p class="text-muted fw-500 fs-8 pt-2 mb-0"><?php echo e($promocode->description); ?>

                                            </p>
                                        </div>
                                    </div>
                                </div>
                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                        </div>
                    </div>
                </div>
            </div>
        <?php endif; ?>
    <?php endif; ?>
    

    <div class="modal fade" id="modalbankdetails" data-bs-backdrop="static" data-bs-keyboard="false" tabindex="-1"
        aria-labelledby="modalbankdetailsLabel" aria-hidden="true">
        <div class="modal-dialog modal-dialog-centered">
            <div class="modal-content">
                <div class="modal-header justify-content-between">
                    <h5 class="modal-title fw-500 color-changer" id="modalbankdetailsLabel">
                        <?php echo e(trans('labels.banktransfer')); ?></h5>
                    <button type="button" class="bg-transparent border-0 m-0" data-bs-dismiss="modal"
                        aria-label="Close">
                        <i class="fa-regular fa-xmark fs-5 color-changer"></i>
                    </button>
                </div>
                <form enctype="multipart/form-data" action="<?php echo e(URL::to('placeorder')); ?>" method="POST">
                    <div class="modal-body">
                        <?php echo csrf_field(); ?>
                        <input type="hidden" name="transaction_type" id="transaction_type" value="">
                        <input type="hidden" name="modal_customer_name" id="modal_customer_name" value="">
                        <input type="hidden" name="modal_customer_email" id="modal_customer_email" value="">
                        <input type="hidden" name="modal_customer_mobile" id="modal_customer_mobile"
                            value="">
                        <input type="hidden" name="modal_delivery_date" id="modal_delivery_date" value="">
                        <input type="hidden" name="modal_delivery_time" id="modal_delivery_time" value="">
                        <input type="hidden" name="modal_delivery_charge" id="modal_delivery_charge"
                            value="">
                        <input type="hidden" name="modal_address" id="modal_address" value="">
                        <input type="hidden" name="modal_address_type" id="modal_address_type" value="">
                        <input type="hidden" name="modal_city" id="modal_city" value="">
                        <input type="hidden" name="modal_state" id="modal_state" value="">
                        <input type="hidden" name="modal_country" id="modal_country" value="">
                        <input type="hidden" name="modal_landmark" id="modal_landmark" value="">
                        <input type="hidden" name="modal_pincode" id="modal_pincode" value="">

                        <input type="hidden" name="modal_message" id="modal_message" value="">
                        <input type="hidden" name="modal_subtotal" id="modal_subtotal" value="">
                        <input type="hidden" name="modal_discount_amount" id="modal_discount_amount"
                            value="">
                        <input type="hidden" name="modal_couponcode" id="modal_couponcode" value="">
                        <input type="hidden" name="modal_vendor_id" id="modal_vendor_id" value="">
                        <input type="hidden" name="modal_grand_total" id="modal_grand_total" value="">
                        <input type="hidden" name="modal_tax" id="modal_tax" value="">
                        <input type="hidden" name="modal_tax_name" id="modal_tax_name" value="">
                        <input type="hidden" name="modal_order_type" id="modal_order_type" value="">
                        <input type="hidden" name="modal_shipping_area" id="modal_shipping_area" value="">
                        <input type="hidden" name="modal_tips" id="modal_tips" value="">

                        <input type="hidden" name="modal_buynow" id="modal_buynow" value="">
                        <p class="color-changer pb-3 border-bottom mb-3"><?php echo e(trans('labels.payment_description')); ?></p>

                        <p class="payment_description color-changer pb-3 border-bottom mb-3" id="payment_description">
                        </p>

                        <div class="form-group col-md-12">
                            <label for="screenshot"> <?php echo e(trans('labels.screenshot')); ?> </label>
                            <div class="controls">
                                <input type="file" name="screenshot" id="screenshot"
                                    class="form-control  <?php $__errorArgs = ['screenshot'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" required>
                                <?php $__errorArgs = ['screenshot'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                    <span class="text-danger"> <?php echo e($message); ?> </span>
                                <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                            </div>
                        </div>
                    </div>
                    <div class="modal-footer">
                        <button type="button" class="btn btn-danger px-4"
                            data-bs-dismiss="modal"><?php echo e(trans('labels.close')); ?></button>
                        <button type="submit" class="btn btn-primary px-4"> <?php echo e(trans('labels.save')); ?> </button>
                    </div>
                </form>
            </div>
        </div>
    </div>

    <!-- MODAL_working_hours--START -->
    <div class="modal" id="modal_working_hours" tabindex="-1" aria-labelledby="working_hours_Label"
        aria-hidden="true">
        <div class="modal-dialog modal-dialog-centered">
            <div class="modal-content">
                <div class="modal-header justify-content-between">
                    <h5 class="modal-title fw-500 color-changer" id="working_hours_Label">
                        <?php echo e(trans('labels.working_hours')); ?></h5>
                    <button type="button" class="bg-transparent border-0 m-0" data-bs-dismiss="modal"
                        aria-label="Close">
                        <i class="fa-regular fa-xmark fs-5 color-changer"></i>
                    </button>
                </div>
                <div class="modal-body py-0 px-3">
                    <ul class="list-group list-group-flush">
                        <?php $__currentLoopData = helper::gettiming(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $time): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <li
                                class="list-group-item color-changer d-flex align-items-center justify-content-between px-0 py-2">
                                <?php echo e(ucfirst($time->day)); ?>

                                <span class="fs-7"><?php echo e($time->open_time); ?> <?php echo e(trans('labels.to')); ?>

                                    <?php echo e($time->break_start); ?> <br>
                                    <?php echo e($time->break_end); ?> <?php echo e(trans('labels.to')); ?> <?php echo e($time->close_time); ?></span>
                            </li>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    </ul>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-danger px-4 py-1 fs-7"
                        data-bs-dismiss="modal"><?php echo e(trans('labels.close')); ?></button>
                </div>
            </div>
        </div>
    </div>
    <!-- MODAL_working_hours--END -->

    <div class="modal" id="subsciptionmodal" tabindex="-1" aria-labelledby="subsciptionmodal" aria-hidden="true">
        <div class="modal-dialog modal-lg modal-dialog-centered">
            <div class="modal-content rounded-3 overflow-hidden">
                <div class="modal-body p-0 position-relative">
                    <button type="button"
                        class="bg-transparent border-0 m-0 subsciption_button <?php echo e(session()->get('direction') == '2' ? 'rtl' : ''); ?>"
                        data-bs-dismiss="modal" aria-label="Close">
                        <i class="fa-regular fa-xmark fs-5 color-changer"></i>
                    </button>
                    <div class="row g-0 align-items-center justify-content-between">
                        <div class="col-6 d-none d-lg-block">
                            <img src="<?php echo e(helper::image_path(@helper::appdata()->subscribe_image)); ?>" alt=""
                                class="w-100 object-fit-cover newslatter-img">

                        </div>

                        <div class="col-lg-6 col-12">
                            <div class="py-5 px-sm-5 px-4">
                                <span class="fs-7 fs-500 color-changer"><?php echo e(trans('labels.newslatter')); ?></span>
                                <h2 class="subscribe-title mt-1 color-changer">
                                    <?php echo e(trans('labels.subscribe')); ?>

                                </h2>
                                <p class="text-dark color-changer fw-500 fs-7 mb-4">
                                    <?php echo e(trans('labels.newslatter_subtitle')); ?>

                                </p>
                                <form action="<?php echo e(URL::to('postsubscribe')); ?>" method="post" class="mb-0">
                                    <label class="text-black form-label fs-7 mb-1"><?php echo e(trans('labels.email')); ?></label>
                                    <?php echo csrf_field(); ?>
                                    <div class="input-group mb-4">
                                        <input type="text" class="form-control border text-dark fw-500 bg-light"
                                            name="email" placeholder="<?php echo e(trans('labels.email')); ?>" required="">
                                    </div>
                                    <button type="submit"
                                        class="btn btn-sm btn-secondary rounded-3 px-4 w-100 newsletter-btn"
                                        id="basic-addon2"><?php echo e(trans('labels.subscribe')); ?></button>
                                </form>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <!-- question answer  Modal -->
    <div class="modal fade" id="qustions_answer" tabindex="-1" aria-labelledby="qustions_answerLabel"
        aria-hidden="true">
        <div class="modal-dialog modal-dialog-centered">
            <div class="modal-content">
                <div class="modal-header justify-content-between">
                    <h1 class="modal-title fs-5 fw-600 m-0 color-changer" id="qustions_answer">
                        <?php echo e(trans('labels.ask_a_question')); ?></h1>
                    <button type="button" class="bg-transparent border-0 m-0" data-bs-dismiss="modal"
                        aria-label="Close">
                        <i class="fa-regular fa-xmark fs-4 color-changer"></i>
                    </button>
                </div>
                <form action="<?php echo e(URL::to('product_question_answer')); ?>" method="post" class="border-top ">
                    <?php echo csrf_field(); ?>

                    <input type="hidden" name="question_answer_item_id" value="<?php echo e(@$getitemdata->id); ?>">
                    <div class="modal-body">
                        <div class="d-flex align-items-center gap-2">
                            <div>
                                <?php if(!empty($getitemdata['item_images']) && count($getitemdata['item_images']) > 0): ?>
                                    <a href="<?php echo e($getitemdata['item_images'][0]->image_url); ?>">
                                        <img src="<?php echo e($getitemdata['item_images'][0]->image_url); ?>" alt=""
                                            class="rounded" height="110px" width="110px">
                                    </a>
                                <?php endif; ?>
                            </div>
                            <div class="w-100">
                                <h6 class="line-2 fs-15 fw-500 color-changer">
                                    <?php echo e(@$getitemdata->item_name); ?>

                                </h6>
                                <div class="d-flex flex-wrap gap-1 align-items-center">
                                    <p class="fs-6 fw-500 m-0 color-changer"><?php echo e(@helper::currency_format($price)); ?>

                                    </p>
                                    <del
                                        class="fw-500 text-muted fs-13"><?php echo e(@helper::currency_format($original_price)); ?></del>
                                </div>
                            </div>
                        </div>

                        <div>
                            <label for="exampleFormControlTextarea1" class="form-label d-flex gap-1 mt-2">
                                <?php echo e(trans('labels.your_question')); ?>

                                <div aria-hidden="true" class="text-danger">*</div>
                            </label>

                            <textarea class="form-control m-0 fs-7" id="question" name="question" placeholder="Your Questions" rows="3"
                                required=""></textarea>
                        </div>
                    </div>
                    <div class="modal-footer">
                        <div class="modal-footer">
                            <button type="button" class="btn btn-danger fs-7 fw-500"
                                data-bs-dismiss="modal">Close</button>
                            <button type="submit" class="btn btn-primary fs-7 fw-500">Submit</button>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>


    <!-- tawk chat -->
    <?php if(@helper::checkaddons('tawk_addons')): ?>
        <?php if(@helper::appdata()->tawk_on_off == 1): ?>
            <?php echo @helper::appdata()->tawk_widget_id; ?>

        <?php endif; ?>
    <?php endif; ?>

    <!-- wizz chat -->
    <?php if(@helper::checkaddons('wizz_chat')): ?>
        <?php if(@helper::appdata()->wizz_chat_on_off == 1): ?>
            <?php echo @helper::appdata()->wizz_chat_settings; ?>

        <?php endif; ?>
    <?php endif; ?>

    <?php if(@helper::checkaddons('age_verification')): ?>
        <?php echo $__env->make('web.age_modal', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
    <?php endif; ?>
    <input type="hidden" value="<?php echo e(URL::to('/changeqty')); ?>" id="changeqtyurl" name="chamgeqtyurl">
    <input type="hidden" value="<?php echo e(URL::to('/isopenclose')); ?>" id="isopenclose" name="isopenclose">
    <input type="hidden" name="request_url" id="request_url" value="<?php echo e(@request()->segments()[0]); ?>">
    <?php if(@helper::checkaddons('cookie_consent')): ?>
        <?php echo $__env->make('cookie-consent::index', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
    <?php endif; ?>
    <script src="<?php echo e(url(env('ASSETSPATHURL') . 'web-assets/js/jquery/jquery-3.6.0.js')); ?>"></script><!-- jQuery JS -->
    <script src="<?php echo e(url(env('ASSETSPATHURL') . 'web-assets/js/owl_carousel/owl.carousel.js')); ?>"></script><!-- owl carousel js -->
    <script src="<?php echo e(url(env('ASSETSPATHURL') . 'web-assets/js/bootstrap/bootstrap.bundle.min.js')); ?>"></script><!-- Bootstrap CSS -->
    <!-- COMMON-FOR-TOASTER-&-SWEETALERT -->
    <script src="<?php echo e(url(env('ASSETSPATHURL') . 'admin-assets/assets/js/toastr/toastr.min.js')); ?>"></script><!-- Toastr JS -->
    <script src="<?php echo e(url(env('ASSETSPATHURL') . 'admin-assets/assets/js/sweetalert/sweetalert2.min.js')); ?>"></script><!-- Sweetalert JS -->
    <script src="<?php echo e(url(env('ASSETSPATHURL') . 'web-assets/js/jquery.number.min.js')); ?>"></script>

    <?php if(@helper::checkaddons('age_verification')): ?>
        <?php if(@helper::getagedetails($vendordata->id)->age_verification_on_off == 1): ?>
            <script src="<?php echo e(url('resources/js/age.js')); ?>"></script>
        <?php endif; ?>
    <?php else: ?>
        <script>
            $('#main-content').removeClass('blur');
        </script>
    <?php endif; ?>
    <script>
        var darklogo = "<?php echo e(helper::image_path(helper::appdata('')->dark_logo)); ?>";
        var lightlogo = "<?php echo e(helper::image_path(helper::appdata('')->logo)); ?>";

        function setLightMode() {
            document.documentElement.classList.remove('dark');
            document.documentElement.classList.add('light');
            localStorage.setItem('theme', 'light');
            $('#logoimage').attr('src', lightlogo);
            $('#footerlogoimage').attr('src', lightlogo);
        }

        function setDarkMode() {
            document.documentElement.classList.remove('light');
            document.documentElement.classList.add('dark');
            localStorage.setItem('theme', 'dark');
            $('#logoimage').attr('src', darklogo);
            $('#footerlogoimage').attr('src', darklogo);
        }
    </script>

    <script>
        // top deals parameter
        var start_date = "<?php echo e(@helper::top_deals()->start_date); ?>";
        var start_time = "<?php echo e(@helper::top_deals()->start_time); ?>";
        var end_date = "<?php echo e(@helper::top_deals()->end_date); ?>";
        var end_time = "<?php echo e(@helper::top_deals()->end_time); ?>";
        <?php if(@helper::checkaddons('top_deals')): ?>
            var enddate = "<?php echo e(App\Models\TopDeals::first()->end_date); ?>";
            var endtime = "<?php echo e(App\Models\TopDeals::first()->end_time); ?>";
        <?php else: ?>
            var enddate = null;
            var endtime = null;
        <?php endif; ?>
        var topdeals = "<?php echo e(!empty(@helper::topdealitemlist()) ? 1 : 0); ?>";
        var time_zone = "<?php echo e(helper::appdata()->timezone); ?>";
        var current_date = "<?php echo e(\Carbon\Carbon::now()->toDateString()); ?>";
        var deal_type = "<?php echo e(@helper::top_deals()->deal_type); ?>";
        var siteurl = "<?php echo e(URL::to('/')); ?>";
    </script>
    <script>
        // COMMON-SCRIPTS
        // to-display-success-error-message
        toastr.options = {
            "closeButton": true,
        }
        <?php if(Session::has('success')): ?>
            toastr.success("<?php echo e(session('success')); ?>");
        <?php endif; ?>
        <?php if(Session::has('error')): ?>
            toastr.error("<?php echo e(session('error')); ?>");
        <?php endif; ?>

        // to-display-error-message
        <?php if($errors->any()): ?>
            <?php $__currentLoopData = $errors->all(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $error): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                toastr.error('<?php echo e($error); ?>');
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        <?php endif; ?>
        // for-sweetalert
        let are_you_sure = "<?php echo e(trans('messages.are_you_sure')); ?>";
        let yes = "<?php echo e(trans('messages.yes')); ?>";
        let no = "<?php echo e(trans('messages.no')); ?>";
        let wrong = "<?php echo e(trans('messages.wrong')); ?>";
        let record_safe = "<?php echo e(trans('messages.record_safe')); ?>";
        let okay = "<?php echo e(trans('labels.okay')); ?>";
        let track_order = "<?php echo e(trans('labels.track_order')); ?>";
        let continue_shopping = "<?php echo e(trans('labels.continue_shopping')); ?>";
        let order_placed = "<?php echo e(trans('labels.order_placed')); ?>";
        let order_placed_note = "<?php echo e(trans('messages.order_placed_note')); ?>";
        let restaurant_closed = "<?php echo e(trans('messages.restaurant_closed')); ?>";
        let out_of_stock = "<?php echo e(trans('labels.out_of_stock')); ?>";
        let add_to_cart = "<?php echo e(trans('labels.add_to_cart')); ?>";
        let product_out_of_stock = "<?php echo e(trans('messages.product_out_of_stock')); ?>";
        var not_available = "<?php echo e(trans('labels.not_available')); ?>";
        var variation_route = "<?php echo e(URL::to('get-products-variant-quantity')); ?>";
        var in_stock = "<?php echo e(trans('labels.in_stock')); ?>";
        var out_stock = "<?php echo e(trans('labels.out_of_stock')); ?>";
        var not_available = "<?php echo e(trans('labels.not_available')); ?>";
        var variation_title = "<?php echo e(trans('labels.variants')); ?>";
        var extras_title = "<?php echo e(trans('labels.extras')); ?>";
        var addons_title = "<?php echo e(trans('labels.addons')); ?>";
        // others
        function currency_format(price) {
            "use strict";

            var price = price * <?php echo e(@helper::currencyinfo($storeinfo->id)->exchange_rate); ?>;
            if ("<?php echo e(@helper::currencyinfo()->currency_position); ?>" == "1") {

                if ("<?php echo e(helper::currencyinfo()->decimal_separator); ?>" == 1) {
                    if ("<?php echo e(helper::currencyinfo()->currency_space); ?>" == 1) {
                        var newprice = "<?php echo e(@helper::currencyinfo()->currency); ?>" + " " + parseFloat(price).toFixed(
                            "<?php echo e(helper::currencyinfo()->currency_formate); ?>");
                    } else {
                        var newprice = "<?php echo e(@helper::currencyinfo()->currency); ?>" + parseFloat(price).toFixed(
                            "<?php echo e(helper::currencyinfo()->currency_formate); ?>");
                    }

                    newprice = newprice.replace(',', '.');
                    return newprice;
                } else {
                    if ("<?php echo e(helper::currencyinfo()->currency_space); ?>" == 1) {
                        var newprice = "<?php echo e(@helper::currencyinfo()->currency); ?>" + " " + (parseFloat(price).toFixed(
                            "<?php echo e(helper::currencyinfo()->currency_formate); ?>"));
                    } else {
                        var newprice = "<?php echo e(@helper::currencyinfo()->currency); ?>" + (parseFloat(price).toFixed(
                            "<?php echo e(helper::currencyinfo()->currency_formate); ?>"));
                    }
                    newprice = newprice.replace('.', ',');
                    return newprice;
                }
            } else {
                if ("<?php echo e(helper::currencyinfo()->decimal_separator); ?>" == 1) {
                    if ("<?php echo e(helper::currencyinfo()->currency_space); ?>" == 1) {
                        var newprice = parseFloat(price).toFixed("<?php echo e(helper::currencyinfo()->currency_formate); ?>") + " " +
                            "<?php echo e(@helper::currencyinfo()->currency); ?>";
                    } else {
                        var newprice = parseFloat(price).toFixed("<?php echo e(helper::currencyinfo()->currency_formate); ?>") +
                            "<?php echo e(@helper::currencyinfo()->currency); ?>";
                    }
                    newprice = newprice.replace(',', '.');
                    return newprice;
                } else {
                    if ("<?php echo e(helper::currencyinfo()->currency_space); ?>" == 1) {
                        var newprice = (parseFloat(price).toFixed("<?php echo e(helper::currencyinfo()->currency_formate); ?>")) +
                            " " +
                            "<?php echo e(@helper::currencyinfo()->currency); ?>";
                    } else {
                        var newprice = (parseFloat(price).toFixed("<?php echo e(helper::currencyinfo()->currency_formate); ?>")) +
                            "<?php echo e(@helper::currencyinfo()->currency); ?>";
                    }
                    newprice = newprice.replace('.', ',');
                    return newprice;
                }
            }
        }
    </script>
    <script src="<?php echo e(url(env('ASSETSPATHURL') . 'web-assets/js/common.js')); ?>"></script><!-- web-common-js -->
    <?php if(@helper::checkaddons('top_deals')): ?>
        <script src="<?php echo e(url(env('ASSETSPATHURL') . 'web-assets/js/custom/top_deals.js')); ?>"></script>
    <?php endif; ?>
    <?php if(@helper::checkaddons('pwa')): ?>
        <script src="<?php echo e(url('storage/app/public/sw.js')); ?>"></script>
        <script>
            if (!navigator.serviceWorker.controller) {
                navigator.serviceWorker.register("<?php echo e(url('storage/app/public/sw.js')); ?>").then(function(reg) {
                    console.log("Service worker has been registered for scope: " + reg.scope);
                });
            }
        </script>
    <?php endif; ?>
    <?php if(@helper::checkaddons('sales_notification')): ?>
        <?php if(helper::appdata()->fake_sales_notification == 1): ?>
            <script>
                if ("<?php echo e(@helper::appdata()->fake_sales_notification); ?>" == "1") {
                    // Select the element with the ID 'sales-booster-popup'
                    const popup = document.getElementById('sales-booster-popup');

                    if (popup) {
                        // Define a function to add and remove the 'loaded' class
                        let isMouseOver = false;
                        const toggleLoadedClass = () => {
                            // Add the 'loaded' class
                            popup.classList.add('loaded');
                            // Remove the 'loaded' class after 5 seconds, unless the mouse is over the popup
                            setTimeout(() => {
                                    if (!isMouseOver) {
                                        popup.classList.remove('loaded');
                                    }
                                },
                                "<?php echo e(helper::appdata()->notification_display_time); ?>"
                            ); // 4000 milliseconds = 4 seconds for demo purposes
                        };

                        // Function to handle mouseover event
                        const handleMouseOver = () => {
                            isMouseOver = true;
                            // You can perform actions here when mouse is over the popup
                        };

                        // Function to handle mouseout event
                        const handleMouseOut = () => {
                            isMouseOver = false;
                        };

                        // Call the function initially
                        toggleLoadedClass();

                        setInterval(function() {
                                $.ajax({
                                    headers: {
                                        'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
                                    },
                                    url: "<?php echo e(URL::to('get_notification_data')); ?>",

                                    method: 'POST',
                                    success: function(response) {
                                        toggleLoadedClass();
                                        $('#sales-booster-popup').show();
                                        $('#notification_body').html(response.output);
                                    },
                                });
                            },
                            "<?php echo e(helper::appdata()->notification_display_time + helper::appdata()->next_time_popup); ?>"
                        ); // 8000 milliseconds = 8 seconds

                        // Add mouseover and mouseout event listeners to the popup
                        popup.addEventListener('mouseover', handleMouseOver);
                        popup.addEventListener('mouseout', handleMouseOut);

                        // Select the close button within the popup
                        const closeButton = popup.querySelector('.close'); // Close button selector

                        if (closeButton) {
                            // Add an event listener to the close button
                            closeButton.addEventListener('click', () => {
                                // Remove the 'loaded' class immediately
                                popup.classList.remove('loaded');
                            });
                        }
                    }
                }
            </script>
        <?php endif; ?>
    <?php endif; ?>
    <?php echo $__env->yieldContent('scripts'); ?>
</body>

</html>
<?php /**PATH /www/wwwroot/koreanshop.lk/resources/views/web/layout/default.blade.php ENDPATH**/ ?>
© 2026 GrazzMean